target.apidocs.com.google.api.services.analyticsadmin.v1beta.GoogleAnalyticsAdmin.Properties.KeyEvents.html Maven / Gradle / Ivy
GoogleAnalyticsAdmin.Properties.KeyEvents (Google Analytics Admin API v1beta-rev20240916-2.0.0)
com.google.api.services.analyticsadmin.v1beta
Class GoogleAnalyticsAdmin.Properties.KeyEvents
- java.lang.Object
-
- com.google.api.services.analyticsadmin.v1beta.GoogleAnalyticsAdmin.Properties.KeyEvents
-
- Enclosing class:
- GoogleAnalyticsAdmin.Properties
public class GoogleAnalyticsAdmin.Properties.KeyEvents
extends Object
The "keyEvents" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
GoogleAnalyticsAdmin.Properties.KeyEvents.Create
class
GoogleAnalyticsAdmin.Properties.KeyEvents.Delete
class
GoogleAnalyticsAdmin.Properties.KeyEvents.Get
class
GoogleAnalyticsAdmin.Properties.KeyEvents.List
class
GoogleAnalyticsAdmin.Properties.KeyEvents.Patch
-
Constructor Summary
Constructors
Constructor and Description
KeyEvents()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
GoogleAnalyticsAdmin.Properties.KeyEvents.Create
create(String parent,
GoogleAnalyticsAdminV1betaKeyEvent content)
Creates a Key Event.
GoogleAnalyticsAdmin.Properties.KeyEvents.Delete
delete(String name)
Deletes a Key Event.
GoogleAnalyticsAdmin.Properties.KeyEvents.Get
get(String name)
Retrieve a single Key Event.
GoogleAnalyticsAdmin.Properties.KeyEvents.List
list(String parent)
Returns a list of Key Events in the specified parent property.
GoogleAnalyticsAdmin.Properties.KeyEvents.Patch
patch(String name,
GoogleAnalyticsAdminV1betaKeyEvent content)
Updates a Key Event.
-
-
Method Detail
-
create
public GoogleAnalyticsAdmin.Properties.KeyEvents.Create create(String parent,
GoogleAnalyticsAdminV1betaKeyEvent content)
throws IOException
Creates a Key Event.
Create a request for the method "keyEvents.create".
This request holds the parameters needed by the analyticsadmin server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of the parent property where this Key Event will be created. Format:
properties/123
content
- the GoogleAnalyticsAdminV1betaKeyEvent
- Returns:
- the request
- Throws:
IOException
-
delete
public GoogleAnalyticsAdmin.Properties.KeyEvents.Delete delete(String name)
throws IOException
Deletes a Key Event.
Create a request for the method "keyEvents.delete".
This request holds the parameters needed by the analyticsadmin server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the Key Event to delete. Format:
properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456"
- Returns:
- the request
- Throws:
IOException
-
get
public GoogleAnalyticsAdmin.Properties.KeyEvents.Get get(String name)
throws IOException
Retrieve a single Key Event.
Create a request for the method "keyEvents.get".
This request holds the parameters needed by the analyticsadmin server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the Key Event to retrieve. Format:
properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456"
- Returns:
- the request
- Throws:
IOException
-
list
public GoogleAnalyticsAdmin.Properties.KeyEvents.List list(String parent)
throws IOException
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key
Events are found.
Create a request for the method "keyEvents.list".
This request holds the parameters needed by the analyticsadmin server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of the parent property. Example: 'properties/123'
- Returns:
- the request
- Throws:
IOException
-
patch
public GoogleAnalyticsAdmin.Properties.KeyEvents.Patch patch(String name,
GoogleAnalyticsAdminV1betaKeyEvent content)
throws IOException
Updates a Key Event.
Create a request for the method "keyEvents.patch".
This request holds the parameters needed by the analyticsadmin server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Output only. Resource name of this key event. Format: properties/{property}/keyEvents/{key_event}
content
- the GoogleAnalyticsAdminV1betaKeyEvent
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.