Class: Google::Apis::ConnectorsV1::Settings
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::Settings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
Global Settings details.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#payg ⇒ Boolean
(also: #payg?)
Output only.
-
#tenant_project_id ⇒ String
Output only.
-
#vpcsc ⇒ Boolean
(also: #vpcsc?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Settings
constructor
A new instance of Settings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Settings
Returns a new instance of Settings.
5104 5105 5106 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. Resource name of the Connection. Format: projects/project
/
locations/global/settings
Corresponds to the JSON property
name`
5085 5086 5087 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5085 def name @name end |
#payg ⇒ Boolean Also known as: payg?
Output only. Flag indicates if user is in PayG model
Corresponds to the JSON property payg
5090 5091 5092 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5090 def payg @payg end |
#tenant_project_id ⇒ String
Output only. Tenant project id of the consumer project.
Corresponds to the JSON property tenantProjectId
5096 5097 5098 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5096 def tenant_project_id @tenant_project_id end |
#vpcsc ⇒ Boolean Also known as: vpcsc?
Optional. Flag indicates whether vpc-sc is enabled.
Corresponds to the JSON property vpcsc
5101 5102 5103 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5101 def vpcsc @vpcsc end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5109 5110 5111 5112 5113 5114 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5109 def update!(**args) @name = args[:name] if args.key?(:name) @payg = args[:payg] if args.key?(:payg) @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id) @vpcsc = args[:vpcsc] if args.key?(:vpcsc) end |