Class AccountsResource.ContainersResource.EnvironmentsResource.UpdateRequest
Updates a GTM Environment.
Inheritance
AccountsResource.ContainersResource.EnvironmentsResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.TagManager.v1
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class AccountsResource.ContainersResource.EnvironmentsResource.UpdateRequest : TagManagerBaseServiceRequest<Environment>, IClientServiceRequest<Environment>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Environment, string, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Environment body, string accountId, string containerId, string environmentId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Environment | body | |
string | accountId | |
string | containerId | |
string | environmentId |
Properties
AccountId
The GTM Account ID.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
ContainerId
The GTM Container ID.
Declaration
[RequestParameter("containerId", RequestParameterType.Path)]
public virtual string ContainerId { get; }
Property Value
Type | Description |
---|---|
string |
EnvironmentId
The GTM Environment ID.
Declaration
[RequestParameter("environmentId", RequestParameterType.Path)]
public virtual string EnvironmentId { get; }
Property Value
Type | Description |
---|---|
string |
Fingerprint
When provided, this fingerprint must match the fingerprint of the environment in storage.
Declaration
[RequestParameter("fingerprint", RequestParameterType.Query)]
public virtual string Fingerprint { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Environment>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Environment>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Environment>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Environment>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()