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.



297
298
299
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 297

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



289
290
291
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 289

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



295
296
297
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 295

def vpc_settings
  @vpc_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



302
303
304
305
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 302

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