target.apidocs.com.google.api.services.analyticsadmin.v1beta.GoogleAnalyticsAdmin.Properties.DataStreams.html Maven / Gradle / Ivy
GoogleAnalyticsAdmin.Properties.DataStreams (Google Analytics Admin API v1beta-rev20240916-2.0.0)
com.google.api.services.analyticsadmin.v1beta
Class GoogleAnalyticsAdmin.Properties.DataStreams
- java.lang.Object
-
- com.google.api.services.analyticsadmin.v1beta.GoogleAnalyticsAdmin.Properties.DataStreams
-
- Enclosing class:
- GoogleAnalyticsAdmin.Properties
public class GoogleAnalyticsAdmin.Properties.DataStreams
extends Object
The "dataStreams" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
GoogleAnalyticsAdmin.Properties.DataStreams.Create
class
GoogleAnalyticsAdmin.Properties.DataStreams.Delete
class
GoogleAnalyticsAdmin.Properties.DataStreams.Get
class
GoogleAnalyticsAdmin.Properties.DataStreams.List
class
GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets
The "measurementProtocolSecrets" collection of methods.
class
GoogleAnalyticsAdmin.Properties.DataStreams.Patch
-
Constructor Summary
Constructors
Constructor and Description
DataStreams()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
GoogleAnalyticsAdmin.Properties.DataStreams.Create
create(String parent,
GoogleAnalyticsAdminV1betaDataStream content)
Creates a DataStream.
GoogleAnalyticsAdmin.Properties.DataStreams.Delete
delete(String name)
Deletes a DataStream on a property.
GoogleAnalyticsAdmin.Properties.DataStreams.Get
get(String name)
Lookup for a single DataStream.
GoogleAnalyticsAdmin.Properties.DataStreams.List
list(String parent)
Lists DataStreams on a property.
GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets
measurementProtocolSecrets()
An accessor for creating requests from the MeasurementProtocolSecrets collection.
GoogleAnalyticsAdmin.Properties.DataStreams.Patch
patch(String name,
GoogleAnalyticsAdminV1betaDataStream content)
Updates a DataStream on a property.
-
-
Method Detail
-
create
public GoogleAnalyticsAdmin.Properties.DataStreams.Create create(String parent,
GoogleAnalyticsAdminV1betaDataStream content)
throws IOException
Creates a DataStream.
Create a request for the method "dataStreams.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. Example format: properties/1234
content
- the GoogleAnalyticsAdminV1betaDataStream
- Returns:
- the request
- Throws:
IOException
-
delete
public GoogleAnalyticsAdmin.Properties.DataStreams.Delete delete(String name)
throws IOException
Deletes a DataStream on a property.
Create a request for the method "dataStreams.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 DataStream to delete. Example format: properties/1234/dataStreams/5678
- Returns:
- the request
- Throws:
IOException
-
get
public GoogleAnalyticsAdmin.Properties.DataStreams.Get get(String name)
throws IOException
Lookup for a single DataStream.
Create a request for the method "dataStreams.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 DataStream to get. Example format: properties/1234/dataStreams/5678
- Returns:
- the request
- Throws:
IOException
-
list
public GoogleAnalyticsAdmin.Properties.DataStreams.List list(String parent)
throws IOException
Lists DataStreams on a property.
Create a request for the method "dataStreams.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. Example format: properties/1234
- Returns:
- the request
- Throws:
IOException
-
patch
public GoogleAnalyticsAdmin.Properties.DataStreams.Patch patch(String name,
GoogleAnalyticsAdminV1betaDataStream content)
throws IOException
Updates a DataStream on a property.
Create a request for the method "dataStreams.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 Data Stream. Format:
properties/{property_id}/dataStreams/{stream_id} Example:
"properties/1000/dataStreams/2000"
content
- the GoogleAnalyticsAdminV1betaDataStream
- Returns:
- the request
- Throws:
IOException
-
measurementProtocolSecrets
public GoogleAnalyticsAdmin.Properties.DataStreams.MeasurementProtocolSecrets measurementProtocolSecrets()
An accessor for creating requests from the MeasurementProtocolSecrets collection.
The typical use is:
GoogleAnalyticsAdmin analyticsadmin = new GoogleAnalyticsAdmin(...);
GoogleAnalyticsAdmin.MeasurementProtocolSecrets.List request = analyticsadmin.measurementProtocolSecrets().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.