target.apidocs.com.google.api.services.analyticsadmin.v1beta.GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.html Maven / Gradle / Ivy
GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets (Google Analytics Admin API v1beta-rev20240916-2.0.0)
com.google.api.services.analyticsadmin.v1beta
Class GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets
- java.lang.Object
-
- com.google.api.services.analyticsadmin.v1beta.GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets
-
- Enclosing class:
- GoogleAnalyticsAdmin.Properties.DataStreams
public class GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets
extends Object
The "measurementProtocolSecrets" collection of methods.
-
-
Nested Class Summary
-
Constructor Summary
Constructors
Constructor and Description
MeasurementProtocolSecrets()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.Create
create(String parent,
GoogleAnalyticsAdminV1betaMeasurementProtocolSecret content)
Creates a measurement protocol secret.
GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.Delete
delete(String name)
Deletes target MeasurementProtocolSecret.
GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.Get
get(String name)
Lookup for a single MeasurementProtocolSecret.
GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.List
list(String parent)
Returns child MeasurementProtocolSecrets under the specified parent Property.
GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.Patch
patch(String name,
GoogleAnalyticsAdminV1betaMeasurementProtocolSecret content)
Updates a measurement protocol secret.
-
-
Method Detail
-
create
public GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.Create create(String parent,
GoogleAnalyticsAdminV1betaMeasurementProtocolSecret content)
throws IOException
Creates a measurement protocol secret.
Create a request for the method "measurementProtocolSecrets.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 parent resource where this secret will be created. Format:
properties/{property}/dataStreams/{dataStream}
content
- the GoogleAnalyticsAdminV1betaMeasurementProtocolSecret
- Returns:
- the request
- Throws:
IOException
-
delete
public GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.Delete delete(String name)
throws IOException
Deletes target MeasurementProtocolSecret.
Create a request for the method "measurementProtocolSecrets.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 name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStr
eams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
- Returns:
- the request
- Throws:
IOException
-
get
public GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.Get get(String name)
throws IOException
Lookup for a single MeasurementProtocolSecret.
Create a request for the method "measurementProtocolSecrets.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 name of the measurement protocol secret to lookup. Format: properties/{property}/dataS
treams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
- Returns:
- the request
- Throws:
IOException
-
list
public GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.List list(String parent)
throws IOException
Returns child MeasurementProtocolSecrets under the specified parent Property.
Create a request for the method "measurementProtocolSecrets.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 stream. Format:
properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
- Returns:
- the request
- Throws:
IOException
-
patch
public GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets.Patch patch(String name,
GoogleAnalyticsAdminV1betaMeasurementProtocolSecret content)
throws IOException
Updates a measurement protocol secret.
Create a request for the method "measurementProtocolSecrets.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 secret. This secret may be a child of any type of stream. Format:
properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProt
ocolSecret}
content
- the GoogleAnalyticsAdminV1betaMeasurementProtocolSecret
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.