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.



6718
6719
6720
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6718

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



6710
6711
6712
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6710

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



6716
6717
6718
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6716

def vpc_settings
  @vpc_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6723
6724
6725
6726
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6723

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