Class: Google::Apis::NetworksecurityV1beta1::UrlList
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::UrlList
- 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
UrlList proto helps users to set reusable, independently manageable lists of hosts, host patterns, URLs, URL patterns.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#name ⇒ String
Required.
-
#update_time ⇒ String
Output only.
-
#values ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UrlList
constructor
A new instance of UrlList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UrlList
Returns a new instance of UrlList.
2081 2082 2083 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time when the security policy was created.
Corresponds to the JSON property createTime
2057 2058 2059 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2057 def create_time @create_time end |
#description ⇒ String
Optional. Free-text description of the resource.
Corresponds to the JSON property description
2062 2063 2064 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2062 def description @description end |
#name ⇒ String
Required. Name of the resource provided by the user. Name is of the form
projects/project/locations/location/urlLists/url_list url_list should
match the pattern:(^a-z?$).
Corresponds to the JSON property name
2069 2070 2071 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2069 def name @name end |
#update_time ⇒ String
Output only. Time when the security policy was updated.
Corresponds to the JSON property updateTime
2074 2075 2076 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2074 def update_time @update_time end |
#values ⇒ Array<String>
Required. FQDNs and URLs.
Corresponds to the JSON property values
2079 2080 2081 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2079 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2086 2087 2088 2089 2090 2091 2092 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2086 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) @update_time = args[:update_time] if args.key?(:update_time) @values = args[:values] if args.key?(:values) end |