Class: Google::Apis::CloudbuildV1::ServiceDirectoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::ServiceDirectoryConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v1/classes.rb,
lib/google/apis/cloudbuild_v1/representations.rb,
lib/google/apis/cloudbuild_v1/representations.rb
Overview
ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection.
Instance Attribute Summary collapse
-
#service ⇒ String
The Service Directory service name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceDirectoryConfig
constructor
A new instance of ServiceDirectoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceDirectoryConfig
Returns a new instance of ServiceDirectoryConfig.
3894 3895 3896 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 3894 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service ⇒ String
The Service Directory service name. Format: projects/project
/locations/
location
/namespaces/namespace
/services/service
.
Corresponds to the JSON property service
3892 3893 3894 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 3892 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3899 3900 3901 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 3899 def update!(**args) @service = args[:service] if args.key?(:service) end |