Class: Google::Apis::BigqueryV2::ProjectReference
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ProjectReference
- 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
Instance Attribute Summary collapse
-
#project_id ⇒ String
[Required] ID of the project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProjectReference
constructor
A new instance of ProjectReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProjectReference
Returns a new instance of ProjectReference.
5816 5817 5818 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5816 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project_id ⇒ String
[Required] ID of the project. Can be either the numeric ID or the assigned ID
of the project.
Corresponds to the JSON property projectId
5814 5815 5816 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5814 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5821 5822 5823 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5821 def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) end |