Compute Engine v1 API - Class ForwardingRuleServiceDirectoryRegistration (2.7.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

GoogleCloudGoogle.Cloud.ComputeV1

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
bool

HasService

public bool HasService { get; }

Gets whether the "service" field is set

Property Value
TypeDescription
bool

HasServiceDirectoryRegion

public bool HasServiceDirectoryRegion { get; }

Gets whether the "service_directory_region" field is set

Property Value
TypeDescription
bool

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