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.



5919
5920
5921
# File 'lib/google/apis/ces_v1/classes.rb', line 5919

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)


5896
5897
5898
# File 'lib/google/apis/ces_v1/classes.rb', line 5896

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



5901
5902
5903
# File 'lib/google/apis/ces_v1/classes.rb', line 5901

def endpoint_control_policy
  @endpoint_control_policy
end

#etagString

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

Returns:

  • (String)


5906
5907
5908
# File 'lib/google/apis/ces_v1/classes.rb', line 5906

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)


5912
5913
5914
# File 'lib/google/apis/ces_v1/classes.rb', line 5912

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


5917
5918
5919
# File 'lib/google/apis/ces_v1/classes.rb', line 5917

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5924
5925
5926
5927
5928
5929
5930
# File 'lib/google/apis/ces_v1/classes.rb', line 5924

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