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.



615
616
617
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 615

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)


578
579
580
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 578

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



583
584
585
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 583

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)


590
591
592
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 590

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


597
598
599
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 597

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)


603
604
605
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 603

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



608
609
610
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 608

def skus
  @skus
end

#update_timeString

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

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



620
621
622
623
624
625
626
627
628
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 620

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