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.



1712
1713
1714
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1712

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



1710
1711
1712
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1710

def application_default_credentials
  @application_default_credentials
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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