Class: Google::Apis::ComputeAlpha::AllocationReservationSharingPolicy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_typeString

Sharing config for all Google Cloud services. Corresponds to the JSON property serviceShareType

Returns:

  • (String)


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