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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquerydatatransfer_v1/classes.rb,
lib/google/apis/bigquerydatatransfer_v1/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ CheckValidCredsResponse

Returns a new instance of CheckValidCredsResponse.



52
53
54
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 52

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)


49
50
51
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 49

def has_valid_creds
  @has_valid_creds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



57
58
59
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 57

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