fog-google 1.11.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/dependabot.yml +10 -0
- data/.github/workflows/ruby.yml +34 -0
- data/.github/workflows/stale.yml +23 -0
- data/CHANGELOG.md +88 -1
- data/README.md +19 -10
- data/ci/docker-image/Dockerfile +3 -3
- data/fog-google.gemspec +2 -2
- data/lib/fog/compute/google/models/address.rb +1 -1
- data/lib/fog/compute/google/models/addresses.rb +6 -6
- data/lib/fog/compute/google/models/backend_service.rb +1 -1
- data/lib/fog/compute/google/models/disk.rb +3 -3
- data/lib/fog/compute/google/models/disk_types.rb +2 -2
- data/lib/fog/compute/google/models/disks.rb +2 -2
- data/lib/fog/compute/google/models/firewall.rb +2 -2
- data/lib/fog/compute/google/models/firewalls.rb +1 -1
- data/lib/fog/compute/google/models/forwarding_rules.rb +2 -2
- data/lib/fog/compute/google/models/global_addresses.rb +1 -1
- data/lib/fog/compute/google/models/global_forwarding_rules.rb +1 -1
- data/lib/fog/compute/google/models/http_health_check.rb +2 -2
- data/lib/fog/compute/google/models/instance_group_managers.rb +2 -2
- data/lib/fog/compute/google/models/machine_types.rb +2 -2
- data/lib/fog/compute/google/models/operations.rb +3 -3
- data/lib/fog/compute/google/models/servers.rb +3 -3
- data/lib/fog/compute/google/models/subnetworks.rb +2 -2
- data/lib/fog/compute/google/models/target_instances.rb +2 -2
- data/lib/fog/compute/google/models/target_pools.rb +2 -2
- data/lib/fog/compute/google/models/url_maps.rb +1 -1
- data/lib/fog/compute/google/requests/abandon_instances.rb +1 -1
- data/lib/fog/compute/google/requests/add_instance_group_instances.rb +3 -3
- data/lib/fog/compute/google/requests/add_server_access_config.rb +3 -3
- data/lib/fog/compute/google/requests/add_target_pool_health_checks.rb +2 -2
- data/lib/fog/compute/google/requests/add_target_pool_instances.rb +2 -2
- data/lib/fog/compute/google/requests/attach_disk.rb +1 -1
- data/lib/fog/compute/google/requests/create_disk_snapshot.rb +1 -1
- data/lib/fog/compute/google/requests/expand_subnetwork_ip_cidr_range.rb +1 -1
- data/lib/fog/compute/google/requests/get_backend_service_health.rb +1 -1
- data/lib/fog/compute/google/requests/get_server_serial_port_output.rb +2 -2
- data/lib/fog/compute/google/requests/get_target_pool_health.rb +1 -1
- data/lib/fog/compute/google/requests/insert_address.rb +2 -2
- data/lib/fog/compute/google/requests/insert_backend_service.rb +1 -1
- data/lib/fog/compute/google/requests/insert_disk.rb +1 -1
- data/lib/fog/compute/google/requests/insert_firewall.rb +1 -1
- data/lib/fog/compute/google/requests/insert_forwarding_rule.rb +1 -1
- data/lib/fog/compute/google/requests/insert_global_address.rb +1 -1
- data/lib/fog/compute/google/requests/insert_global_forwarding_rule.rb +1 -1
- data/lib/fog/compute/google/requests/insert_http_health_check.rb +1 -1
- data/lib/fog/compute/google/requests/insert_image.rb +1 -1
- data/lib/fog/compute/google/requests/insert_instance_group.rb +3 -3
- data/lib/fog/compute/google/requests/insert_instance_group_manager.rb +7 -7
- data/lib/fog/compute/google/requests/insert_instance_template.rb +3 -3
- data/lib/fog/compute/google/requests/insert_network.rb +1 -1
- data/lib/fog/compute/google/requests/insert_route.rb +10 -10
- data/lib/fog/compute/google/requests/insert_server.rb +12 -8
- data/lib/fog/compute/google/requests/insert_ssl_certificate.rb +4 -4
- data/lib/fog/compute/google/requests/insert_subnetwork.rb +1 -1
- data/lib/fog/compute/google/requests/insert_target_http_proxy.rb +3 -3
- data/lib/fog/compute/google/requests/insert_target_https_proxy.rb +4 -4
- data/lib/fog/compute/google/requests/insert_target_instance.rb +1 -1
- data/lib/fog/compute/google/requests/insert_target_pool.rb +1 -1
- data/lib/fog/compute/google/requests/insert_url_map.rb +1 -1
- data/lib/fog/compute/google/requests/invalidate_url_map_cache.rb +1 -1
- data/lib/fog/compute/google/requests/list_addresses.rb +4 -4
- data/lib/fog/compute/google/requests/list_aggregated_addresses.rb +1 -1
- data/lib/fog/compute/google/requests/list_aggregated_disk_types.rb +2 -2
- data/lib/fog/compute/google/requests/list_aggregated_disks.rb +2 -2
- data/lib/fog/compute/google/requests/list_aggregated_forwarding_rules.rb +2 -2
- data/lib/fog/compute/google/requests/list_aggregated_instance_group_managers.rb +4 -4
- data/lib/fog/compute/google/requests/list_aggregated_instance_groups.rb +1 -1
- data/lib/fog/compute/google/requests/list_aggregated_machine_types.rb +2 -2
- data/lib/fog/compute/google/requests/list_aggregated_servers.rb +2 -2
- data/lib/fog/compute/google/requests/list_aggregated_subnetworks.rb +4 -4
- data/lib/fog/compute/google/requests/list_aggregated_target_instances.rb +4 -4
- data/lib/fog/compute/google/requests/list_aggregated_target_pools.rb +4 -4
- data/lib/fog/compute/google/requests/list_disk_types.rb +2 -2
- data/lib/fog/compute/google/requests/list_disks.rb +2 -2
- data/lib/fog/compute/google/requests/list_firewalls.rb +4 -4
- data/lib/fog/compute/google/requests/list_forwarding_rules.rb +2 -2
- data/lib/fog/compute/google/requests/list_global_addresses.rb +5 -5
- data/lib/fog/compute/google/requests/list_global_forwarding_rules.rb +2 -2
- data/lib/fog/compute/google/requests/list_global_operations.rb +4 -4
- data/lib/fog/compute/google/requests/list_http_health_checks.rb +2 -2
- data/lib/fog/compute/google/requests/list_images.rb +2 -2
- data/lib/fog/compute/google/requests/list_instance_group_managers.rb +2 -2
- data/lib/fog/compute/google/requests/list_instance_templates.rb +4 -4
- data/lib/fog/compute/google/requests/list_machine_types.rb +4 -4
- data/lib/fog/compute/google/requests/list_networks.rb +4 -4
- data/lib/fog/compute/google/requests/list_subnetworks.rb +4 -4
- data/lib/fog/compute/google/requests/list_target_pools.rb +4 -4
- data/lib/fog/compute/google/requests/list_url_maps.rb +2 -2
- data/lib/fog/compute/google/requests/patch_firewall.rb +1 -1
- data/lib/fog/compute/google/requests/remove_instance_group_instances.rb +3 -3
- data/lib/fog/compute/google/requests/remove_target_pool_health_checks.rb +2 -2
- data/lib/fog/compute/google/requests/remove_target_pool_instance.rb +2 -2
- data/lib/fog/compute/google/requests/remove_target_pool_instances.rb +2 -2
- data/lib/fog/compute/google/requests/set_common_instance_metadata.rb +2 -2
- data/lib/fog/compute/google/requests/set_forwarding_rule_target.rb +1 -1
- data/lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb +1 -1
- data/lib/fog/compute/google/requests/set_server_metadata.rb +2 -2
- data/lib/fog/compute/google/requests/set_server_tags.rb +2 -2
- data/lib/fog/compute/google/requests/set_snapshot_labels.rb +2 -2
- data/lib/fog/compute/google/requests/set_subnetwork_private_ip_google_access.rb +1 -1
- data/lib/fog/compute/google/requests/set_target_http_proxy_url_map.rb +1 -1
- data/lib/fog/compute/google/requests/set_target_https_proxy_ssl_certificates.rb +1 -1
- data/lib/fog/compute/google/requests/set_target_https_proxy_url_map.rb +1 -1
- data/lib/fog/compute/google/requests/set_target_pool_backup.rb +2 -2
- data/lib/fog/compute/google/requests/update_firewall.rb +1 -1
- data/lib/fog/compute/google/requests/update_http_health_check.rb +1 -1
- data/lib/fog/compute/google/requests/update_url_map.rb +1 -1
- data/lib/fog/compute/google/requests/validate_url_map.rb +1 -1
- data/lib/fog/dns/google/requests/create_change.rb +2 -2
- data/lib/fog/google/models/sql/instance.rb +2 -2
- data/lib/fog/google/requests/monitoring/create_metric_descriptor.rb +8 -8
- data/lib/fog/google/requests/monitoring/create_timeseries.rb +1 -1
- data/lib/fog/google/requests/monitoring/list_timeseries.rb +1 -1
- data/lib/fog/google/requests/pubsub/acknowledge_subscription.rb +1 -1
- data/lib/fog/google/requests/pubsub/create_subscription.rb +3 -3
- data/lib/fog/google/requests/sql/clone_instance.rb +4 -4
- data/lib/fog/google/requests/sql/delete_user.rb +1 -1
- data/lib/fog/google/requests/sql/export_instance.rb +3 -3
- data/lib/fog/google/requests/sql/import_instance.rb +2 -2
- data/lib/fog/google/requests/sql/insert_backup_run.rb +1 -1
- data/lib/fog/google/requests/sql/insert_instance.rb +2 -2
- data/lib/fog/google/requests/sql/insert_ssl_cert.rb +1 -1
- data/lib/fog/google/requests/sql/insert_user.rb +1 -1
- data/lib/fog/google/requests/sql/restore_instance_backup.rb +4 -4
- data/lib/fog/google/requests/sql/update_instance.rb +2 -2
- data/lib/fog/google/shared.rb +3 -3
- data/lib/fog/google/version.rb +1 -1
- data/lib/fog/storage/google_json/models/directories.rb +1 -1
- data/lib/fog/storage/google_json/models/directory.rb +1 -1
- data/lib/fog/storage/google_json/models/file.rb +1 -1
- data/lib/fog/storage/google_json/models/files.rb +1 -1
- data/lib/fog/storage/google_json/requests/copy_object.rb +12 -1
- data/lib/fog/storage/google_json/requests/get_object.rb +6 -3
- data/lib/fog/storage/google_json/requests/list_buckets.rb +4 -4
- data/lib/fog/storage/google_json/requests/list_objects.rb +1 -1
- data/lib/fog/storage/google_json/requests/put_bucket.rb +1 -1
- data/lib/fog/storage/google_json/requests/put_bucket_acl.rb +1 -1
- data/lib/fog/storage/google_json/requests/put_object.rb +1 -1
- data/lib/fog/storage/google_json/requests/put_object_acl.rb +1 -1
- data/lib/fog/storage/google_json/utils.rb +5 -1
- data/lib/fog/storage/google_xml/models/file.rb +2 -2
- data/tasks/changelog.rake +5 -3
- data/test/integration/monitoring/test_metric_descriptors.rb +1 -1
- data/test/integration/storage/storage_shared.rb +7 -2
- data/test/integration/storage/test_objects.rb +39 -1
- data/test/unit/storage/test_common_xml_collections.rb +11 -0
- data/test/unit/storage/test_json_requests.rb +8 -0
- metadata +14 -13
- data/.travis.yml +0 -16
@@ -15,16 +15,16 @@ module Fog
|
|
15
15
|
# @see https://cloud.google.com/compute/docs/reference/latest/routes/insert
|
16
16
|
def insert_route(route_name, network, dest_range, priority, options = {})
|
17
17
|
route = ::Google::Apis::ComputeV1::Route.new(
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
22
|
-
:
|
23
|
-
:
|
24
|
-
:
|
25
|
-
:
|
26
|
-
:
|
27
|
-
:
|
18
|
+
name: route_name,
|
19
|
+
network: network,
|
20
|
+
dest_range: dest_range,
|
21
|
+
priority: priority,
|
22
|
+
tags: options[:tags] || [],
|
23
|
+
next_hop_instance: options[:next_hop_instance],
|
24
|
+
next_hop_gateway: options[:next_hop_gateway],
|
25
|
+
next_hop_ip: options[:next_hop_ip],
|
26
|
+
next_hop_vpn_tunnel: options[:next_hop_vpn_tunnel],
|
27
|
+
description: options[:description]
|
28
28
|
)
|
29
29
|
|
30
30
|
@compute.insert_route(@project, route)
|
@@ -21,7 +21,7 @@ module Fog
|
|
21
21
|
|
22
22
|
disk_lst = disks.map do |d|
|
23
23
|
d = d.attached_disk_obj if d.is_a? Disk
|
24
|
-
::Google::Apis::ComputeV1::AttachedDisk.new(d)
|
24
|
+
::Google::Apis::ComputeV1::AttachedDisk.new(**d)
|
25
25
|
end
|
26
26
|
disk_lst.first.boot = true
|
27
27
|
disk_lst
|
@@ -32,7 +32,7 @@ module Fog
|
|
32
32
|
network_interfaces = [default_network_interface]
|
33
33
|
end
|
34
34
|
network_interfaces.map do |network|
|
35
|
-
::Google::Apis::ComputeV1::NetworkInterface.new(network)
|
35
|
+
::Google::Apis::ComputeV1::NetworkInterface.new(**network)
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
@@ -88,28 +88,32 @@ module Fog
|
|
88
88
|
# Optional subclassed attributes
|
89
89
|
if data[:guest_accelerators]
|
90
90
|
data[:guest_accelerators] = data[:guest_accelerators].map do |acc_config|
|
91
|
-
::Google::Apis::ComputeV1::AcceleratorConfig.new(acc_config)
|
91
|
+
::Google::Apis::ComputeV1::AcceleratorConfig.new(**acc_config)
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
95
|
if data[:metadata]
|
96
|
-
data[:metadata] = ::Google::Apis::ComputeV1::Metadata.new(options[:metadata])
|
96
|
+
data[:metadata] = ::Google::Apis::ComputeV1::Metadata.new(**options[:metadata])
|
97
97
|
end
|
98
98
|
|
99
99
|
if data[:scheduling]
|
100
|
-
data[:scheduling] = ::Google::Apis::ComputeV1::Scheduling.new(options[:scheduling])
|
100
|
+
data[:scheduling] = ::Google::Apis::ComputeV1::Scheduling.new(**options[:scheduling])
|
101
|
+
end
|
102
|
+
|
103
|
+
if data[:shielded_instance_config]
|
104
|
+
data[:shielded_instance_config] = ::Google::Apis::ComputeV1::ShieldedInstanceConfig.new(**options[:shielded_instance_config])
|
101
105
|
end
|
102
106
|
|
103
107
|
if data[:tags]
|
104
108
|
if options[:tags].is_a?(Array)
|
105
109
|
# Process classic tag notation, i.e. ["fog"]
|
106
|
-
data[:tags] = ::Google::Apis::ComputeV1::Tags.new(
|
110
|
+
data[:tags] = ::Google::Apis::ComputeV1::Tags.new(items: options[:tags])
|
107
111
|
else
|
108
|
-
data[:tags] = ::Google::Apis::ComputeV1::Tags.new(options[:tags])
|
112
|
+
data[:tags] = ::Google::Apis::ComputeV1::Tags.new(**options[:tags])
|
109
113
|
end
|
110
114
|
end
|
111
115
|
|
112
|
-
instance = ::Google::Apis::ComputeV1::Instance.new(data)
|
116
|
+
instance = ::Google::Apis::ComputeV1::Instance.new(**data)
|
113
117
|
@compute.insert_instance(@project, zone, instance)
|
114
118
|
end
|
115
119
|
end
|
@@ -14,10 +14,10 @@ module Fog
|
|
14
14
|
@compute.insert_ssl_certificate(
|
15
15
|
@project,
|
16
16
|
::Google::Apis::ComputeV1::SslCertificate.new(
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
17
|
+
certificate: certificate,
|
18
|
+
name: certificate_name,
|
19
|
+
private_key: private_key,
|
20
|
+
description: description
|
21
21
|
)
|
22
22
|
)
|
23
23
|
end
|
@@ -14,9 +14,9 @@ module Fog
|
|
14
14
|
@compute.insert_target_http_proxy(
|
15
15
|
@project,
|
16
16
|
::Google::Apis::ComputeV1::TargetHttpProxy.new(
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
17
|
+
name: proxy_name,
|
18
|
+
description: description,
|
19
|
+
url_map: url_map
|
20
20
|
)
|
21
21
|
)
|
22
22
|
end
|
@@ -16,10 +16,10 @@ module Fog
|
|
16
16
|
@compute.insert_target_https_proxy(
|
17
17
|
@project,
|
18
18
|
::Google::Apis::ComputeV1::TargetHttpsProxy.new(
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
22
|
-
:
|
19
|
+
name: proxy_name,
|
20
|
+
description: description,
|
21
|
+
url_map: url_map,
|
22
|
+
ssl_certificates: ssl_certificates
|
23
23
|
)
|
24
24
|
)
|
25
25
|
end
|
@@ -12,7 +12,7 @@ module Fog
|
|
12
12
|
class Real
|
13
13
|
def insert_target_pool(target_pool_name, region, target_pool = {})
|
14
14
|
pool_obj = ::Google::Apis::ComputeV1::TargetPool.new(
|
15
|
-
target_pool.merge(:
|
15
|
+
**target_pool.merge(name: target_pool_name)
|
16
16
|
)
|
17
17
|
@compute.insert_target_pool(@project, region.split("/")[-1], pool_obj)
|
18
18
|
end
|
@@ -16,7 +16,7 @@ module Fog
|
|
16
16
|
url_map[:tests] = url_map[:tests] || []
|
17
17
|
|
18
18
|
url_map_obj = ::Google::Apis::ComputeV1::UrlMap.new(
|
19
|
-
url_map.merge(:name => url_map_name)
|
19
|
+
**url_map.merge(:name => url_map_name)
|
20
20
|
)
|
21
21
|
# HACK: Currently URL map insert may fail even though the backend
|
22
22
|
# service operation is done. Retriable is not used to not add another
|
@@ -16,10 +16,10 @@ module Fog
|
|
16
16
|
order_by: nil, page_token: nil)
|
17
17
|
@compute.list_addresses(
|
18
18
|
@project, region_name,
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
22
|
-
:
|
19
|
+
filter: filter,
|
20
|
+
max_results: max_results,
|
21
|
+
order_by: order_by,
|
22
|
+
page_token: page_token
|
23
23
|
)
|
24
24
|
end
|
25
25
|
end
|
@@ -15,7 +15,7 @@ module Fog
|
|
15
15
|
# @param options [Hash] Optional hash of options
|
16
16
|
# @option options [String] :filter Filter expression for filtering listed resources
|
17
17
|
def list_aggregated_addresses(options = {})
|
18
|
-
@compute.list_aggregated_addresses(@project, options)
|
18
|
+
@compute.list_aggregated_addresses(@project, **options)
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
@@ -14,8 +14,8 @@ module Fog
|
|
14
14
|
order_by: nil, page_token: nil)
|
15
15
|
@compute.list_aggregated_disk_types(
|
16
16
|
@project,
|
17
|
-
:
|
18
|
-
:
|
17
|
+
filter: filter, max_results: max_results,
|
18
|
+
order_by: order_by, page_token: page_token
|
19
19
|
)
|
20
20
|
end
|
21
21
|
end
|
@@ -22,8 +22,8 @@ module Fog
|
|
22
22
|
order_by: nil, page_token: nil)
|
23
23
|
@compute.list_aggregated_disk(
|
24
24
|
@project,
|
25
|
-
:
|
26
|
-
:
|
25
|
+
filter: filter, max_results: max_results,
|
26
|
+
order_by: order_by, page_token: page_token
|
27
27
|
)
|
28
28
|
end
|
29
29
|
end
|
@@ -14,8 +14,8 @@ module Fog
|
|
14
14
|
order_by: nil, page_token: nil)
|
15
15
|
@compute.list_aggregated_forwarding_rules(
|
16
16
|
@project,
|
17
|
-
:
|
18
|
-
:
|
17
|
+
filter: filter, max_results: max_results,
|
18
|
+
order_by: order_by, page_token: page_token
|
19
19
|
)
|
20
20
|
end
|
21
21
|
end
|
@@ -14,10 +14,10 @@ module Fog
|
|
14
14
|
order_by: nil, page_token: nil)
|
15
15
|
@compute.list_aggregated_instance_group_managers(
|
16
16
|
@project,
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
17
|
+
filter: filter,
|
18
|
+
max_results: max_results,
|
19
|
+
order_by: order_by,
|
20
|
+
page_token: page_token
|
21
21
|
)
|
22
22
|
end
|
23
23
|
end
|
@@ -14,8 +14,8 @@ module Fog
|
|
14
14
|
page_token: nil, order_by: nil)
|
15
15
|
@compute.list_aggregated_machine_types(
|
16
16
|
@project,
|
17
|
-
:
|
18
|
-
:
|
17
|
+
filter: filter, max_results: max_results,
|
18
|
+
page_token: page_token, order_by: order_by
|
19
19
|
)
|
20
20
|
end
|
21
21
|
end
|
@@ -14,8 +14,8 @@ module Fog
|
|
14
14
|
order_by: nil, page_token: nil)
|
15
15
|
@compute.list_aggregated_instances(
|
16
16
|
@project,
|
17
|
-
:
|
18
|
-
:
|
17
|
+
filter: filter, max_results: max_results,
|
18
|
+
order_by: order_by, page_token: page_token
|
19
19
|
)
|
20
20
|
end
|
21
21
|
end
|
@@ -24,10 +24,10 @@ module Fog
|
|
24
24
|
page_token: nil, order_by: nil)
|
25
25
|
@compute.aggregated_subnetwork_list(
|
26
26
|
@project,
|
27
|
-
:
|
28
|
-
:
|
29
|
-
:
|
30
|
-
:
|
27
|
+
filter: filter,
|
28
|
+
max_results: max_results,
|
29
|
+
page_token: page_token,
|
30
|
+
order_by: order_by
|
31
31
|
)
|
32
32
|
end
|
33
33
|
end
|
@@ -14,10 +14,10 @@ module Fog
|
|
14
14
|
order_by: nil, page_token: nil)
|
15
15
|
@compute.list_aggregated_target_instance(
|
16
16
|
@project,
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
17
|
+
filter: filter,
|
18
|
+
max_results: max_results,
|
19
|
+
order_by: order_by,
|
20
|
+
page_token: page_token
|
21
21
|
)
|
22
22
|
end
|
23
23
|
end
|
@@ -14,10 +14,10 @@ module Fog
|
|
14
14
|
order_by: nil, page_token: nil)
|
15
15
|
@compute.list_aggregated_target_pools(
|
16
16
|
@project,
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
17
|
+
filter: filter,
|
18
|
+
max_results: max_results,
|
19
|
+
order_by: order_by,
|
20
|
+
page_token: page_token
|
21
21
|
)
|
22
22
|
end
|
23
23
|
end
|
@@ -14,8 +14,8 @@ module Fog
|
|
14
14
|
order_by: nil, page_token: nil)
|
15
15
|
@compute.list_disk_types(
|
16
16
|
@project, zone.split("/")[-1],
|
17
|
-
:
|
18
|
-
:
|
17
|
+
filter: filter, max_results: max_results,
|
18
|
+
order_by: order_by, page_token: page_token
|
19
19
|
)
|
20
20
|
end
|
21
21
|
end
|
@@ -18,8 +18,8 @@ module Fog
|
|
18
18
|
order_by: nil, page_token: nil)
|
19
19
|
@compute.list_disks(
|
20
20
|
@project, zone_name,
|
21
|
-
:
|
22
|
-
:
|
21
|
+
filter: filter, max_results: max_results,
|
22
|
+
order_by: order_by, page_token: page_token
|
23
23
|
)
|
24
24
|
end
|
25
25
|
end
|
@@ -13,10 +13,10 @@ module Fog
|
|
13
13
|
def list_firewalls(filter: nil, max_results: nil,
|
14
14
|
order_by: nil, page_token: nil)
|
15
15
|
@compute.list_firewalls(@project,
|
16
|
-
:
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
16
|
+
filter: filter,
|
17
|
+
max_results: max_results,
|
18
|
+
order_by: order_by,
|
19
|
+
page_token: page_token)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
@@ -15,8 +15,8 @@ module Fog
|
|
15
15
|
order_by: nil, page_token: nil)
|
16
16
|
@compute.list_forwarding_rules(
|
17
17
|
@project, region,
|
18
|
-
:
|
19
|
-
:
|
18
|
+
filter: filter, max_results: max_results,
|
19
|
+
order_by: order_by, page_token: page_token
|
20
20
|
)
|
21
21
|
end
|
22
22
|
end
|
@@ -12,13 +12,13 @@ module Fog
|
|
12
12
|
class Real
|
13
13
|
# List address resources in the specified project
|
14
14
|
# @see https://cloud.google.com/compute/docs/reference/latest/globalAddresses
|
15
|
-
|
15
|
+
def list_global_addresses(filter: nil, max_results: nil, order_by: nil,
|
16
16
|
page_token: nil)
|
17
17
|
@compute.list_global_addresses(@project,
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
18
|
+
filter: filter,
|
19
|
+
max_results: max_results,
|
20
|
+
order_by: order_by,
|
21
|
+
page_token: page_token)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
@@ -14,8 +14,8 @@ module Fog
|
|
14
14
|
order_by: nil, page_token: nil)
|
15
15
|
@compute.list_global_forwarding_rules(
|
16
16
|
@project,
|
17
|
-
:
|
18
|
-
:
|
17
|
+
filter: filter, max_results: max_results,
|
18
|
+
order_by: order_by, page_token: page_token
|
19
19
|
)
|
20
20
|
end
|
21
21
|
end
|
@@ -15,10 +15,10 @@ module Fog
|
|
15
15
|
order_by: nil, page_token: nil)
|
16
16
|
@compute.list_global_operations(
|
17
17
|
@project,
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
18
|
+
filter: filter,
|
19
|
+
max_results: max_results,
|
20
|
+
order_by: order_by,
|
21
|
+
page_token: page_token
|
22
22
|
)
|
23
23
|
end
|
24
24
|
end
|