Class: Google::Apis::ComputeAlpha::AllocationReservationSharingPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::AllocationReservationSharingPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#service_share_type ⇒ String
Sharing config for all Google Cloud services.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AllocationReservationSharingPolicy
constructor
A new instance of AllocationReservationSharingPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AllocationReservationSharingPolicy
Returns a new instance of AllocationReservationSharingPolicy.
1352 1353 1354 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 1352 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_share_type ⇒ String
Sharing config for all Google Cloud services.
Corresponds to the JSON property serviceShareType
1350 1351 1352 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 1350 def service_share_type @service_share_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1357 1358 1359 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 1357 def update!(**args) @service_share_type = args[:service_share_type] if args.key?(:service_share_type) end |