Class ServicesResource.ProjectsResource.GlobalResource.NetworksResource.UpdateConsumerConfigRequest
Service producers use this method to update the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.
Inheritance
Inherited Members
Namespace: Google.Apis.ServiceNetworking.v1
Assembly: Google.Apis.ServiceNetworking.v1.dll
Syntax
public class ServicesResource.ProjectsResource.GlobalResource.NetworksResource.UpdateConsumerConfigRequest : ServiceNetworkingBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UpdateConsumerConfigRequest(IClientService, UpdateConsumerConfigRequest, string)
Constructs a new UpdateConsumerConfig request.
Declaration
public UpdateConsumerConfigRequest(IClientService service, UpdateConsumerConfigRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateConsumerConfigRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. Parent resource identifying the connection for which the consumer config is being
updated in the format: services/{service}/projects/{project}/global/networks/{network}
{service} is the peering service that is managing connectivity for the service producer's
organization. For Google services that support this functionality, this value is
servicenetworking.googleapis.com
. {project} is the number of the project that contains the
service consumer's VPC network e.g. 12345
. {network} is the name of the service consumer's
VPC network.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes UpdateConsumerConfig parameter list.
Declaration
protected override void InitParameters()