Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping
- 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
-
#organization ⇒ String
Name of the Apigee organization.
-
#project_id ⇒ String
GCP project associated with the Apigee organization Corresponds to the JSON property
projectId. -
#project_ids ⇒ Array<String>
DEPRECATED: Use
project_id.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1OrganizationProjectMapping
constructor
A new instance of GoogleCloudApigeeV1OrganizationProjectMapping.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1OrganizationProjectMapping
Returns a new instance of GoogleCloudApigeeV1OrganizationProjectMapping.
5347 5348 5349 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5347 def initialize(**args) update!(**args) end |
Instance Attribute Details
#organization ⇒ String
Name of the Apigee organization.
Corresponds to the JSON property organization
5334 5335 5336 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5334 def organization @organization end |
#project_id ⇒ String
GCP project associated with the Apigee organization
Corresponds to the JSON property projectId
5339 5340 5341 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5339 def project_id @project_id end |
#project_ids ⇒ Array<String>
DEPRECATED: Use project_id. An Apigee Organization is mapped to a single
project.
Corresponds to the JSON property projectIds
5345 5346 5347 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5345 def project_ids @project_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5352 5353 5354 5355 5356 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5352 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 |