Class ServicesResource.ProjectsResource.GlobalResource.NetworksResource.GetRequest
Service producers use this method to get 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.GetRequest : ServiceNetworkingBaseServiceRequest<ConsumerConfig>, IClientServiceRequest<ConsumerConfig>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(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
IncludeUsedIpRanges
Optional. When true, include the used IP ranges as part of the GetConsumerConfig output. This includes routes created inside the service networking network, consumer network, peers of the consumer network, and reserved ranges inside the service networking network. By default, this is false
Declaration
[RequestParameter("includeUsedIpRanges", RequestParameterType.Query)]
public virtual bool? IncludeUsedIpRanges { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. Name of the consumer 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 Get parameter list.
Declaration
protected override void InitParameters()