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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1OrganizationProjectMapping

Returns a new instance of GoogleCloudApigeeV1OrganizationProjectMapping.



2837
2838
2839
# File 'generated/google/apis/apigee_v1/classes.rb', line 2837

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

Instance Attribute Details

#organizationString

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

Returns:

  • (String)


2830
2831
2832
# File 'generated/google/apis/apigee_v1/classes.rb', line 2830

def organization
  @organization
end

#project_idsArray<String>

List of GCP projects associated with the Apigee organization. Corresponds to the JSON property projectIds

Returns:

  • (Array<String>)


2835
2836
2837
# File 'generated/google/apis/apigee_v1/classes.rb', line 2835

def project_ids
  @project_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2842
2843
2844
2845
# File 'generated/google/apis/apigee_v1/classes.rb', line 2842

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