Class PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource
The "measurementProtocolSecrets" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource
Constructors
MeasurementProtocolSecretsResource(IClientService)
Constructs a new resource.
Declaration
public MeasurementProtocolSecretsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, string)
Creates a measurement protocol secret.
Declaration
public virtual PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource.CreateRequest Create(GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret | body | The body of the request. |
string | parent | Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} |
Returns
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource.CreateRequest |
Delete(string)
Deletes target MeasurementProtocolSecret.
Declaration
public virtual PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
Returns
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource.DeleteRequest |
Get(string)
Lookup for a single MeasurementProtocolSecret.
Declaration
public virtual PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
Returns
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource.GetRequest |
List(string)
Returns child MeasurementProtocolSecrets under the specified parent Property.
Declaration
public virtual PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets |
Returns
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource.ListRequest |
Patch(GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, string)
Updates a measurement protocol secret.
Declaration
public virtual PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource.PatchRequest Patch(GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret | body | The body of the request. |
string | 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/{measurementProtocolSecret} |
Returns
Type | Description |
---|---|
PropertiesResource.DataStreamsResource.MeasurementProtocolSecretsResource.PatchRequest |