Class: Google::Apis::FileV1beta1::ClientList
- Inherits:
-
Object
- Object
- Google::Apis::FileV1beta1::ClientList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/file_v1beta1/classes.rb,
generated/google/apis/file_v1beta1/representations.rb,
generated/google/apis/file_v1beta1/representations.rb
Overview
The sets of network addresses and DNS names for hosts to which a given export or share should be allowed or denied.
Instance Attribute Summary collapse
-
#host_names ⇒ Array<String>
DNS names of hosts, with optional wildcards.
-
#ip_addresses ⇒ Array<String>
IPv4 addresses in the format
octet 1
.octet 2
.octet 3
.octet 4
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClientList
constructor
A new instance of ClientList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClientList
Returns a new instance of ClientList
54 55 56 |
# File 'generated/google/apis/file_v1beta1/classes.rb', line 54 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host_names ⇒ Array<String>
DNS names of hosts, with optional wildcards.
Corresponds to the JSON property hostNames
46 47 48 |
# File 'generated/google/apis/file_v1beta1/classes.rb', line 46 def host_names @host_names end |
#ip_addresses ⇒ Array<String>
IPv4 addresses in the format
octet 1
.octet 2
.octet 3
.octet 4
.
Corresponds to the JSON property ipAddresses
52 53 54 |
# File 'generated/google/apis/file_v1beta1/classes.rb', line 52 def ip_addresses @ip_addresses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
59 60 61 62 |
# File 'generated/google/apis/file_v1beta1/classes.rb', line 59 def update!(**args) @host_names = args[:host_names] if args.key?(:host_names) @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses) end |