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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ProjectReference

Returns a new instance of ProjectReference.


4509
4510
4511
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4509

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)

4507
4508
4509
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4507

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4514
4515
4516
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4514

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