target.apidocs.com.google.api.services.analytics.Analytics.Management.CustomDimensions.html Maven / Gradle / Ivy
Analytics.Management.CustomDimensions (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics
Class Analytics.Management.CustomDimensions
- java.lang.Object
-
- com.google.api.services.analytics.Analytics.Management.CustomDimensions
-
- Enclosing class:
- Analytics.Management
public class Analytics.Management.CustomDimensions
extends Object
The "customDimensions" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Analytics.Management.CustomDimensions.Get
class
Analytics.Management.CustomDimensions.Insert
class
Analytics.Management.CustomDimensions.List
class
Analytics.Management.CustomDimensions.Patch
class
Analytics.Management.CustomDimensions.Update
-
Constructor Summary
Constructors
Constructor and Description
CustomDimensions()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Analytics.Management.CustomDimensions.Get
get(String accountId,
String webPropertyId,
String customDimensionId)
Get a custom dimension to which the user has access.
Analytics.Management.CustomDimensions.Insert
insert(String accountId,
String webPropertyId,
CustomDimension content)
Create a new custom dimension.
Analytics.Management.CustomDimensions.List
list(String accountId,
String webPropertyId)
Lists custom dimensions to which the user has access.
Analytics.Management.CustomDimensions.Patch
patch(String accountId,
String webPropertyId,
String customDimensionId,
CustomDimension content)
Updates an existing custom dimension.
Analytics.Management.CustomDimensions.Update
update(String accountId,
String webPropertyId,
String customDimensionId,
CustomDimension content)
Updates an existing custom dimension.
-
-
Method Detail
-
get
public Analytics.Management.CustomDimensions.Get get(String accountId,
String webPropertyId,
String customDimensionId)
throws IOException
Get a custom dimension to which the user has access.
Create a request for the method "customDimensions.get".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID for the custom dimension to retrieve.
webPropertyId
- Web property ID for the custom dimension to retrieve.
customDimensionId
- The ID of the custom dimension to retrieve.
- Returns:
- the request
- Throws:
IOException
-
insert
public Analytics.Management.CustomDimensions.Insert insert(String accountId,
String webPropertyId,
CustomDimension content)
throws IOException
Create a new custom dimension.
Create a request for the method "customDimensions.insert".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID for the custom dimension to create.
webPropertyId
- Web property ID for the custom dimension to create.
content
- the CustomDimension
- Returns:
- the request
- Throws:
IOException
-
list
public Analytics.Management.CustomDimensions.List list(String accountId,
String webPropertyId)
throws IOException
Lists custom dimensions to which the user has access.
Create a request for the method "customDimensions.list".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID for the custom dimensions to retrieve.
webPropertyId
- Web property ID for the custom dimensions to retrieve.
- Returns:
- the request
- Throws:
IOException
-
patch
public Analytics.Management.CustomDimensions.Patch patch(String accountId,
String webPropertyId,
String customDimensionId,
CustomDimension content)
throws IOException
Updates an existing custom dimension. This method supports patch semantics.
Create a request for the method "customDimensions.patch".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID for the custom dimension to update.
webPropertyId
- Web property ID for the custom dimension to update.
customDimensionId
- Custom dimension ID for the custom dimension to update.
content
- the CustomDimension
- Returns:
- the request
- Throws:
IOException
-
update
public Analytics.Management.CustomDimensions.Update update(String accountId,
String webPropertyId,
String customDimensionId,
CustomDimension content)
throws IOException
Updates an existing custom dimension.
Create a request for the method "customDimensions.update".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- Account ID for the custom dimension to update.
webPropertyId
- Web property ID for the custom dimension to update.
customDimensionId
- Custom dimension ID for the custom dimension to update.
content
- the CustomDimension
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2019 Google. All rights reserved.