Class: Google::Apis::BigqueryV2::ProjectList::Project
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ProjectList::Project
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#friendly_name ⇒ String
A descriptive name for this project.
-
#id ⇒ String
An opaque ID of this project.
-
#kind ⇒ String
The resource type.
-
#numeric_id ⇒ Fixnum
The numeric ID of this project.
-
#project_reference ⇒ Google::Apis::BigqueryV2::ProjectReference
A unique reference to this project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Project
constructor
A new instance of Project.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Project
Returns a new instance of Project
2244 2245 2246 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#friendly_name ⇒ String
A descriptive name for this project.
Corresponds to the JSON property friendlyName
2222 2223 2224 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2222 def friendly_name @friendly_name end |
#id ⇒ String
An opaque ID of this project.
Corresponds to the JSON property id
2227 2228 2229 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2227 def id @id end |
#kind ⇒ String
The resource type.
Corresponds to the JSON property kind
2232 2233 2234 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2232 def kind @kind end |
#numeric_id ⇒ Fixnum
The numeric ID of this project.
Corresponds to the JSON property numericId
2237 2238 2239 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2237 def numeric_id @numeric_id end |
#project_reference ⇒ Google::Apis::BigqueryV2::ProjectReference
A unique reference to this project.
Corresponds to the JSON property projectReference
2242 2243 2244 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2242 def project_reference @project_reference end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2249 2250 2251 2252 2253 2254 2255 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2249 def update!(**args) @friendly_name = args[:friendly_name] if args.key?(:friendly_name) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @numeric_id = args[:numeric_id] if args.key?(:numeric_id) @project_reference = args[:project_reference] if args.key?(:project_reference) end |