Class: Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networksecurity_v1beta1/classes.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb
Overview
The GatewaySecurityPolicy resource contains a collection of GatewaySecurityPolicyRules and associated metadata.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#name ⇒ String
Required.
-
#tls_inspection_policy ⇒ String
Optional.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GatewaySecurityPolicy
constructor
A new instance of GatewaySecurityPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GatewaySecurityPolicy
Returns a new instance of GatewaySecurityPolicy.
1217 1218 1219 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1217 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The timestamp when the resource was created.
Corresponds to the JSON property createTime
1191 1192 1193 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1191 def create_time @create_time end |
#description ⇒ String
Optional. Free-text description of the resource.
Corresponds to the JSON property description
1196 1197 1198 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1196 def description @description end |
#name ⇒ String
Required. Name of the resource. Name is of the form projects/project
/
locations/location
/gatewaySecurityPolicies/gateway_security_policy
gateway_security_policy should match the pattern:(^a-z?$).
Corresponds to the JSON property name
1204 1205 1206 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1204 def name @name end |
#tls_inspection_policy ⇒ String
Optional. Name of a TLS Inspection Policy resource that defines how TLS
inspection will be performed for any rule(s) which enables it.
Corresponds to the JSON property tlsInspectionPolicy
1210 1211 1212 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1210 def tls_inspection_policy @tls_inspection_policy end |
#update_time ⇒ String
Output only. The timestamp when the resource was updated.
Corresponds to the JSON property updateTime
1215 1216 1217 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1215 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1222 1223 1224 1225 1226 1227 1228 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1222 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @tls_inspection_policy = args[:tls_inspection_policy] if args.key?(:tls_inspection_policy) @update_time = args[:update_time] if args.key?(:update_time) end |