Class: Google::Apis::ServicecontrolV1::Oauth
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::Oauth
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicecontrol_v1/classes.rb,
lib/google/apis/servicecontrol_v1/representations.rb,
lib/google/apis/servicecontrol_v1/representations.rb
Overview
This message defines attributes associated with OAuth credentials.
Instance Attribute Summary collapse
-
#client_id ⇒ String
The optional OAuth client ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Oauth
constructor
A new instance of Oauth.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Oauth
Returns a new instance of Oauth.
1475 1476 1477 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
The optional OAuth client ID. This is the unique public identifier issued by
an authorization server to a registered client application. Empty string is
equivalent to no oauth client id. WARNING: This is for MCP tools/call and
tools/list authorization and not for general use.
Corresponds to the JSON property clientId
1473 1474 1475 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1473 def client_id @client_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1480 1481 1482 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1480 def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) end |