Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1OrganizationProjectMapping

Returns a new instance of GoogleCloudApigeeV1OrganizationProjectMapping.



5435
5436
5437
# File 'lib/google/apis/apigee_v1/classes.rb', line 5435

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#organizationString

Name of the Apigee organization. Corresponds to the JSON property organization

Returns:

  • (String)


5422
5423
5424
# File 'lib/google/apis/apigee_v1/classes.rb', line 5422

def organization
  @organization
end

#project_idString

GCP project associated with the Apigee organization Corresponds to the JSON property projectId

Returns:

  • (String)


5427
5428
5429
# File 'lib/google/apis/apigee_v1/classes.rb', line 5427

def project_id
  @project_id
end

#project_idsArray<String>

DEPRECATED: Use project_id. An Apigee Organization is mapped to a single project. Corresponds to the JSON property projectIds

Returns:

  • (Array<String>)


5433
5434
5435
# File 'lib/google/apis/apigee_v1/classes.rb', line 5433

def project_ids
  @project_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5440
5441
5442
5443
5444
# File 'lib/google/apis/apigee_v1/classes.rb', line 5440

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