Class: Google::Apis::WorkstationsV1beta::PushCredentialsRequest

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

Overview

Request message for PushCredentials.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PushCredentialsRequest

Returns a new instance of PushCredentialsRequest.



1716
1717
1718
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1716

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

Instance Attribute Details

#application_default_credentialsGoogle::Apis::WorkstationsV1beta::OAuthToken

Represents an OAuth 2.0 access token and its associated metadata. Corresponds to the JSON property applicationDefaultCredentials



1714
1715
1716
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1714

def application_default_credentials
  @application_default_credentials
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1721
1722
1723
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1721

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