Class: Google::Apis::BigquerydatatransferV1::IsEnabledResponse
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatatransferV1::IsEnabledResponse
- 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
-
#enabled ⇒ Boolean
(also: #enabled?)
Indicates whether the project is enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IsEnabledResponse
constructor
A new instance of IsEnabledResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#enabled ⇒ Boolean Also known as: enabled?
Indicates whether the project is enabled.
Corresponds to the JSON property enabled
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 |