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.



6246
6247
6248
# File 'lib/google/apis/ces_v1/classes.rb', line 6246

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)


6223
6224
6225
# File 'lib/google/apis/ces_v1/classes.rb', line 6223

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



6228
6229
6230
# File 'lib/google/apis/ces_v1/classes.rb', line 6228

def endpoint_control_policy
  @endpoint_control_policy
end

#etagString

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

Returns:

  • (String)


6233
6234
6235
# File 'lib/google/apis/ces_v1/classes.rb', line 6233

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)


6239
6240
6241
# File 'lib/google/apis/ces_v1/classes.rb', line 6239

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


6244
6245
6246
# File 'lib/google/apis/ces_v1/classes.rb', line 6244

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6251
6252
6253
6254
6255
6256
6257
# File 'lib/google/apis/ces_v1/classes.rb', line 6251

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