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.



1115
1116
1117
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1115

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)


1113
1114
1115
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1113

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1120
1121
1122
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1120

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