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.



5719
5720
5721
# File 'lib/google/apis/ces_v1/classes.rb', line 5719

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)


5696
5697
5698
# File 'lib/google/apis/ces_v1/classes.rb', line 5696

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



5701
5702
5703
# File 'lib/google/apis/ces_v1/classes.rb', line 5701

def endpoint_control_policy
  @endpoint_control_policy
end

#etagString

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

Returns:

  • (String)


5706
5707
5708
# File 'lib/google/apis/ces_v1/classes.rb', line 5706

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)


5712
5713
5714
# File 'lib/google/apis/ces_v1/classes.rb', line 5712

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


5717
5718
5719
# File 'lib/google/apis/ces_v1/classes.rb', line 5717

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5724
5725
5726
5727
5728
5729
5730
# File 'lib/google/apis/ces_v1/classes.rb', line 5724

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