Class: Google::Apis::ServicecontrolV1::AuthenticationInfo
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::AuthenticationInfo
- 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
-
#authority_selector ⇒ String
The authority selector specified by the requestor, if any.
-
#principal_email ⇒ String
The email address of the authenticated user making the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthenticationInfo
constructor
A new instance of AuthenticationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AuthenticationInfo
Returns a new instance of AuthenticationInfo
1586 1587 1588 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1586 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authority_selector ⇒ String
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
1584 1585 1586 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1584 def @authority_selector end |
#principal_email ⇒ String
The email address of the authenticated user making the request.
Corresponds to the JSON property principalEmail
1578 1579 1580 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1578 def principal_email @principal_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1591 1592 1593 1594 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1591 def update!(**args) @principal_email = args[:principal_email] if args.key?(:principal_email) @authority_selector = args[:authority_selector] if args.key?(:authority_selector) end |