google-cloud-compute-v1 0.3.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +4 -24
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +8 -44
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +85 -42
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +91 -66
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +8335 -7443
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +4 -24
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +12 -60
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +13 -63
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +6 -32
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +9 -49
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +7 -33
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +8 -44
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +6 -30
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +2 -12
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +8 -44
- data/lib/google/cloud/compute/v1/image_family_views/credentials.rb +53 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +318 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +89 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/image_family_views.rb +44 -0
- data/lib/google/cloud/compute/v1/images/rest/client.rb +7 -35
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +30 -150
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +16 -72
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +272 -197
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +134 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +2 -12
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +11 -29
- data/lib/google/cloud/compute/v1/machine_images/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +777 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +363 -0
- data/lib/google/cloud/compute/v1/machine_images/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/machine_images.rb +44 -0
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +4 -24
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +10 -56
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +14 -61
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +12 -66
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +4 -24
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +15 -71
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +6 -32
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +9 -35
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +88 -30
- data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +48 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +2 -12
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +10 -48
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +6 -32
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +27 -133
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +5 -29
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +1 -5
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +3 -17
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +6 -32
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +2 -12
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +4 -14
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +89 -39
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +48 -0
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +10 -56
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/service_attachments/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +954 -0
- data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +458 -0
- data/lib/google/cloud/compute/v1/service_attachments/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/service_attachments.rb +44 -0
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +79 -20
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +11 -61
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +9 -45
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +12 -60
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +11 -59
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +8 -42
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +6 -32
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +10 -52
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +3 -17
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +2 -12
- data/lib/google/cloud/compute/v1.rb +3 -0
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/api/field_behavior.rb +6 -0
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/compute/v1/compute.rb +20013 -21099
- data/proto_docs/google/cloud/extended_operations.rb +51 -0
- metadata +34 -4
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
# An enum to be used to mark the essential (for polling) fields in an
|
23
|
+
# API-specific Operation object. A custom Operation object may contain many
|
24
|
+
# different fields, but only few of them are essential to conduct a successful
|
25
|
+
# polling process.
|
26
|
+
module OperationResponseMapping
|
27
|
+
# Do not use.
|
28
|
+
UNDEFINED = 0
|
29
|
+
|
30
|
+
# A field in an API-specific (custom) Operation object which carries the same
|
31
|
+
# meaning as google.longrunning.Operation.name.
|
32
|
+
NAME = 1
|
33
|
+
|
34
|
+
# A field in an API-specific (custom) Operation object which carries the same
|
35
|
+
# meaning as google.longrunning.Operation.done. If the annotated field is of
|
36
|
+
# an enum type, `annotated_field_name == EnumType.DONE` semantics should be
|
37
|
+
# equivalent to `Operation.done == true`. If the annotated field is of type
|
38
|
+
# boolean, then it should follow the same semantics as Operation.done.
|
39
|
+
# Otherwise, a non-empty value should be treated as `Operation.done == true`.
|
40
|
+
STATUS = 2
|
41
|
+
|
42
|
+
# A field in an API-specific (custom) Operation object which carries the same
|
43
|
+
# meaning as google.longrunning.Operation.error.code.
|
44
|
+
ERROR_CODE = 3
|
45
|
+
|
46
|
+
# A field in an API-specific (custom) Operation object which carries the same
|
47
|
+
# meaning as google.longrunning.Operation.error.message.
|
48
|
+
ERROR_MESSAGE = 4
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-compute-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -30,6 +30,20 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: google-cloud-common
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.0'
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
48
|
name: google-cloud-errors
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -278,6 +292,11 @@ files:
|
|
278
292
|
- lib/google/cloud/compute/v1/health_checks/rest/client.rb
|
279
293
|
- lib/google/cloud/compute/v1/health_checks/rest/grpc_transcoding.rb
|
280
294
|
- lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb
|
295
|
+
- lib/google/cloud/compute/v1/image_family_views.rb
|
296
|
+
- lib/google/cloud/compute/v1/image_family_views/credentials.rb
|
297
|
+
- lib/google/cloud/compute/v1/image_family_views/rest.rb
|
298
|
+
- lib/google/cloud/compute/v1/image_family_views/rest/client.rb
|
299
|
+
- lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb
|
281
300
|
- lib/google/cloud/compute/v1/images.rb
|
282
301
|
- lib/google/cloud/compute/v1/images/credentials.rb
|
283
302
|
- lib/google/cloud/compute/v1/images/rest.rb
|
@@ -338,6 +357,11 @@ files:
|
|
338
357
|
- lib/google/cloud/compute/v1/licenses/rest/client.rb
|
339
358
|
- lib/google/cloud/compute/v1/licenses/rest/grpc_transcoding.rb
|
340
359
|
- lib/google/cloud/compute/v1/licenses/rest/service_stub.rb
|
360
|
+
- lib/google/cloud/compute/v1/machine_images.rb
|
361
|
+
- lib/google/cloud/compute/v1/machine_images/credentials.rb
|
362
|
+
- lib/google/cloud/compute/v1/machine_images/rest.rb
|
363
|
+
- lib/google/cloud/compute/v1/machine_images/rest/client.rb
|
364
|
+
- lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb
|
341
365
|
- lib/google/cloud/compute/v1/machine_types.rb
|
342
366
|
- lib/google/cloud/compute/v1/machine_types/credentials.rb
|
343
367
|
- lib/google/cloud/compute/v1/machine_types/rest.rb
|
@@ -536,6 +560,11 @@ files:
|
|
536
560
|
- lib/google/cloud/compute/v1/security_policies/rest/client.rb
|
537
561
|
- lib/google/cloud/compute/v1/security_policies/rest/grpc_transcoding.rb
|
538
562
|
- lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb
|
563
|
+
- lib/google/cloud/compute/v1/service_attachments.rb
|
564
|
+
- lib/google/cloud/compute/v1/service_attachments/credentials.rb
|
565
|
+
- lib/google/cloud/compute/v1/service_attachments/rest.rb
|
566
|
+
- lib/google/cloud/compute/v1/service_attachments/rest/client.rb
|
567
|
+
- lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb
|
539
568
|
- lib/google/cloud/compute/v1/snapshots.rb
|
540
569
|
- lib/google/cloud/compute/v1/snapshots/credentials.rb
|
541
570
|
- lib/google/cloud/compute/v1/snapshots/rest.rb
|
@@ -643,6 +672,7 @@ files:
|
|
643
672
|
- proto_docs/google/api/field_behavior.rb
|
644
673
|
- proto_docs/google/api/resource.rb
|
645
674
|
- proto_docs/google/cloud/compute/v1/compute.rb
|
675
|
+
- proto_docs/google/cloud/extended_operations.rb
|
646
676
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
647
677
|
licenses:
|
648
678
|
- Apache-2.0
|
@@ -662,8 +692,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
662
692
|
- !ruby/object:Gem::Version
|
663
693
|
version: '0'
|
664
694
|
requirements: []
|
665
|
-
rubygems_version: 3.
|
695
|
+
rubygems_version: 3.3.5
|
666
696
|
signing_key:
|
667
697
|
specification_version: 4
|
668
|
-
summary: API Client library for the Google Cloud Compute V1
|
698
|
+
summary: API Client library for the Google Cloud Compute V1 API
|
669
699
|
test_files: []
|