Compute Engine v1 API - Class ForwardingRuleServiceDirectoryRegistration (2.15.0)

public sealed class ForwardingRuleServiceDirectoryRegistration : IMessage<ForwardingRuleServiceDirectoryRegistration>, IEquatable<ForwardingRuleServiceDirectoryRegistration>, IDeepCloneable<ForwardingRuleServiceDirectoryRegistration>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class ForwardingRuleServiceDirectoryRegistration.

Describes the auto-registration of the forwarding rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this forwarding rule.

Inheritance

object > ForwardingRuleServiceDirectoryRegistration

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ForwardingRuleServiceDirectoryRegistration()

public ForwardingRuleServiceDirectoryRegistration()

ForwardingRuleServiceDirectoryRegistration(ForwardingRuleServiceDirectoryRegistration)

public ForwardingRuleServiceDirectoryRegistration(ForwardingRuleServiceDirectoryRegistration other)
Parameter
Name Description
other ForwardingRuleServiceDirectoryRegistration

Properties

HasNamespace

public bool HasNamespace { get; }

Gets whether the "namespace" field is set

Property Value
Type Description
bool

HasService

public bool HasService { get; }

Gets whether the "service" field is set

Property Value
Type Description
bool

HasServiceDirectoryRegion

public bool HasServiceDirectoryRegion { get; }

Gets whether the "service_directory_region" field is set

Property Value
Type Description
bool

Namespace

public string Namespace { get; set; }

Service Directory namespace to register the forwarding rule under.

Property Value
Type Description
string

Service

public string Service { get; set; }

Service Directory service to register the forwarding rule under.

Property Value
Type Description
string

ServiceDirectoryRegion

public string ServiceDirectoryRegion { get; set; }

[Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs forwarding rules on the same network should use the same Service Directory region.

Property Value
Type Description
string