Class ServicesResource.ProjectsResource.GlobalResource.NetworksResource.GetVpcServiceControlsRequest
Consumers use this method to find out the state of VPC Service Controls. The controls could be enabled or disabled for a connection.
Inheritance
Inherited Members
Namespace: Google.Apis.ServiceNetworking.v1
Assembly: Google.Apis.ServiceNetworking.v1.dll
Syntax
public class ServicesResource.ProjectsResource.GlobalResource.NetworksResource.GetVpcServiceControlsRequest : ServiceNetworkingBaseServiceRequest<VpcServiceControls>, IClientServiceRequest<VpcServiceControls>, IClientServiceRequest
Constructors
GetVpcServiceControlsRequest(IClientService, string)
Constructs a new GetVpcServiceControls request.
Declaration
public GetVpcServiceControlsRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
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
Name
Required. Name of the VPC Service Controls config to retrieve 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 a project number e.g. 12345
that contains the service consumer's VPC network.
{network} is the name of the service consumer's VPC network.
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
Methods
InitParameters()
Initializes GetVpcServiceControls parameter list.
Declaration
protected override void InitParameters()