Class: Google::Apis::BigquerydatatransferV1::IsEnabledResponse

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 to indicate whether data transfer is enabled for the project.

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) ⇒ IsEnabledResponse

Returns a new instance of IsEnabledResponse



357
358
359
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 357

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Indicates whether the project is enabled. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


354
355
356
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 354

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



362
363
364
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 362

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