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.



7204
7205
7206
# File 'lib/google/apis/ces_v1/classes.rb', line 7204

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)


7181
7182
7183
# File 'lib/google/apis/ces_v1/classes.rb', line 7181

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



7186
7187
7188
# File 'lib/google/apis/ces_v1/classes.rb', line 7186

def endpoint_control_policy
  @endpoint_control_policy
end

#etagString

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

Returns:

  • (String)


7191
7192
7193
# File 'lib/google/apis/ces_v1/classes.rb', line 7191

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)


7197
7198
7199
# File 'lib/google/apis/ces_v1/classes.rb', line 7197

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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