Class: Google::Apis::CloudsearchV1::CloudPrincipalProto

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Principal associated with a Cloud Principal representing third party user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudPrincipalProto

Returns a new instance of CloudPrincipalProto.



5392
5393
5394
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5392

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

Instance Attribute Details

#idString

Format: "identity-pool:subject#" Details: go/cloud-principal-identifiers Corresponds to the JSON property id

Returns:

  • (String)


5390
5391
5392
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5390

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5397
5398
5399
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5397

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