class Google::Apis::ComputeV1::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.
Attributes
Service Directory namespace to register the forwarding rule under. Corresponds to the JSON property `namespace` @return [String]
Service Directory service to register the forwarding rule under. Corresponds to the JSON property `service` @return [String]
- 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. Corresponds to the JSON property `serviceDirectoryRegion` @return [String]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 9238 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 9243 def update!(**args) @namespace = args[:namespace] if args.key?(:namespace) @service = args[:service] if args.key?(:service) @service_directory_region = args[:service_directory_region] if args.key?(:service_directory_region) end