Class: Google::Apis::BigquerydatatransferV1::CheckValidCredsResponse

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

Overview

A response indicating whether the credentials exist and are valid.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CheckValidCredsResponse

Returns a new instance of CheckValidCredsResponse.



53
54
55
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 53

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

Instance Attribute Details

#has_valid_credsBoolean Also known as: has_valid_creds?

If set to true, the credentials exist and are valid. Corresponds to the JSON property hasValidCreds

Returns:

  • (Boolean)


50
51
52
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 50

def has_valid_creds
  @has_valid_creds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



58
59
60
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 58

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