Class: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig

Returns a new instance of GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig.



1091
1092
1093
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1091

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

Instance Attribute Details

#serviceString

Required. The Service Directory service name. Format: projects/project/ locations/location/namespaces/namespace/services/service. Corresponds to the JSON property service

Returns:

  • (String)


1089
1090
1091
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1089

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1096
1097
1098
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1096

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