Class ProjectsResource.ConfigsResource.VariablesResource.UpdateRequest
Updates an existing variable with a new value.
Inheritance
ProjectsResource.ConfigsResource.VariablesResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.CloudRuntimeConfig.v1beta1
Assembly: Google.Apis.CloudRuntimeConfig.v1beta1.dll
Syntax
public class ProjectsResource.ConfigsResource.VariablesResource.UpdateRequest : CloudRuntimeConfigBaseServiceRequest<Variable>, IClientServiceRequest<Variable>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Variable, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Variable body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Variable | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.Variable>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.Variable>.MethodName
Name
The name of the variable to update, in the format:
projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRuntimeConfig.v1beta1.Data.Variable>.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.CloudRuntimeConfig.v1beta1.Data.Variable>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()