class Google::Apis::ComputeV1::ShareSettings

The share setting for reservations and sole tenancy node groups.

Attributes

project_map[RW]

A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS. Corresponds to the JSON property `projectMap` @return [Hash<String,Google::Apis::ComputeV1::ShareSettingsProjectConfig>]

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_v1/classes.rb, line 33059
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_v1/classes.rb, line 33064
def update!(**args)
  @project_map = args[:project_map] if args.key?(:project_map)
  @share_type = args[:share_type] if args.key?(:share_type)
end