Class: Google::Apis::BigqueryV2::ProjectReference

Inherits:
Object
  • Object
show all
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

A unique reference to a project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProjectReference

Returns a new instance of ProjectReference.



7302
7303
7304
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7302

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#project_idString

Required. ID of the project. Can be either the numeric ID or the assigned ID of the project. Corresponds to the JSON property projectId

Returns:

  • (String)


7300
7301
7302
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7300

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7307
7308
7309
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7307

def update!(**args)
  @project_id = args[:project_id] if args.key?(:project_id)
end