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.



7042
7043
7044
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7042

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



7034
7035
7036
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7034

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



7040
7041
7042
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7040

def vpc_settings
  @vpc_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7047
7048
7049
7050
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7047

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