Class: Google::Apis::BigqueryreservationV1::BiReservation
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryreservationV1::BiReservation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigqueryreservation_v1/classes.rb,
generated/google/apis/bigqueryreservation_v1/representations.rb,
generated/google/apis/bigqueryreservation_v1/representations.rb
Overview
Represents a BI Reservation.
Instance Attribute Summary collapse
-
#name ⇒ String
The resource name of the singleton BI reservation.
-
#size ⇒ Fixnum
Size of a reservation, in bytes.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BiReservation
constructor
A new instance of BiReservation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BiReservation
Returns a new instance of BiReservation.
85 86 87 |
# File 'generated/google/apis/bigqueryreservation_v1/classes.rb', line 85 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The resource name of the singleton BI reservation. Reservation names have the
form projects/
project_id/locations/
location_id/bireservation
.
Corresponds to the JSON property name
73 74 75 |
# File 'generated/google/apis/bigqueryreservation_v1/classes.rb', line 73 def name @name end |
#size ⇒ Fixnum
Size of a reservation, in bytes.
Corresponds to the JSON property size
78 79 80 |
# File 'generated/google/apis/bigqueryreservation_v1/classes.rb', line 78 def size @size end |
#update_time ⇒ String
Output only. The last update timestamp of a reservation.
Corresponds to the JSON property updateTime
83 84 85 |
# File 'generated/google/apis/bigqueryreservation_v1/classes.rb', line 83 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
90 91 92 93 94 |
# File 'generated/google/apis/bigqueryreservation_v1/classes.rb', line 90 def update!(**args) @name = args[:name] if args.key?(:name) @size = args[:size] if args.key?(:size) @update_time = args[:update_time] if args.key?(:update_time) end |