Class: Google::Apis::CloudcontrolspartnerV1::Partner

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_timeString

Output only. Time the resource was created Corresponds to the JSON property createTime

Returns:

  • (String)


601
602
603
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 601

def create_time
  @create_time
end

#ekm_solutionsArray<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

#nameString

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

Returns:

  • (String)


613
614
615
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 613

def name
  @name
end

#operated_cloud_regionsArray<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

Returns:

  • (Array<String>)


620
621
622
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 620

def operated_cloud_regions
  @operated_cloud_regions
end

#partner_project_idString

Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs for Partners. Corresponds to the JSON property partnerProjectId

Returns:

  • (String)


626
627
628
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 626

def partner_project_id
  @partner_project_id
end

#skusArray<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_timeString

Output only. The last time the resource was updated Corresponds to the JSON property updateTime

Returns:

  • (String)


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