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.



4444
4445
4446
# File 'lib/google/apis/apigee_v1/classes.rb', line 4444

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

Instance Attribute Details

#organizationString

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

Returns:

  • (String)


4437
4438
4439
# File 'lib/google/apis/apigee_v1/classes.rb', line 4437

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


4442
4443
4444
# File 'lib/google/apis/apigee_v1/classes.rb', line 4442

def project_ids
  @project_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4449
4450
4451
4452
# File 'lib/google/apis/apigee_v1/classes.rb', line 4449

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