Class ForwardingRuleServiceDirectoryRegistration (1.0.0)

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

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
NameDescription
otherForwardingRuleServiceDirectoryRegistration

Properties

HasNamespace

public bool HasNamespace { get; }

Gets whether the "namespace" field is set

Property Value
TypeDescription
Boolean

HasService

public bool HasService { get; }

Gets whether the "service" field is set

Property Value
TypeDescription
Boolean

HasServiceDirectoryRegion

public bool HasServiceDirectoryRegion { get; }

Gets whether the "service_directory_region" field is set

Property Value
TypeDescription
Boolean

Namespace

public string Namespace { get; set; }

Service Directory namespace to register the forwarding rule under.

Property Value
TypeDescription
String

Service

public string Service { get; set; }

Service Directory service to register the forwarding rule under.

Property Value
TypeDescription
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
TypeDescription
String