Class: SDM::BigQuery
- Inherits:
-
Object
- Object
- SDM::BigQuery
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
-
#id ⇒ Object
Unique identifier of the Resource.
-
#name ⇒ Object
Unique human-readable name of the Resource.
-
#port_override ⇒ Object
Returns the value of attribute port_override.
-
#private_key ⇒ Object
Returns the value of attribute private_key.
-
#project ⇒ Object
Returns the value of attribute project.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, healthy: nil, private_key: nil, project: nil, port_override: nil, endpoint: nil, username: nil) ⇒ BigQuery
constructor
A new instance of BigQuery.
Constructor Details
#initialize(id: nil, name: nil, healthy: nil, private_key: nil, project: nil, port_override: nil, endpoint: nil, username: nil) ⇒ BigQuery
Returns a new instance of BigQuery.
555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 |
# File 'lib/models/porcelain.rb', line 555 def initialize( id:nil \ , name:nil \ , healthy:nil \ , private_key:nil \ , project:nil \ , port_override:nil \ , endpoint:nil \ , username:nil \ ) if id != nil @id = id end if name != nil @name = name end if healthy != nil @healthy = healthy end if private_key != nil @private_key = private_key end if project != nil @project = project end if port_override != nil @port_override = port_override end if endpoint != nil @endpoint = endpoint end if username != nil @username = username end end |
Instance Attribute Details
#endpoint ⇒ Object
Returns the value of attribute endpoint.
552 553 554 |
# File 'lib/models/porcelain.rb', line 552 def endpoint @endpoint end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
544 545 546 |
# File 'lib/models/porcelain.rb', line 544 def healthy @healthy end |
#id ⇒ Object
Unique identifier of the Resource.
540 541 542 |
# File 'lib/models/porcelain.rb', line 540 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
542 543 544 |
# File 'lib/models/porcelain.rb', line 542 def name @name end |
#port_override ⇒ Object
Returns the value of attribute port_override.
550 551 552 |
# File 'lib/models/porcelain.rb', line 550 def port_override @port_override end |
#private_key ⇒ Object
Returns the value of attribute private_key.
546 547 548 |
# File 'lib/models/porcelain.rb', line 546 def private_key @private_key end |
#project ⇒ Object
Returns the value of attribute project.
548 549 550 |
# File 'lib/models/porcelain.rb', line 548 def project @project end |
#username ⇒ Object
Returns the value of attribute username.
554 555 556 |
# File 'lib/models/porcelain.rb', line 554 def username @username end |