
target.apidocs.com.google.api.services.analytics.Analytics.Management.Webproperties.html Maven / Gradle / Ivy
Analytics.Management.Webproperties (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics
Class Analytics.Management.Webproperties
- java.lang.Object
-
- com.google.api.services.analytics.Analytics.Management.Webproperties
-
- Enclosing class:
- Analytics.Management
public class Analytics.Management.Webproperties
extends Object
The "webproperties" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Analytics.Management.Webproperties.Get
class
Analytics.Management.Webproperties.Insert
class
Analytics.Management.Webproperties.List
class
Analytics.Management.Webproperties.Patch
class
Analytics.Management.Webproperties.Update
-
Constructor Summary
Constructors
Constructor and Description
Webproperties()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Analytics.Management.Webproperties.Get
get(String accountId,
String webPropertyId)
Gets a web property to which the user has access.
Analytics.Management.Webproperties.Insert
insert(String accountId,
Webproperty content)
Create a new property if the account has fewer than 20 properties.
Analytics.Management.Webproperties.List
list(String accountId)
Lists web properties to which the user has access.
Analytics.Management.Webproperties.Patch
patch(String accountId,
String webPropertyId,
Webproperty content)
Updates an existing web property.
Analytics.Management.Webproperties.Update
update(String accountId,
String webPropertyId,
Webproperty content)
Updates an existing web property.
-
-
Method Detail
-
get
public Analytics.Management.Webproperties.Get get(String accountId,
String webPropertyId)
throws IOException
Gets a web property to which the user has access.
Create a request for the method "webproperties.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 to retrieve the web property for.
webPropertyId
- ID to retrieve the web property for.
- Returns:
- the request
- Throws:
IOException
-
insert
public Analytics.Management.Webproperties.Insert insert(String accountId,
Webproperty content)
throws IOException
Create a new property if the account has fewer than 20 properties. Web properties are visible in
the Google Analytics interface only if they have at least one profile.
Create a request for the method "webproperties.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 to create the web property for.
content
- the Webproperty
- Returns:
- the request
- Throws:
IOException
-
list
public Analytics.Management.Webproperties.List list(String accountId)
throws IOException
Lists web properties to which the user has access.
Create a request for the method "webproperties.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 to retrieve web properties for. Can either be a specific account ID or '~all', which
refers to all the accounts that user has access to.
- Returns:
- the request
- Throws:
IOException
-
patch
public Analytics.Management.Webproperties.Patch patch(String accountId,
String webPropertyId,
Webproperty content)
throws IOException
Updates an existing web property. This method supports patch semantics.
Create a request for the method "webproperties.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 to which the web property belongs
webPropertyId
- Web property ID
content
- the Webproperty
- Returns:
- the request
- Throws:
IOException
-
update
public Analytics.Management.Webproperties.Update update(String accountId,
String webPropertyId,
Webproperty content)
throws IOException
Updates an existing web property.
Create a request for the method "webproperties.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 to which the web property belongs
webPropertyId
- Web property ID
content
- the Webproperty
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy