Class: Google::Apis::CesV1::ServiceDirectoryConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb

Overview

Configuration for tools using Service Directory.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceDirectoryConfig

Returns a new instance of ServiceDirectoryConfig.



5789
5790
5791
# File 'lib/google/apis/ces_v1/classes.rb', line 5789

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#serviceString

Required. The name of Service Directory service. Format: projects/project/locations/location/ namespaces/namespace/services/service`. Location of the service directory must be the same as the location of the app. Corresponds to the JSON propertyservice`

Returns:

  • (String)


5787
5788
5789
# File 'lib/google/apis/ces_v1/classes.rb', line 5787

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5794
5795
5796
# File 'lib/google/apis/ces_v1/classes.rb', line 5794

def update!(**args)
  @service = args[:service] if args.key?(:service)
end