Class: Google::Apis::CloudcontrolspartnerV1::Partner
- Inherits:
-
Object
- Object
- Google::Apis::CloudcontrolspartnerV1::Partner
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb
Overview
Message describing Partner resource
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#ekm_solutions ⇒ Array<Google::Apis::CloudcontrolspartnerV1::EkmMetadata>
List of Google Cloud supported EKM partners supported by the partner Corresponds to the JSON property
ekmSolutions
. -
#name ⇒ String
Identifier.
-
#operated_cloud_regions ⇒ Array<String>
List of Google Cloud regions that the partner sells services to customers.
-
#partner_project_id ⇒ String
Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs for Partners.
-
#skus ⇒ Array<Google::Apis::CloudcontrolspartnerV1::Sku>
List of SKUs the partner is offering Corresponds to the JSON property
skus
. -
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Partner
constructor
A new instance of Partner.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Partner
Returns a new instance of Partner.
638 639 640 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 638 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time the resource was created
Corresponds to the JSON property createTime
601 602 603 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 601 def create_time @create_time end |
#ekm_solutions ⇒ Array<Google::Apis::CloudcontrolspartnerV1::EkmMetadata>
List of Google Cloud supported EKM partners supported by the partner
Corresponds to the JSON property ekmSolutions
606 607 608 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 606 def ekm_solutions @ekm_solutions end |
#name ⇒ String
Identifier. The resource name of the partner. Format: organizations/
organization/locations/
location/partner
Example: "organizations/123456/
locations/us-central1/partner"
Corresponds to the JSON property name
613 614 615 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 613 def name @name end |
#operated_cloud_regions ⇒ Array<String>
List of Google Cloud regions that the partner sells services to customers.
Valid Google Cloud regions found here: https://cloud.google.com/compute/docs/
regions-zones
Corresponds to the JSON property operatedCloudRegions
620 621 622 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 620 def operated_cloud_regions @operated_cloud_regions end |
#partner_project_id ⇒ String
Google Cloud project ID in the partner's Google Cloud organization for
receiving enhanced Logs for Partners.
Corresponds to the JSON property partnerProjectId
626 627 628 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 626 def partner_project_id @partner_project_id end |
#skus ⇒ Array<Google::Apis::CloudcontrolspartnerV1::Sku>
List of SKUs the partner is offering
Corresponds to the JSON property skus
631 632 633 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 631 def skus @skus end |
#update_time ⇒ String
Output only. The last time the resource was updated
Corresponds to the JSON property updateTime
636 637 638 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 636 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
643 644 645 646 647 648 649 650 651 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 643 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @ekm_solutions = args[:ekm_solutions] if args.key?(:ekm_solutions) @name = args[:name] if args.key?(:name) @operated_cloud_regions = args[:operated_cloud_regions] if args.key?(:operated_cloud_regions) @partner_project_id = args[:partner_project_id] if args.key?(:partner_project_id) @skus = args[:skus] if args.key?(:skus) @update_time = args[:update_time] if args.key?(:update_time) end |