Class: Google::Apis::ServicecontrolV1::AuthenticationInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicecontrol_v1/classes.rb,
generated/google/apis/servicecontrol_v1/representations.rb,
generated/google/apis/servicecontrol_v1/representations.rb

Overview

Authentication information for the operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AuthenticationInfo

Returns a new instance of AuthenticationInfo



1664
1665
1666
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1664

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

Instance Attribute Details

#authority_selectorString

The authority selector specified by the requestor, if any. It is not guaranteed that the principal was allowed to use this authority. Corresponds to the JSON property authoritySelector

Returns:

  • (String)


1662
1663
1664
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1662

def authority_selector
  @authority_selector
end

#principal_emailString

The email address of the authenticated user making the request. Corresponds to the JSON property principalEmail

Returns:

  • (String)


1656
1657
1658
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1656

def principal_email
  @principal_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1669
1670
1671
1672
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1669

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