Class: Google::Apis::ConnectorsV1::Settings

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Settings

Returns a new instance of Settings.



2238
2239
2240
# File 'lib/google/apis/connectors_v1/classes.rb', line 2238

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

Instance Attribute Details

#nameString

Output only. Resource name of the Connection. Format: projects/project/ locations/global/settings Corresponds to the JSON propertyname`

Returns:

  • (String)


2224
2225
2226
# File 'lib/google/apis/connectors_v1/classes.rb', line 2224

def name
  @name
end

#paygBoolean Also known as: payg?

Output only. Flag indicates if user is in PayG model Corresponds to the JSON property payg

Returns:

  • (Boolean)


2229
2230
2231
# File 'lib/google/apis/connectors_v1/classes.rb', line 2229

def payg
  @payg
end

#vpcscBoolean Also known as: vpcsc?

Optional. Flag indicates whether vpc-sc is enabled. Corresponds to the JSON property vpcsc

Returns:

  • (Boolean)


2235
2236
2237
# File 'lib/google/apis/connectors_v1/classes.rb', line 2235

def vpcsc
  @vpcsc
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2243
2244
2245
2246
2247
# File 'lib/google/apis/connectors_v1/classes.rb', line 2243

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