class Google::Apis::ServiceconsumermanagementV1::AttachTenantProjectRequest

Request to attach an existing project to the tenancy unit as a new tenant resource.

Attributes

external_resource[RW]

When attaching an external project, this is in the format of `projects/` project_number“. Corresponds to the JSON property `externalResource` @return [String]

reserved_resource[RW]

When attaching a reserved project already in tenancy units, this is the tag of a tenant resource under the tenancy unit for the managed service's service producer project. The reserved tenant resource must be in an active state. Corresponds to the JSON property `reservedResource` @return [String]

tag[RW]

Required. Tag of the tenant resource after attachment. Must be less than 128 characters. Required. Corresponds to the JSON property `tag` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 185
def update!(**args)
  @external_resource = args[:external_resource] if args.key?(:external_resource)
  @reserved_resource = args[:reserved_resource] if args.key?(:reserved_resource)
  @tag = args[:tag] if args.key?(:tag)
end