Class: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v2/classes.rb,
lib/google/apis/cloudbuild_v2/representations.rb,
lib/google/apis/cloudbuild_v2/representations.rb
Overview
ServiceDirectoryConfig represents Service Directory configuration for a connection.
Instance Attribute Summary collapse
-
#service ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
constructor
A new instance of GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
Returns a new instance of GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig.
1116 1117 1118 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1116 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service ⇒ String
Required. The Service Directory service name. Format: projects/project
/
locations/location
/namespaces/namespace
/services/service
.
Corresponds to the JSON property service
1114 1115 1116 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1114 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1121 1122 1123 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1121 def update!(**args) @service = args[:service] if args.key?(:service) end |