class Google::Apis::ComputeBeta::ShareSettings

The share setting for reservations and sole tenancy node groups.

Attributes

projects[RW]

A List of Project names to specify consumer projects for this shared- reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS. Corresponds to the JSON property `projects` @return [Array<String>]

share_type[RW]

Type of sharing for this shared-reservation Corresponds to the JSON property `shareType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 32348
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 32353
def update!(**args)
  @projects = args[:projects] if args.key?(:projects)
  @share_type = args[:share_type] if args.key?(:share_type)
end