Class: Google::Apis::ComputeV1::AllocationReservationSharingPolicy

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AllocationReservationSharingPolicy

Returns a new instance of AllocationReservationSharingPolicy.



1492
1493
1494
# File 'lib/google/apis/compute_v1/classes.rb', line 1492

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)


1490
1491
1492
# File 'lib/google/apis/compute_v1/classes.rb', line 1490

def service_share_type
  @service_share_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1497
1498
1499
# File 'lib/google/apis/compute_v1/classes.rb', line 1497

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