Class: Google::Apis::CloudsearchV1::CustomerSettings

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Represents settings at a customer level.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomerSettings

Returns a new instance of CustomerSettings.



357
358
359
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 357

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

Instance Attribute Details

#audit_logging_settingsGoogle::Apis::CloudsearchV1::AuditLoggingSettings

Represents the settings for Cloud audit logging Corresponds to the JSON property auditLoggingSettings



349
350
351
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 349

def audit_logging_settings
  @audit_logging_settings
end

#vpc_settingsGoogle::Apis::CloudsearchV1::VpcSettings

VPC SC settings for the customer. If update_mask is empty then this field will be updated based on UpdateCustomerSettings request. Corresponds to the JSON property vpcSettings



355
356
357
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 355

def vpc_settings
  @vpc_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



362
363
364
365
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 362

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