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.



6387
6388
6389
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6387

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)


6385
6386
6387
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6385

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6392
6393
6394
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6392

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