Class: Google::Apis::ClouddeployV1::CloudRunLocation
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::CloudRunLocation
- 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
-
#location ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudRunLocation
constructor
A new instance of CloudRunLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#location ⇒ String
Required. The location for the Cloud Run Service. Format must be projects/
project/locations/
location`.
Corresponds to the JSON property
location`
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 |