Class: Google::Apis::ApphubV1::LocationAssignment
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1::LocationAssignment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apphub_v1/classes.rb,
lib/google/apis/apphub_v1/representations.rb,
lib/google/apis/apphub_v1/representations.rb
Instance Attribute Summary collapse
-
#location ⇒ String
Corresponds to the JSON property
location
. -
#location_type ⇒ String
Corresponds to the JSON property
locationType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocationAssignment
constructor
A new instance of LocationAssignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LocationAssignment
Returns a new instance of LocationAssignment.
1065 1066 1067 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1065 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
Corresponds to the JSON property location
1058 1059 1060 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1058 def location @location end |
#location_type ⇒ String
Corresponds to the JSON property locationType
1063 1064 1065 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1063 def location_type @location_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1070 1071 1072 1073 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1070 def update!(**args) @location = args[:location] if args.key?(:location) @location_type = args[:location_type] if args.key?(:location_type) end |