class Google::Apis::ComputeV1::XpnResourceId

Service resource (a.k.a service project) ID.

Attributes

id[RW]

The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678). Corresponds to the JSON property `id` @return [String]

type[RW]

The type of the service resource. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 41356
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 41361
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @type = args[:type] if args.key?(:type)
end