Class PropertiesResource.DataStreamsResource
The "dataStreams" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1beta
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1beta.dll
Syntax
public class PropertiesResource.DataStreamsResource
Constructors
DataStreamsResource(IClientService)
Constructs a new resource.
Declaration
public DataStreamsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
MeasurementProtocolSecrets
Gets the MeasurementProtocolSecrets resource.
Declaration
public virtual PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource MeasurementProtocolSecrets { get; }
Property Value
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource |
Methods
Create(GoogleAnalyticsAdminV1betaDataStream, string)
Creates a DataStream.
Declaration
public virtual PropertiesResource.DataStreamsResource.CreateRequest Create(GoogleAnalyticsAdminV1betaDataStream body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1betaDataStream | body | The body of the request. |
string | parent | Required. Example format: properties/1234 |
Returns
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.CreateRequest |
Delete(string)
Deletes a DataStream on a property.
Declaration
public virtual PropertiesResource.DataStreamsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678 |
Returns
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.DeleteRequest |
Get(string)
Lookup for a single DataStream.
Declaration
public virtual PropertiesResource.DataStreamsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678 |
Returns
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.GetRequest |
List(string)
Lists DataStreams on a property.
Declaration
public virtual PropertiesResource.DataStreamsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
Returns
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.ListRequest |
Patch(GoogleAnalyticsAdminV1betaDataStream, string)
Updates a DataStream on a property.
Declaration
public virtual PropertiesResource.DataStreamsResource.PatchRequest Patch(GoogleAnalyticsAdminV1betaDataStream body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1betaDataStream | body | The body of the request. |
string | name | Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" |
Returns
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.PatchRequest |