Class: Google::Apis::CesV1::SecuritySettings

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

Overview

Project/Location level security settings for CES.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecuritySettings

Returns a new instance of SecuritySettings.



7224
7225
7226
# File 'lib/google/apis/ces_v1/classes.rb', line 7224

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

Instance Attribute Details

#create_timeString

Output only. Create time of the security settings. Corresponds to the JSON property createTime

Returns:

  • (String)


7201
7202
7203
# File 'lib/google/apis/ces_v1/classes.rb', line 7201

def create_time
  @create_time
end

#endpoint_control_policyGoogle::Apis::CesV1::EndpointControlPolicy

Defines project/location level endpoint control policy. Corresponds to the JSON property endpointControlPolicy



7206
7207
7208
# File 'lib/google/apis/ces_v1/classes.rb', line 7206

def endpoint_control_policy
  @endpoint_control_policy
end

#etagString

Output only. Etag of the security settings. Corresponds to the JSON property etag

Returns:

  • (String)


7211
7212
7213
# File 'lib/google/apis/ces_v1/classes.rb', line 7211

def etag
  @etag
end

#nameString

Identifier. The unique identifier of the security settings. Format: projects/ project/locations/location/securitySettings Corresponds to the JSON property name

Returns:

  • (String)


7217
7218
7219
# File 'lib/google/apis/ces_v1/classes.rb', line 7217

def name
  @name
end

#update_timeString

Output only. Last update time of the security settings. Corresponds to the JSON property updateTime

Returns:

  • (String)


7222
7223
7224
# File 'lib/google/apis/ces_v1/classes.rb', line 7222

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7229
7230
7231
7232
7233
7234
7235
# File 'lib/google/apis/ces_v1/classes.rb', line 7229

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @endpoint_control_policy = args[:endpoint_control_policy] if args.key?(:endpoint_control_policy)
  @etag = args[:etag] if args.key?(:etag)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end