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.



3361
3362
3363
# File 'lib/google/apis/connectors_v1/classes.rb', line 3361

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)


3342
3343
3344
# File 'lib/google/apis/connectors_v1/classes.rb', line 3342

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)


3347
3348
3349
# File 'lib/google/apis/connectors_v1/classes.rb', line 3347

def payg
  @payg
end

#tenant_project_idString

Output only. Tenant project id of the consumer project. Corresponds to the JSON property tenantProjectId

Returns:

  • (String)


3353
3354
3355
# File 'lib/google/apis/connectors_v1/classes.rb', line 3353

def tenant_project_id
  @tenant_project_id
end

#vpcscBoolean Also known as: vpcsc?

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

Returns:

  • (Boolean)


3358
3359
3360
# File 'lib/google/apis/connectors_v1/classes.rb', line 3358

def vpcsc
  @vpcsc
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3366
3367
3368
3369
3370
3371
# File 'lib/google/apis/connectors_v1/classes.rb', line 3366

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