Class: Google::Apis::ClouddeployV1::CloudRunLocation

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

Overview

Information specifying where to deploy a Cloud Run Service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudRunLocation

Returns a new instance of CloudRunLocation.



1188
1189
1190
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1188

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

Instance Attribute Details

#locationString

Required. The location for the Cloud Run Service. Format must be projects/ project/locations/location`. Corresponds to the JSON propertylocation`

Returns:

  • (String)


1186
1187
1188
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1186

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1193
1194
1195
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1193

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