Class: Google::Apis::ComputeBeta::AllocationReservationSharingPolicy

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AllocationReservationSharingPolicy

Returns a new instance of AllocationReservationSharingPolicy.



1513
1514
1515
# File 'lib/google/apis/compute_beta/classes.rb', line 1513

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)


1511
1512
1513
# File 'lib/google/apis/compute_beta/classes.rb', line 1511

def service_share_type
  @service_share_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1518
1519
1520
# File 'lib/google/apis/compute_beta/classes.rb', line 1518

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