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.



6670
6671
6672
# File 'lib/google/apis/apigee_v1/classes.rb', line 6670

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

Instance Attribute Details

#locationString

Output only. The Google Cloud region where control plane data is located. For more information, see https://cloud.google.com/about/locations/. Corresponds to the JSON property location

Returns:

  • (String)


6652
6653
6654
# File 'lib/google/apis/apigee_v1/classes.rb', line 6652

def location
  @location
end

#organizationString

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

Returns:

  • (String)


6657
6658
6659
# File 'lib/google/apis/apigee_v1/classes.rb', line 6657

def organization
  @organization
end

#project_idString

Google Cloud project associated with the Apigee organization Corresponds to the JSON property projectId

Returns:

  • (String)


6662
6663
6664
# File 'lib/google/apis/apigee_v1/classes.rb', line 6662

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>)


6668
6669
6670
# File 'lib/google/apis/apigee_v1/classes.rb', line 6668

def project_ids
  @project_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6675
6676
6677
6678
6679
6680
# File 'lib/google/apis/apigee_v1/classes.rb', line 6675

def update!(**args)
  @location = args[:location] if args.key?(:location)
  @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