Class: Google::Apis::NotebooksV2::CheckAuthorizationRequest

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

Overview

Request message for checking authorization for the instance owner.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckAuthorizationRequest

Returns a new instance of CheckAuthorizationRequest.



243
244
245
# File 'lib/google/apis/notebooks_v2/classes.rb', line 243

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

Instance Attribute Details

#authorization_detailsHash<String,String>

Optional. The details of the OAuth authorization response. This may include additional params such as dry_run, version_info, origin, propagate, etc. Corresponds to the JSON property authorizationDetails

Returns:

  • (Hash<String,String>)


241
242
243
# File 'lib/google/apis/notebooks_v2/classes.rb', line 241

def authorization_details
  @authorization_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



248
249
250
# File 'lib/google/apis/notebooks_v2/classes.rb', line 248

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