Class: Google::Apis::BigqueryV2::ProjectList::Project
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ProjectList::Project
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Information about a single project.
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 a project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Project
constructor
A new instance of Project.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Project
Returns a new instance of Project.
7180 7181 7182 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7180 def initialize(**args) update!(**args) end |
Instance Attribute Details
#friendly_name ⇒ String
A descriptive name for this project. A wrapper is used here because
friendlyName can be set to the empty string.
Corresponds to the JSON property friendlyName
7158 7159 7160 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7158 def friendly_name @friendly_name end |
#id ⇒ String
An opaque ID of this project.
Corresponds to the JSON property id
7163 7164 7165 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7163 def id @id end |
#kind ⇒ String
The resource type.
Corresponds to the JSON property kind
7168 7169 7170 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7168 def kind @kind end |
#numeric_id ⇒ Fixnum
The numeric ID of this project.
Corresponds to the JSON property numericId
7173 7174 7175 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7173 def numeric_id @numeric_id end |
#project_reference ⇒ Google::Apis::BigqueryV2::ProjectReference
A unique reference to a project.
Corresponds to the JSON property projectReference
7178 7179 7180 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7178 def project_reference @project_reference end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7185 7186 7187 7188 7189 7190 7191 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7185 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 |