feat: Automated regeneration of compute alpha client (#2453)

This PR was generated using Autosynth. 🌈


<details><summary>Log from Synthtool</summary>

```
2021-01-21 02:05:18,893 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-compute-alpha
nothing to commit, working tree clean
2021-01-21 02:05:18,967 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth compute alpha
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth compute alpha
git clean -df
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.8
Fetching minitest 5.14.3
Fetching zeitwerk 2.4.2
Fetching public_suffix 4.0.6
Installing minitest 5.14.3
Installing zeitwerk 2.4.2
Installing public_suffix 4.0.6
Installing concurrent-ruby 1.1.8
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.2.6
Fetching byebug 11.1.3
Fetching coderay 1.1.3
Installing byebug 11.1.3 with native extensions
Installing coderay 1.1.3
Fetching json 2.5.1
Installing json 2.5.1 with native extensions
Fetching docile 1.3.5
Installing docile 1.3.5
Fetching simplecov-html 0.10.2
Using sync 0.5.0
Fetching thor 1.1.0
Installing simplecov-html 0.10.2
Installing thor 1.1.0
Fetching rexml 3.2.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Installing rexml 3.2.4
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Installing diff-lcs 1.4.4
Fetching fakefs 0.20.1
Fetching faraday-net_http 1.0.1
Installing fakefs 0.20.1
Installing faraday-net_http 1.0.1
Fetching multipart-post 2.1.1
Fetching ruby2_keywords 0.0.4
Installing ruby2_keywords 0.0.4
Fetching gems 1.2.0
Installing multipart-post 2.1.1
Installing gems 1.2.0
Fetching github-markup 1.7.0
Fetching jwt 2.2.2
Installing github-markup 1.7.0
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing httpclient 2.8.3
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Fetching multi_xml 0.6.0
Installing mime-types-data 3.2020.1104
Installing multi_xml 0.6.0
Fetching rspec-support 3.10.1
Installing rspec-support 3.10.1
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.1
Installing parallel 1.20.1
Fetching powerpack 0.1.3
Fetching yard 0.9.26
Installing powerpack 0.1.3
Installing yard 0.9.26
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.1
Installing redcarpet 3.5.1 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.11.0
Installing ruby-progressbar 1.11.0
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching parser 2.7.2.0
Fetching addressable 2.7.0
Installing addressable 2.7.0
Installing parser 2.7.2.0
Fetching i18n 1.8.7
Installing i18n 1.8.7
Fetching tzinfo 2.0.4
Fetching tins 1.28.0
Installing tzinfo 2.0.4
Fetching crack 0.4.5
Installing crack 0.4.5
Installing tins 1.28.0
Fetching faraday 1.3.0
Installing faraday 1.3.0
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching pry 0.13.1
Fetching rspec-core 3.10.1
Installing pry 0.13.1
Installing rspec-core 3.10.1
Fetching rspec-expectations 3.10.1
Installing rspec-expectations 3.10.1
Fetching simplecov 0.16.1
Fetching rspec-mocks 3.10.1
Installing simplecov 0.16.1
Installing rspec-mocks 3.10.1
Fetching launchy 2.5.0
Fetching rubocop 0.49.1
Installing launchy 2.5.0
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Fetching activesupport 6.1.1
Fetching signet 0.14.0
Installing activesupport 6.1.1
Installing signet 0.14.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching term-ansicolor 1.7.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Installing term-ansicolor 1.7.1
Fetching pry-doc 0.13.5
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching json_spec 1.1.5
Installing pry-doc 0.13.5
Installing json_spec 1.1.5
Fetching google-apis-core 0.2.0
Installing google-apis-core 0.2.0
Fetching google-apis-discovery_v1 0.1.0
Installing google-apis-discovery_v1 0.1.0
Using google-apis-generator 0.1.2 from source at `.`
Bundle complete! 25 Gemfile dependencies, 81 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:

HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.

If you are upgrading your Rails application from an older version of Rails:

Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.

If you are starting a NEW Rails application, you can ignore this notice.

For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0

Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen /workspace/generated --api=compute.alpha --names=/workspace/api_names.yaml --names-out=/workspace/api_names_out.yaml --spot-check
Loading compute, version alpha from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/compute.alpha.json
W, [2021-01-21T10:05:40.962372 #225]  WARN -- : Found reserved property 'methods'
W, [2021-01-21T10:05:40.962457 #225]  WARN -- : Changed to 'methods_prop'
    conflict  google-apis-compute_alpha/lib/google/apis/compute_alpha/classes.rb
<e_alpha/classes.rb? (enter "h" for help) [Ynaqdhm] a
       force  google-apis-compute_alpha/lib/google/apis/compute_alpha/classes.rb
    conflict  google-apis-compute_alpha/lib/google/apis/compute_alpha/representations.rb
       force  google-apis-compute_alpha/lib/google/apis/compute_alpha/representations.rb
    conflict  google-apis-compute_alpha/lib/google/apis/compute_alpha/service.rb
       force  google-apis-compute_alpha/lib/google/apis/compute_alpha/service.rb
    conflict  google-apis-compute_alpha/lib/google/apis/compute_alpha/gem_version.rb
       force  google-apis-compute_alpha/lib/google/apis/compute_alpha/gem_version.rb
    conflict  google-apis-compute_alpha/CHANGELOG.md
       force  google-apis-compute_alpha/CHANGELOG.md
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Using rake 13.0.3
Using public_suffix 4.0.6
Using bundler 2.2.6
Using declarative 0.0.20
Using declarative-option 0.1.0
Using diff-lcs 1.4.4
Using faraday-net_http 1.0.1
Using multipart-post 2.1.1
Using ruby2_keywords 0.0.4
Using jwt 2.2.2
Using memoist 0.16.2
Using multi_json 1.15.0
Using httpclient 2.8.3
Using mini_mime 1.0.2
Using uber 0.1.0
Using retriable 3.1.2
Using rexml 3.2.4
Fetching os 1.1.1
Using opencensus 0.5.0
Using redcarpet 3.5.1
Using rspec-support 3.10.1
Using yard 0.9.26
Using addressable 2.7.0
Using faraday 1.3.0
Using representable 3.0.4
Using rspec-core 3.10.1
Using rspec-expectations 3.10.1
Using rspec-mocks 3.10.1
Using signet 0.14.0
Using rspec 3.10.0
Installing os 1.1.1
Using googleauth 0.14.0
Using google-apis-core 0.2.0
Using google-apis-compute_alpha 0.2.0 from source at `.`
Bundle complete! 8 Gemfile dependencies, 33 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
/root/.rbenv/versions/2.6.6/bin/ruby -I/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/lib:/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-support-3.10.1/lib /root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb

Google::Apis::ComputeAlpha
  should load

Finished in 0.88293 seconds (files took 0.11061 seconds to load)
1 example, 0 failures

Files:           4
Modules:         3 (    1 undocumented)
Classes:       941 (  449 undocumented)
Constants:      10 (    0 undocumented)
Attributes:   1142 (    0 undocumented)
Methods:      2610 (    0 undocumented)
 90.44% documented
google-apis-compute_alpha 0.2.0 built to pkg/google-apis-compute_alpha-0.2.0.gem.
    conflict  /workspace/api_names_out.yaml
       force  /workspace/api_names_out.yaml
2021-01-21 02:08:33,054 synthtool [DEBUG] > Wrote metadata to generated/google-apis-compute_alpha/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google-apis-compute_alpha/synth.metadata.

```
</details>

Full log will be available here:
https://source.cloud.google.com/results/invocations/d1a977ae-86ff-41c3-afb0-6f2a713bfd4c/targets

- [ ] To automatically regenerate this PR, check this box.
This commit is contained in:
Yoshi Automation Bot 2021-01-21 02:26:05 -08:00 committed by GitHub
parent 830fa81c75
commit 7234254ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 374 additions and 34 deletions

View File

@ -30090,6 +30090,9 @@
"/compute:alpha/AllocationsUpdateResourceShapeRequest/count": count "/compute:alpha/AllocationsUpdateResourceShapeRequest/count": count
"/compute:alpha/AllocationsUpdateResourceShapeRequest/destinationAllocation": destination_allocation "/compute:alpha/AllocationsUpdateResourceShapeRequest/destinationAllocation": destination_allocation
"/compute:alpha/AllocationsUpdateResourceShapeRequest/updatedResourceProperties": updated_resource_properties "/compute:alpha/AllocationsUpdateResourceShapeRequest/updatedResourceProperties": updated_resource_properties
"/compute:alpha/Any": any
"/compute:alpha/Any/typeUrl": type_url
"/compute:alpha/Any/value": value
"/compute:alpha/AttachedDisk": attached_disk "/compute:alpha/AttachedDisk": attached_disk
"/compute:alpha/AttachedDisk/autoDelete": auto_delete "/compute:alpha/AttachedDisk/autoDelete": auto_delete
"/compute:alpha/AttachedDisk/boot": boot "/compute:alpha/AttachedDisk/boot": boot
@ -30355,6 +30358,7 @@
"/compute:alpha/BackendService/loadBalancingScheme": load_balancing_scheme "/compute:alpha/BackendService/loadBalancingScheme": load_balancing_scheme
"/compute:alpha/BackendService/localityLbPolicy": locality_lb_policy "/compute:alpha/BackendService/localityLbPolicy": locality_lb_policy
"/compute:alpha/BackendService/logConfig": log_config "/compute:alpha/BackendService/logConfig": log_config
"/compute:alpha/BackendService/maxStreamDuration": max_stream_duration
"/compute:alpha/BackendService/name": name "/compute:alpha/BackendService/name": name
"/compute:alpha/BackendService/network": network "/compute:alpha/BackendService/network": network
"/compute:alpha/BackendService/outlierDetection": outlier_detection "/compute:alpha/BackendService/outlierDetection": outlier_detection
@ -30417,6 +30421,8 @@
"/compute:alpha/BackendServiceCloudFunctionBackend/targetProject": target_project "/compute:alpha/BackendServiceCloudFunctionBackend/targetProject": target_project
"/compute:alpha/BackendServiceConnectionTrackingPolicy": backend_service_connection_tracking_policy "/compute:alpha/BackendServiceConnectionTrackingPolicy": backend_service_connection_tracking_policy
"/compute:alpha/BackendServiceConnectionTrackingPolicy/connectionPersistenceOnUnhealthyBackends": connection_persistence_on_unhealthy_backends "/compute:alpha/BackendServiceConnectionTrackingPolicy/connectionPersistenceOnUnhealthyBackends": connection_persistence_on_unhealthy_backends
"/compute:alpha/BackendServiceConnectionTrackingPolicy/idleTimeoutSec": idle_timeout_sec
"/compute:alpha/BackendServiceConnectionTrackingPolicy/trackingMode": tracking_mode
"/compute:alpha/BackendServiceFailoverPolicy": backend_service_failover_policy "/compute:alpha/BackendServiceFailoverPolicy": backend_service_failover_policy
"/compute:alpha/BackendServiceFailoverPolicy/disableConnectionDrainOnFailover": disable_connection_drain_on_failover "/compute:alpha/BackendServiceFailoverPolicy/disableConnectionDrainOnFailover": disable_connection_drain_on_failover
"/compute:alpha/BackendServiceFailoverPolicy/dropTrafficIfUnhealthy": drop_traffic_if_unhealthy "/compute:alpha/BackendServiceFailoverPolicy/dropTrafficIfUnhealthy": drop_traffic_if_unhealthy
@ -30518,9 +30524,13 @@
"/compute:alpha/BulkInsertInstanceResource/locationPolicy": location_policy "/compute:alpha/BulkInsertInstanceResource/locationPolicy": location_policy
"/compute:alpha/BulkInsertInstanceResource/minCount": min_count "/compute:alpha/BulkInsertInstanceResource/minCount": min_count
"/compute:alpha/BulkInsertInstanceResource/namePattern": name_pattern "/compute:alpha/BulkInsertInstanceResource/namePattern": name_pattern
"/compute:alpha/BulkInsertInstanceResource/perInstanceProperties": per_instance_properties
"/compute:alpha/BulkInsertInstanceResource/perInstanceProperties/per_instance_property": per_instance_property
"/compute:alpha/BulkInsertInstanceResource/predefinedNames": predefined_names "/compute:alpha/BulkInsertInstanceResource/predefinedNames": predefined_names
"/compute:alpha/BulkInsertInstanceResource/predefinedNames/predefined_name": predefined_name "/compute:alpha/BulkInsertInstanceResource/predefinedNames/predefined_name": predefined_name
"/compute:alpha/BulkInsertInstanceResource/sourceInstanceTemplate": source_instance_template "/compute:alpha/BulkInsertInstanceResource/sourceInstanceTemplate": source_instance_template
"/compute:alpha/BulkInsertInstanceResourcePerInstanceProperties": bulk_insert_instance_resource_per_instance_properties
"/compute:alpha/BulkInsertInstanceResourcePerInstanceProperties/name": name
"/compute:alpha/CacheInvalidationRule": cache_invalidation_rule "/compute:alpha/CacheInvalidationRule": cache_invalidation_rule
"/compute:alpha/CacheInvalidationRule/host": host "/compute:alpha/CacheInvalidationRule/host": host
"/compute:alpha/CacheInvalidationRule/path": path "/compute:alpha/CacheInvalidationRule/path": path
@ -30688,6 +30698,7 @@
"/compute:alpha/Disk/licenseCodes/license_code": license_code "/compute:alpha/Disk/licenseCodes/license_code": license_code
"/compute:alpha/Disk/licenses": licenses "/compute:alpha/Disk/licenses": licenses
"/compute:alpha/Disk/licenses/license": license "/compute:alpha/Disk/licenses/license": license
"/compute:alpha/Disk/locationHint": location_hint
"/compute:alpha/Disk/multiWriter": multi_writer "/compute:alpha/Disk/multiWriter": multi_writer
"/compute:alpha/Disk/name": name "/compute:alpha/Disk/name": name
"/compute:alpha/Disk/options": options "/compute:alpha/Disk/options": options
@ -31483,6 +31494,7 @@
"/compute:alpha/HttpRouteAction": http_route_action "/compute:alpha/HttpRouteAction": http_route_action
"/compute:alpha/HttpRouteAction/corsPolicy": cors_policy "/compute:alpha/HttpRouteAction/corsPolicy": cors_policy
"/compute:alpha/HttpRouteAction/faultInjectionPolicy": fault_injection_policy "/compute:alpha/HttpRouteAction/faultInjectionPolicy": fault_injection_policy
"/compute:alpha/HttpRouteAction/maxStreamDuration": max_stream_duration
"/compute:alpha/HttpRouteAction/requestMirrorPolicy": request_mirror_policy "/compute:alpha/HttpRouteAction/requestMirrorPolicy": request_mirror_policy
"/compute:alpha/HttpRouteAction/retryPolicy": retry_policy "/compute:alpha/HttpRouteAction/retryPolicy": retry_policy
"/compute:alpha/HttpRouteAction/timeout": timeout "/compute:alpha/HttpRouteAction/timeout": timeout
@ -31566,6 +31578,7 @@
"/compute:alpha/Image/rawDisk/containerType": container_type "/compute:alpha/Image/rawDisk/containerType": container_type
"/compute:alpha/Image/rawDisk/sha1Checksum": sha1_checksum "/compute:alpha/Image/rawDisk/sha1Checksum": sha1_checksum
"/compute:alpha/Image/rawDisk/source": source "/compute:alpha/Image/rawDisk/source": source
"/compute:alpha/Image/satisfiesPzs": satisfies_pzs
"/compute:alpha/Image/selfLink": self_link "/compute:alpha/Image/selfLink": self_link
"/compute:alpha/Image/selfLinkWithId": self_link_with_id "/compute:alpha/Image/selfLinkWithId": self_link_with_id
"/compute:alpha/Image/shieldedInstanceInitialState": shielded_instance_initial_state "/compute:alpha/Image/shieldedInstanceInitialState": shielded_instance_initial_state
@ -32179,6 +32192,7 @@
"/compute:alpha/InstantSnapshot/labels/label": label "/compute:alpha/InstantSnapshot/labels/label": label
"/compute:alpha/InstantSnapshot/name": name "/compute:alpha/InstantSnapshot/name": name
"/compute:alpha/InstantSnapshot/region": region "/compute:alpha/InstantSnapshot/region": region
"/compute:alpha/InstantSnapshot/satisfiesPzs": satisfies_pzs
"/compute:alpha/InstantSnapshot/selfLink": self_link "/compute:alpha/InstantSnapshot/selfLink": self_link
"/compute:alpha/InstantSnapshot/selfLinkWithId": self_link_with_id "/compute:alpha/InstantSnapshot/selfLinkWithId": self_link_with_id
"/compute:alpha/InstantSnapshot/sourceDisk": source_disk "/compute:alpha/InstantSnapshot/sourceDisk": source_disk
@ -32543,6 +32557,7 @@
"/compute:alpha/MachineImage/kind": kind "/compute:alpha/MachineImage/kind": kind
"/compute:alpha/MachineImage/machineImageEncryptionKey": machine_image_encryption_key "/compute:alpha/MachineImage/machineImageEncryptionKey": machine_image_encryption_key
"/compute:alpha/MachineImage/name": name "/compute:alpha/MachineImage/name": name
"/compute:alpha/MachineImage/satisfiesPzs": satisfies_pzs
"/compute:alpha/MachineImage/selfLink": self_link "/compute:alpha/MachineImage/selfLink": self_link
"/compute:alpha/MachineImage/selfLinkWithId": self_link_with_id "/compute:alpha/MachineImage/selfLinkWithId": self_link_with_id
"/compute:alpha/MachineImage/sourceDiskEncryptionKeys": source_disk_encryption_keys "/compute:alpha/MachineImage/sourceDiskEncryptionKeys": source_disk_encryption_keys
@ -33229,6 +33244,7 @@
"/compute:alpha/Operation/id": id "/compute:alpha/Operation/id": id
"/compute:alpha/Operation/insertTime": insert_time "/compute:alpha/Operation/insertTime": insert_time
"/compute:alpha/Operation/kind": kind "/compute:alpha/Operation/kind": kind
"/compute:alpha/Operation/metadata": metadata
"/compute:alpha/Operation/name": name "/compute:alpha/Operation/name": name
"/compute:alpha/Operation/operationType": operation_type "/compute:alpha/Operation/operationType": operation_type
"/compute:alpha/Operation/progress": progress "/compute:alpha/Operation/progress": progress
@ -34437,6 +34453,7 @@
"/compute:alpha/SecurityPolicyRule/preview": preview "/compute:alpha/SecurityPolicyRule/preview": preview
"/compute:alpha/SecurityPolicyRule/priority": priority "/compute:alpha/SecurityPolicyRule/priority": priority
"/compute:alpha/SecurityPolicyRule/rateLimitOptions": rate_limit_options "/compute:alpha/SecurityPolicyRule/rateLimitOptions": rate_limit_options
"/compute:alpha/SecurityPolicyRule/redirectTarget": redirect_target
"/compute:alpha/SecurityPolicyRule/ruleNumber": rule_number "/compute:alpha/SecurityPolicyRule/ruleNumber": rule_number
"/compute:alpha/SecurityPolicyRule/ruleTupleCount": rule_tuple_count "/compute:alpha/SecurityPolicyRule/ruleTupleCount": rule_tuple_count
"/compute:alpha/SecurityPolicyRule/targetResources": target_resources "/compute:alpha/SecurityPolicyRule/targetResources": target_resources
@ -34519,6 +34536,7 @@
"/compute:alpha/ServiceAttachment/consumerForwardingRules/consumer_forwarding_rule": consumer_forwarding_rule "/compute:alpha/ServiceAttachment/consumerForwardingRules/consumer_forwarding_rule": consumer_forwarding_rule
"/compute:alpha/ServiceAttachment/creationTimestamp": creation_timestamp "/compute:alpha/ServiceAttachment/creationTimestamp": creation_timestamp
"/compute:alpha/ServiceAttachment/description": description "/compute:alpha/ServiceAttachment/description": description
"/compute:alpha/ServiceAttachment/enableProxyProtocol": enable_proxy_protocol
"/compute:alpha/ServiceAttachment/id": id "/compute:alpha/ServiceAttachment/id": id
"/compute:alpha/ServiceAttachment/kind": kind "/compute:alpha/ServiceAttachment/kind": kind
"/compute:alpha/ServiceAttachment/name": name "/compute:alpha/ServiceAttachment/name": name
@ -34594,6 +34612,7 @@
"/compute:alpha/Snapshot/licenseCodes/license_code": license_code "/compute:alpha/Snapshot/licenseCodes/license_code": license_code
"/compute:alpha/Snapshot/licenses": licenses "/compute:alpha/Snapshot/licenses": licenses
"/compute:alpha/Snapshot/licenses/license": license "/compute:alpha/Snapshot/licenses/license": license
"/compute:alpha/Snapshot/locationHint": location_hint
"/compute:alpha/Snapshot/name": name "/compute:alpha/Snapshot/name": name
"/compute:alpha/Snapshot/satisfiesPhysicalZoneSeparation": satisfies_physical_zone_separation "/compute:alpha/Snapshot/satisfiesPhysicalZoneSeparation": satisfies_physical_zone_separation
"/compute:alpha/Snapshot/satisfiesPzs": satisfies_pzs "/compute:alpha/Snapshot/satisfiesPzs": satisfies_pzs
@ -35312,8 +35331,12 @@
"/compute:alpha/UDPHealthCheck/response": response "/compute:alpha/UDPHealthCheck/response": response
"/compute:alpha/UpcomingMaintenance": upcoming_maintenance "/compute:alpha/UpcomingMaintenance": upcoming_maintenance
"/compute:alpha/UpcomingMaintenance/date": date "/compute:alpha/UpcomingMaintenance/date": date
"/compute:alpha/UpcomingMaintenance/startTimeWindow": start_time_window
"/compute:alpha/UpcomingMaintenance/time": time "/compute:alpha/UpcomingMaintenance/time": time
"/compute:alpha/UpcomingMaintenance/type": type "/compute:alpha/UpcomingMaintenance/type": type
"/compute:alpha/UpcomingMaintenanceTimeWindow": upcoming_maintenance_time_window
"/compute:alpha/UpcomingMaintenanceTimeWindow/earliest": earliest
"/compute:alpha/UpcomingMaintenanceTimeWindow/latest": latest
"/compute:alpha/UrlMap": url_map "/compute:alpha/UrlMap": url_map
"/compute:alpha/UrlMap/creationTimestamp": creation_timestamp "/compute:alpha/UrlMap/creationTimestamp": creation_timestamp
"/compute:alpha/UrlMap/defaultRouteAction": default_route_action "/compute:alpha/UrlMap/defaultRouteAction": default_route_action

View File

@ -1,5 +1,10 @@
# Release history for google-apis-compute_alpha # Release history for google-apis-compute_alpha
### v0.2.0 (2021-01-21)
* Regenerated from discovery document revision 20201213
* Regenerated using generator version 0.1.2
### v0.1.0 (2021-01-07) ### v0.1.0 (2021-01-07)
* Regenerated using generator version 0.1.1 * Regenerated using generator version 0.1.1

View File

@ -1291,6 +1291,80 @@ module Google
end end
end end
# `Any` contains an arbitrary serialized protocol buffer message along with a
# URL that describes the type of the serialized message.
# Protobuf library provides support to pack/unpack Any values in the form of
# utility functions or additional generated methods of the Any type.
# Example 1: Pack and unpack a message in C++.
# Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) ` ... `
# Example 2: Pack and unpack a message in Java.
# Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) ` foo = any.
# unpack(Foo.class); `
# Example 3: Pack and unpack a message in Python.
# foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.
# Unpack(foo) ...
# Example 4: Pack and unpack a message in Go
# foo := &pb.Foo`...` any, err := anypb.New(foo) if err != nil ` ... ` ... foo :=
# &pb.Foo`` if err := any.UnmarshalTo(foo); err != nil ` ... `
# The pack methods provided by protobuf library will by default use 'type.
# googleapis.com/full.type.name' as the type URL and the unpack methods only use
# the fully qualified type name after the last '/' in the type URL, for example "
# foo.bar.com/x/y.z" will yield type name "y.z".
# JSON ==== The JSON representation of an `Any` value uses the regular
# representation of the deserialized, embedded message, with an additional field
# `@type` which contains the type URL. Example:
# package google.profile; message Person ` string first_name = 1; string
# last_name = 2; `
# ` "@type": "type.googleapis.com/google.profile.Person", "firstName": , "
# lastName": `
# If the embedded message type is well-known and has a custom JSON
# representation, that representation will be embedded adding a field `value`
# which holds the custom JSON in addition to the `@type` field. Example (for
# message [google.protobuf.Duration][]):
# ` "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" `
class Any
include Google::Apis::Core::Hashable
# A URL/resource name that uniquely identifies the type of the serialized
# protocol buffer message. This string must contain at least one "/" character.
# The last segment of the URL's path must represent the fully qualified name of
# the type (as in `path/google.protobuf.Duration`). The name should be in a
# canonical form (e.g., leading "." is not accepted).
# In practice, teams usually precompile into the binary all types that they
# expect it to use in the context of Any. However, for URLs which use the scheme
# `http`, `https`, or no scheme, one can optionally set up a type server that
# maps type URLs to message definitions as follows:
# * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must
# yield a [google.protobuf.Type][] value in binary format, or produce an error. *
# Applications are allowed to cache lookup results based on the URL, or have
# them precompiled into a binary to avoid any lookup. Therefore, binary
# compatibility needs to be preserved on changes to types. (Use versioned type
# names to manage breaking changes.)
# Note: this functionality is not currently available in the official protobuf
# release, and it is not used for type URLs beginning with type.googleapis.com.
# Schemes other than `http`, `https` (or the empty scheme) might be used with
# implementation specific semantics.
# Corresponds to the JSON property `typeUrl`
# @return [String]
attr_accessor :type_url
# Must be a valid serialized protocol buffer of the above specified type.
# Corresponds to the JSON property `value`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@type_url = args[:type_url] if args.key?(:type_url)
@value = args[:value] if args.key?(:value)
end
end
# An instance-attached disk resource. # An instance-attached disk resource.
class AttachedDisk class AttachedDisk
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3485,6 +3559,14 @@ module Google
# @return [Google::Apis::ComputeAlpha::BackendServiceLogConfig] # @return [Google::Apis::ComputeAlpha::BackendServiceLogConfig]
attr_accessor :log_config attr_accessor :log_config
# A Duration represents a fixed-length span of time represented as a count of
# seconds and fractions of seconds at nanosecond resolution. It is independent
# of any calendar and concepts like "day" or "month". Range is approximately 10,
# 000 years.
# Corresponds to the JSON property `maxStreamDuration`
# @return [Google::Apis::ComputeAlpha::Duration]
attr_accessor :max_stream_duration
# Name of the resource. Provided by the client when the resource is created. The # Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression `[a-z]([-a- # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@ -3624,6 +3706,7 @@ module Google
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme) @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
@locality_lb_policy = args[:locality_lb_policy] if args.key?(:locality_lb_policy) @locality_lb_policy = args[:locality_lb_policy] if args.key?(:locality_lb_policy)
@log_config = args[:log_config] if args.key?(:log_config) @log_config = args[:log_config] if args.key?(:log_config)
@max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network) @network = args[:network] if args.key?(:network)
@outlier_detection = args[:outlier_detection] if args.key?(:outlier_detection) @outlier_detection = args[:outlier_detection] if args.key?(:outlier_detection)
@ -3987,6 +4070,25 @@ module Google
# @return [String] # @return [String]
attr_accessor :connection_persistence_on_unhealthy_backends attr_accessor :connection_persistence_on_unhealthy_backends
# Specifies how long to keep a Connection Tracking entry while there is no
# matching traffic (in seconds).
# For L4 ILB the minimum(default) is 10 minutes and maximum is 16 hours.
# For NLB the minimum(default) is 60 seconds and the maximum is 16 hours.
# This field will be supported only if the Connection Tracking key is less than
# 5-tuple.
# Corresponds to the JSON property `idleTimeoutSec`
# @return [Fixnum]
attr_accessor :idle_timeout_sec
# Specifies the key used for connection tracking. There are two options:
# PER_CONNECTION: This is the default mode. The Connection Tracking is performed
# as per the Connection Key (default Hash Method) for the specific protocol.
# PER_SESSION: The Connection Tracking is performed as per the configured
# Session Affinity. It matches the configured Session Affinity.
# Corresponds to the JSON property `trackingMode`
# @return [String]
attr_accessor :tracking_mode
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -3994,6 +4096,8 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@connection_persistence_on_unhealthy_backends = args[:connection_persistence_on_unhealthy_backends] if args.key?(:connection_persistence_on_unhealthy_backends) @connection_persistence_on_unhealthy_backends = args[:connection_persistence_on_unhealthy_backends] if args.key?(:connection_persistence_on_unhealthy_backends)
@idle_timeout_sec = args[:idle_timeout_sec] if args.key?(:idle_timeout_sec)
@tracking_mode = args[:tracking_mode] if args.key?(:tracking_mode)
end end
end end
@ -4830,6 +4934,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :name_pattern attr_accessor :name_pattern
# Per-instance properties to be set on individual instances. Keys of this map
# specify requested instance names. Can be empty if name_pattern is used.
# Corresponds to the JSON property `perInstanceProperties`
# @return [Hash<String,Google::Apis::ComputeAlpha::BulkInsertInstanceResourcePerInstanceProperties>]
attr_accessor :per_instance_properties
# List of predefined names. The number of names provided must be equal to count. # List of predefined names. The number of names provided must be equal to count.
# Corresponds to the JSON property `predefinedNames` # Corresponds to the JSON property `predefinedNames`
# @return [Array<String>] # @return [Array<String>]
@ -4862,11 +4972,32 @@ module Google
@location_policy = args[:location_policy] if args.key?(:location_policy) @location_policy = args[:location_policy] if args.key?(:location_policy)
@min_count = args[:min_count] if args.key?(:min_count) @min_count = args[:min_count] if args.key?(:min_count)
@name_pattern = args[:name_pattern] if args.key?(:name_pattern) @name_pattern = args[:name_pattern] if args.key?(:name_pattern)
@per_instance_properties = args[:per_instance_properties] if args.key?(:per_instance_properties)
@predefined_names = args[:predefined_names] if args.key?(:predefined_names) @predefined_names = args[:predefined_names] if args.key?(:predefined_names)
@source_instance_template = args[:source_instance_template] if args.key?(:source_instance_template) @source_instance_template = args[:source_instance_template] if args.key?(:source_instance_template)
end end
end end
# Per-instance properties to be set on individual instances. To be extended in
# the future.
class BulkInsertInstanceResourcePerInstanceProperties
include Google::Apis::Core::Hashable
# This field is only temporary. It will be removed. Do not use it.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
end
end
# #
class CacheInvalidationRule class CacheInvalidationRule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -5776,8 +5907,7 @@ module Google
attr_accessor :allow_methods attr_accessor :allow_methods
# Specifies the regualar expression patterns that match allowed origins. For # Specifies the regualar expression patterns that match allowed origins. For
# regular expression grammar please see en.cppreference.com/w/cpp/regex/ # regular expression grammar please see github.com/google/re2/wiki/Syntax
# ecmascript
# An origin is allowed if it matches either an item in allowOrigins or an item # An origin is allowed if it matches either an item in allowOrigins or an item
# in allowOriginRegexes. # in allowOriginRegexes.
# Corresponds to the JSON property `allowOriginRegexes` # Corresponds to the JSON property `allowOriginRegexes`
@ -6070,6 +6200,12 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :licenses attr_accessor :licenses
# An opaque location hint used to place the disk close to other resources. This
# field is for use by internal tools that use the public API.
# Corresponds to the JSON property `locationHint`
# @return [String]
attr_accessor :location_hint
# Indicates whether or not the disk can be read/write attached to more than one # Indicates whether or not the disk can be read/write attached to more than one
# instance. # instance.
# Corresponds to the JSON property `multiWriter` # Corresponds to the JSON property `multiWriter`
@ -6271,7 +6407,9 @@ module Google
# The full Google Cloud Storage URI where the disk image is stored. This file # The full Google Cloud Storage URI where the disk image is stored. This file
# must be a gzip-compressed tarball whose name ends in .tar.gz or virtual # must be a gzip-compressed tarball whose name ends in .tar.gz or virtual
# machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https: # machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https:
# //storage.googleapis.com/. # //storage.googleapis.com/. This flag is not optimized for creating multiple
# disks from a source storage object. To create many disks from a source storage
# object, use gcloud compute images import instead.
# Corresponds to the JSON property `sourceStorageObject` # Corresponds to the JSON property `sourceStorageObject`
# @return [String] # @return [String]
attr_accessor :source_storage_object attr_accessor :source_storage_object
@ -6337,6 +6475,7 @@ module Google
@last_detach_timestamp = args[:last_detach_timestamp] if args.key?(:last_detach_timestamp) @last_detach_timestamp = args[:last_detach_timestamp] if args.key?(:last_detach_timestamp)
@license_codes = args[:license_codes] if args.key?(:license_codes) @license_codes = args[:license_codes] if args.key?(:license_codes)
@licenses = args[:licenses] if args.key?(:licenses) @licenses = args[:licenses] if args.key?(:licenses)
@location_hint = args[:location_hint] if args.key?(:location_hint)
@multi_writer = args[:multi_writer] if args.key?(:multi_writer) @multi_writer = args[:multi_writer] if args.key?(:multi_writer)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@options = args[:options] if args.key?(:options) @options = args[:options] if args.key?(:options)
@ -8629,7 +8768,7 @@ module Google
attr_accessor :rule_tuple_count attr_accessor :rule_tuple_count
# A list of network resource URLs to which this rule applies. This field allows # A list of network resource URLs to which this rule applies. This field allows
# you to control which network?s VMs get this rule. If this field is left blank, # you to control which network's VMs get this rule. If this field is left blank,
# all VMs within the organization will receive the rule. # all VMs within the organization will receive the rule.
# Corresponds to the JSON property `targetResources` # Corresponds to the JSON property `targetResources`
# @return [Array<String>] # @return [Array<String>]
@ -8818,8 +8957,6 @@ module Google
# ip_address_specifications). # ip_address_specifications).
# Must be set to `0.0.0.0` when the target is targetGrpcProxy that has # Must be set to `0.0.0.0` when the target is targetGrpcProxy that has
# validateForProxyless field set to true. # validateForProxyless field set to true.
# For Private Service Connect forwarding rules that forward traffic to Google
# APIs, IP address must be provided.
# Corresponds to the JSON property `IPAddress` # Corresponds to the JSON property `IPAddress`
# @return [String] # @return [String]
attr_accessor :ip_address attr_accessor :ip_address
@ -8992,8 +9129,6 @@ module Google
# For Internal TCP/UDP Load Balancing, this field identifies the network that # For Internal TCP/UDP Load Balancing, this field identifies the network that
# the load balanced IP should belong to for this Forwarding Rule. If this field # the load balanced IP should belong to for this Forwarding Rule. If this field
# is not specified, the default network will be used. # is not specified, the default network will be used.
# For Private Service Connect forwarding rules that forward traffic to Google
# APIs, a network must be provided.
# Corresponds to the JSON property `network` # Corresponds to the JSON property `network`
# @return [String] # @return [String]
attr_accessor :network attr_accessor :network
@ -9104,15 +9239,6 @@ module Google
# resource. The forwarded traffic must be of a type appropriate to the target # resource. The forwarded traffic must be of a type appropriate to the target
# object. For more information, see the "Target" column in [Port specifications]( # object. For more information, see the "Target" column in [Port specifications](
# /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). # /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
# For Private Service Connect forwarding rules that forward traffic to Google
# APIs, provide the name of a supported Google API bundle. Currently, the
# supported Google API bundles include:
#
# - vpc-sc - GCP APIs that support VPC Service Controls. For more information
# about which APIs support VPC Service Controls, refer to VPC-SC supported
# products and limitations.
# - all-apis - All GCP APIs. For more information about which APIs are supported
# with this bundle, refer to Private Google Access-specific domains and VIPs.
# Corresponds to the JSON property `target` # Corresponds to the JSON property `target`
# @return [String] # @return [String]
attr_accessor :target attr_accessor :target
@ -11314,8 +11440,8 @@ module Google
attr_accessor :range_match attr_accessor :range_match
# The value of the header must match the regular expression specified in # The value of the header must match the regular expression specified in
# regexMatch. For regular expression grammar, please see: en.cppreference.com/w/ # regexMatch. For regular expression grammar, please see: github.com/google/re2/
# cpp/regex/ecmascript # wiki/Syntax
# For matching against a port specified in the HTTP request, use a headerMatch # For matching against a port specified in the HTTP request, use a headerMatch
# with headerName set to PORT and a regular expression that satisfies the # with headerName set to PORT and a regular expression that satisfies the
# RFC2616 Host header's port specifier. # RFC2616 Host header's port specifier.
@ -11644,7 +11770,7 @@ module Google
# The queryParameterMatch matches if the value of the parameter matches the # The queryParameterMatch matches if the value of the parameter matches the
# regular expression specified by regexMatch. For the regular expression grammar, # regular expression specified by regexMatch. For the regular expression grammar,
# please see en.cppreference.com/w/cpp/regex/ecmascript # please see github.com/google/re2/wiki/Syntax
# Only one of presentMatch, exactMatch or regexMatch must be set. # Only one of presentMatch, exactMatch or regexMatch must be set.
# Note that regexMatch only applies when the loadBalancingScheme is set to # Note that regexMatch only applies when the loadBalancingScheme is set to
# INTERNAL_SELF_MANAGED. # INTERNAL_SELF_MANAGED.
@ -11823,6 +11949,14 @@ module Google
# @return [Google::Apis::ComputeAlpha::HttpFaultInjection] # @return [Google::Apis::ComputeAlpha::HttpFaultInjection]
attr_accessor :fault_injection_policy attr_accessor :fault_injection_policy
# A Duration represents a fixed-length span of time represented as a count of
# seconds and fractions of seconds at nanosecond resolution. It is independent
# of any calendar and concepts like "day" or "month". Range is approximately 10,
# 000 years.
# Corresponds to the JSON property `maxStreamDuration`
# @return [Google::Apis::ComputeAlpha::Duration]
attr_accessor :max_stream_duration
# A policy that specifies how requests intended for the route's backends are # A policy that specifies how requests intended for the route's backends are
# shadowed to a separate mirrored backend service. Loadbalancer does not wait # shadowed to a separate mirrored backend service. Loadbalancer does not wait
# for responses from the shadow service. Prior to sending traffic to the shadow # for responses from the shadow service. Prior to sending traffic to the shadow
@ -11871,6 +12005,7 @@ module Google
def update!(**args) def update!(**args)
@cors_policy = args[:cors_policy] if args.key?(:cors_policy) @cors_policy = args[:cors_policy] if args.key?(:cors_policy)
@fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy) @fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy)
@max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
@request_mirror_policy = args[:request_mirror_policy] if args.key?(:request_mirror_policy) @request_mirror_policy = args[:request_mirror_policy] if args.key?(:request_mirror_policy)
@retry_policy = args[:retry_policy] if args.key?(:retry_policy) @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
@timeout = args[:timeout] if args.key?(:timeout) @timeout = args[:timeout] if args.key?(:timeout)
@ -12057,7 +12192,7 @@ module Google
# For satisfying the matchRule condition, the path of the request must satisfy # For satisfying the matchRule condition, the path of the request must satisfy
# the regular expression specified in regexMatch after removing any query # the regular expression specified in regexMatch after removing any query
# parameters and anchor supplied with the original URL. For regular expression # parameters and anchor supplied with the original URL. For regular expression
# grammar please see en.cppreference.com/w/cpp/regex/ecmascript # grammar please see github.com/google/re2/wiki/Syntax
# Only one of prefixMatch, fullPathMatch or regexMatch must be specified. # Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
# Note that regexMatch only applies to Loadbalancers that have their # Note that regexMatch only applies to Loadbalancers that have their
# loadBalancingScheme set to INTERNAL_SELF_MANAGED. # loadBalancingScheme set to INTERNAL_SELF_MANAGED.
@ -12424,6 +12559,12 @@ module Google
# @return [Google::Apis::ComputeAlpha::Image::RawDisk] # @return [Google::Apis::ComputeAlpha::Image::RawDisk]
attr_accessor :raw_disk attr_accessor :raw_disk
# [Output Only] Reserved for future use.
# Corresponds to the JSON property `satisfiesPzs`
# @return [Boolean]
attr_accessor :satisfies_pzs
alias_method :satisfies_pzs?, :satisfies_pzs
# [Output Only] Server-defined URL for the resource. # [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink` # Corresponds to the JSON property `selfLink`
# @return [String] # @return [String]
@ -12555,6 +12696,7 @@ module Google
@licenses = args[:licenses] if args.key?(:licenses) @licenses = args[:licenses] if args.key?(:licenses)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@raw_disk = args[:raw_disk] if args.key?(:raw_disk) @raw_disk = args[:raw_disk] if args.key?(:raw_disk)
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state) @shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state)
@ -16919,6 +17061,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
# [Output Only] Reserved for future use.
# Corresponds to the JSON property `satisfiesPzs`
# @return [Boolean]
attr_accessor :satisfies_pzs
alias_method :satisfies_pzs?, :satisfies_pzs
# [Output Only] Server-defined URL for the resource. # [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink` # Corresponds to the JSON property `selfLink`
# @return [String] # @return [String]
@ -16976,6 +17124,7 @@ module Google
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@region = args[:region] if args.key?(:region) @region = args[:region] if args.key?(:region)
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@source_disk = args[:source_disk] if args.key?(:source_disk) @source_disk = args[:source_disk] if args.key?(:source_disk)
@ -19878,6 +20027,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# [Output Only] Reserved for future use.
# Corresponds to the JSON property `satisfiesPzs`
# @return [Boolean]
attr_accessor :satisfies_pzs
alias_method :satisfies_pzs?, :satisfies_pzs
# [Output Only] The URL for this machine image. The server defines this URL. # [Output Only] The URL for this machine image. The server defines this URL.
# Corresponds to the JSON property `selfLink` # Corresponds to the JSON property `selfLink`
# @return [String] # @return [String]
@ -19940,6 +20095,7 @@ module Google
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@machine_image_encryption_key = args[:machine_image_encryption_key] if args.key?(:machine_image_encryption_key) @machine_image_encryption_key = args[:machine_image_encryption_key] if args.key?(:machine_image_encryption_key)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@source_disk_encryption_keys = args[:source_disk_encryption_keys] if args.key?(:source_disk_encryption_keys) @source_disk_encryption_keys = args[:source_disk_encryption_keys] if args.key?(:source_disk_encryption_keys)
@ -21156,9 +21312,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :ip_address attr_accessor :ip_address
# Optional port number of network endpoint. If not specified and the # Optional port number of network endpoint. If not specified, the defaultPort
# NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the defaultPort for # for the network endpoint group will be used.
# the network endpoint group will be used.
# Corresponds to the JSON property `port` # Corresponds to the JSON property `port`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :port attr_accessor :port
@ -24739,6 +24894,41 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# `Any` contains an arbitrary serialized protocol buffer message along with a
# URL that describes the type of the serialized message.
# Protobuf library provides support to pack/unpack Any values in the form of
# utility functions or additional generated methods of the Any type.
# Example 1: Pack and unpack a message in C++.
# Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) ` ... `
# Example 2: Pack and unpack a message in Java.
# Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) ` foo = any.
# unpack(Foo.class); `
# Example 3: Pack and unpack a message in Python.
# foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.
# Unpack(foo) ...
# Example 4: Pack and unpack a message in Go
# foo := &pb.Foo`...` any, err := anypb.New(foo) if err != nil ` ... ` ... foo :=
# &pb.Foo`` if err := any.UnmarshalTo(foo); err != nil ` ... `
# The pack methods provided by protobuf library will by default use 'type.
# googleapis.com/full.type.name' as the type URL and the unpack methods only use
# the fully qualified type name after the last '/' in the type URL, for example "
# foo.bar.com/x/y.z" will yield type name "y.z".
# JSON ==== The JSON representation of an `Any` value uses the regular
# representation of the deserialized, embedded message, with an additional field
# `@type` which contains the type URL. Example:
# package google.profile; message Person ` string first_name = 1; string
# last_name = 2; `
# ` "@type": "type.googleapis.com/google.profile.Person", "firstName": , "
# lastName": `
# If the embedded message type is well-known and has a custom JSON
# representation, that representation will be embedded adding a field `value`
# which holds the custom JSON in addition to the `@type` field. Example (for
# message [google.protobuf.Duration][]):
# ` "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" `
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::ComputeAlpha::Any]
attr_accessor :metadata
# [Output Only] Name of the operation. # [Output Only] Name of the operation.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -24839,6 +25029,7 @@ module Google
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@insert_time = args[:insert_time] if args.key?(:insert_time) @insert_time = args[:insert_time] if args.key?(:insert_time)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@operation_type = args[:operation_type] if args.key?(:operation_type) @operation_type = args[:operation_type] if args.key?(:operation_type)
@progress = args[:progress] if args.key?(:progress) @progress = args[:progress] if args.key?(:progress)
@ -33564,6 +33755,12 @@ module Google
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptions] # @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptions]
attr_accessor :rate_limit_options attr_accessor :rate_limit_options
# This must be specified for redirect actions. Cannot be specified for any other
# actions.
# Corresponds to the JSON property `redirectTarget`
# @return [String]
attr_accessor :redirect_target
# Identifier for the rule. This is only unique within the given security policy. # Identifier for the rule. This is only unique within the given security policy.
# This can only be set during rule creation, if rule number is not specified it # This can only be set during rule creation, if rule number is not specified it
# will be generated by the server. # will be generated by the server.
@ -33606,6 +33803,7 @@ module Google
@preview = args[:preview] if args.key?(:preview) @preview = args[:preview] if args.key?(:preview)
@priority = args[:priority] if args.key?(:priority) @priority = args[:priority] if args.key?(:priority)
@rate_limit_options = args[:rate_limit_options] if args.key?(:rate_limit_options) @rate_limit_options = args[:rate_limit_options] if args.key?(:rate_limit_options)
@redirect_target = args[:redirect_target] if args.key?(:redirect_target)
@rule_number = args[:rule_number] if args.key?(:rule_number) @rule_number = args[:rule_number] if args.key?(:rule_number)
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count) @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
@target_resources = args[:target_resources] if args.key?(:target_resources) @target_resources = args[:target_resources] if args.key?(:target_resources)
@ -34108,6 +34306,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# If true, enable the proxy protocol which is for supplying client TCP/IP
# address data in TCP connections that traverse proxies on their way to
# destination servers.
# Corresponds to the JSON property `enableProxyProtocol`
# @return [Boolean]
attr_accessor :enable_proxy_protocol
alias_method :enable_proxy_protocol?, :enable_proxy_protocol
# [Output Only] The unique identifier for the resource type. The server # [Output Only] The unique identifier for the resource type. The server
# generates this identifier. # generates this identifier.
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
@ -34164,6 +34370,7 @@ module Google
@consumer_forwarding_rules = args[:consumer_forwarding_rules] if args.key?(:consumer_forwarding_rules) @consumer_forwarding_rules = args[:consumer_forwarding_rules] if args.key?(:consumer_forwarding_rules)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@enable_proxy_protocol = args[:enable_proxy_protocol] if args.key?(:enable_proxy_protocol)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@ -34678,6 +34885,12 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :licenses attr_accessor :licenses
# An opaque location hint used to place the snapshot close to other resources.
# This field is for use by internal tools that use the public API.
# Corresponds to the JSON property `locationHint`
# @return [String]
attr_accessor :location_hint
# Name of the resource; provided by the client when the resource is created. The # Name of the resource; provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression `[a-z]([-a- # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@ -34782,6 +34995,7 @@ module Google
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@license_codes = args[:license_codes] if args.key?(:license_codes) @license_codes = args[:license_codes] if args.key?(:license_codes)
@licenses = args[:licenses] if args.key?(:licenses) @licenses = args[:licenses] if args.key?(:licenses)
@location_hint = args[:location_hint] if args.key?(:location_hint)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@ -35460,8 +35674,9 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :domain_status attr_accessor :domain_status
# The domains for which a managed SSL certificate will be generated. Currently # The domains for which a managed SSL certificate will be generated. Each Google-
# only single-domain certs are supported. # managed SSL certificate supports up to the [maximum number of domains per
# Google-managed SSL certificate](/load-balancing/docs/quotas#ssl_certificates).
# Corresponds to the JSON property `domains` # Corresponds to the JSON property `domains`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :domains attr_accessor :domains
@ -40462,6 +40677,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :date attr_accessor :date
# Represents a window of time using two timestamps: `earliest` and `latest`.
# This timestamp values are in RFC3339 text format.
# Corresponds to the JSON property `startTimeWindow`
# @return [Google::Apis::ComputeAlpha::UpcomingMaintenanceTimeWindow]
attr_accessor :start_time_window
# [Output Only] The time when the maintenance will take place. This value is in # [Output Only] The time when the maintenance will take place. This value is in
# RFC3339 text format. DEPRECATED: Use start_time_window instead. # RFC3339 text format. DEPRECATED: Use start_time_window instead.
# Corresponds to the JSON property `time` # Corresponds to the JSON property `time`
@ -40480,11 +40701,38 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@date = args[:date] if args.key?(:date) @date = args[:date] if args.key?(:date)
@start_time_window = args[:start_time_window] if args.key?(:start_time_window)
@time = args[:time] if args.key?(:time) @time = args[:time] if args.key?(:time)
@type = args[:type] if args.key?(:type) @type = args[:type] if args.key?(:type)
end end
end end
# Represents a window of time using two timestamps: `earliest` and `latest`.
# This timestamp values are in RFC3339 text format.
class UpcomingMaintenanceTimeWindow
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `earliest`
# @return [String]
attr_accessor :earliest
#
# Corresponds to the JSON property `latest`
# @return [String]
attr_accessor :latest
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@earliest = args[:earliest] if args.key?(:earliest)
@latest = args[:latest] if args.key?(:latest)
end
end
# Represents a URL Map resource. # Represents a URL Map resource.
# Google Compute Engine has two URL Map resources: # Google Compute Engine has two URL Map resources:
# * [Global](/compute/docs/reference/rest/`$api_version`/urlMaps) * [Regional](/ # * [Global](/compute/docs/reference/rest/`$api_version`/urlMaps) * [Regional](/
@ -42182,9 +42430,9 @@ module Google
attr_accessor :id attr_accessor :id
# URL of the interconnect attachment resource. When the value of this field is # URL of the interconnect attachment resource. When the value of this field is
# present, the VPN Gateway will be used for IPsec over Interconnect; all Egress # present, the VPN Gateway will be used for IPsec-encrypted Cloud Interconnect;
# or Ingress traffic for this VPN Gateway interface will go through the # all Egress or Ingress traffic for this VPN Gateway interface will go through
# specified interconnect attachment resource. # the specified interconnect attachment resource.
# Corresponds to the JSON property `interconnectAttachment` # Corresponds to the JSON property `interconnectAttachment`
# @return [String] # @return [String]
attr_accessor :interconnect_attachment attr_accessor :interconnect_attachment

View File

@ -16,13 +16,13 @@ module Google
module Apis module Apis
module ComputeAlpha module ComputeAlpha
# Version of the google-apis-compute_alpha gem # Version of the google-apis-compute_alpha gem
GEM_VERSION = "0.1.0" GEM_VERSION = "0.2.0"
# Version of the code generator used to generate this client # Version of the code generator used to generate this client
GENERATOR_VERSION = "0.1.1" GENERATOR_VERSION = "0.1.2"
# Revision of the discovery document this client was generated from # Revision of the discovery document this client was generated from
REVISION = "20201122" REVISION = "20201213"
end end
end end
end end

View File

@ -190,6 +190,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Any
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AttachedDisk class AttachedDisk
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -538,6 +544,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class BulkInsertInstanceResourcePerInstanceProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CacheInvalidationRule class CacheInvalidationRule
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5242,6 +5254,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class UpcomingMaintenanceTimeWindow
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UrlMap class UrlMap
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5966,6 +5984,14 @@ module Google
end end
end end
class Any
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type_url, as: 'typeUrl'
property :value, :base64 => true, as: 'value'
end
end
class AttachedDisk class AttachedDisk
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -6405,6 +6431,8 @@ module Google
property :locality_lb_policy, as: 'localityLbPolicy' property :locality_lb_policy, as: 'localityLbPolicy'
property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::BackendServiceLogConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLogConfig::Representation property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::BackendServiceLogConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLogConfig::Representation
property :max_stream_duration, as: 'maxStreamDuration', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
property :name, as: 'name' property :name, as: 'name'
property :network, as: 'network' property :network, as: 'network'
property :outlier_detection, as: 'outlierDetection', class: Google::Apis::ComputeAlpha::OutlierDetection, decorator: Google::Apis::ComputeAlpha::OutlierDetection::Representation property :outlier_detection, as: 'outlierDetection', class: Google::Apis::ComputeAlpha::OutlierDetection, decorator: Google::Apis::ComputeAlpha::OutlierDetection::Representation
@ -6498,6 +6526,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :connection_persistence_on_unhealthy_backends, as: 'connectionPersistenceOnUnhealthyBackends' property :connection_persistence_on_unhealthy_backends, as: 'connectionPersistenceOnUnhealthyBackends'
property :idle_timeout_sec, as: 'idleTimeoutSec'
property :tracking_mode, as: 'trackingMode'
end end
end end
@ -6697,11 +6727,20 @@ module Google
property :min_count, :numeric_string => true, as: 'minCount' property :min_count, :numeric_string => true, as: 'minCount'
property :name_pattern, as: 'namePattern' property :name_pattern, as: 'namePattern'
hash :per_instance_properties, as: 'perInstanceProperties', class: Google::Apis::ComputeAlpha::BulkInsertInstanceResourcePerInstanceProperties, decorator: Google::Apis::ComputeAlpha::BulkInsertInstanceResourcePerInstanceProperties::Representation
collection :predefined_names, as: 'predefinedNames' collection :predefined_names, as: 'predefinedNames'
property :source_instance_template, as: 'sourceInstanceTemplate' property :source_instance_template, as: 'sourceInstanceTemplate'
end end
end end
class BulkInsertInstanceResourcePerInstanceProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
end
end
class CacheInvalidationRule class CacheInvalidationRule
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -6992,6 +7031,7 @@ module Google
property :last_detach_timestamp, as: 'lastDetachTimestamp' property :last_detach_timestamp, as: 'lastDetachTimestamp'
collection :license_codes, as: 'licenseCodes' collection :license_codes, as: 'licenseCodes'
collection :licenses, as: 'licenses' collection :licenses, as: 'licenses'
property :location_hint, as: 'locationHint'
property :multi_writer, as: 'multiWriter' property :multi_writer, as: 'multiWriter'
property :name, as: 'name' property :name, as: 'name'
property :options, as: 'options' property :options, as: 'options'
@ -8302,6 +8342,8 @@ module Google
property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::ComputeAlpha::HttpFaultInjection, decorator: Google::Apis::ComputeAlpha::HttpFaultInjection::Representation property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::ComputeAlpha::HttpFaultInjection, decorator: Google::Apis::ComputeAlpha::HttpFaultInjection::Representation
property :max_stream_duration, as: 'maxStreamDuration', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
property :request_mirror_policy, as: 'requestMirrorPolicy', class: Google::Apis::ComputeAlpha::RequestMirrorPolicy, decorator: Google::Apis::ComputeAlpha::RequestMirrorPolicy::Representation property :request_mirror_policy, as: 'requestMirrorPolicy', class: Google::Apis::ComputeAlpha::RequestMirrorPolicy, decorator: Google::Apis::ComputeAlpha::RequestMirrorPolicy::Representation
property :retry_policy, as: 'retryPolicy', class: Google::Apis::ComputeAlpha::HttpRetryPolicy, decorator: Google::Apis::ComputeAlpha::HttpRetryPolicy::Representation property :retry_policy, as: 'retryPolicy', class: Google::Apis::ComputeAlpha::HttpRetryPolicy, decorator: Google::Apis::ComputeAlpha::HttpRetryPolicy::Representation
@ -8427,6 +8469,7 @@ module Google
property :name, as: 'name' property :name, as: 'name'
property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeAlpha::Image::RawDisk, decorator: Google::Apis::ComputeAlpha::Image::RawDisk::Representation property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeAlpha::Image::RawDisk, decorator: Google::Apis::ComputeAlpha::Image::RawDisk::Representation
property :satisfies_pzs, as: 'satisfiesPzs'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId' property :self_link_with_id, as: 'selfLinkWithId'
property :shielded_instance_initial_state, as: 'shieldedInstanceInitialState', class: Google::Apis::ComputeAlpha::InitialStateConfig, decorator: Google::Apis::ComputeAlpha::InitialStateConfig::Representation property :shielded_instance_initial_state, as: 'shieldedInstanceInitialState', class: Google::Apis::ComputeAlpha::InitialStateConfig, decorator: Google::Apis::ComputeAlpha::InitialStateConfig::Representation
@ -9569,6 +9612,7 @@ module Google
hash :labels, as: 'labels' hash :labels, as: 'labels'
property :name, as: 'name' property :name, as: 'name'
property :region, as: 'region' property :region, as: 'region'
property :satisfies_pzs, as: 'satisfiesPzs'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId' property :self_link_with_id, as: 'selfLinkWithId'
property :source_disk, as: 'sourceDisk' property :source_disk, as: 'sourceDisk'
@ -10265,6 +10309,7 @@ module Google
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
property :name, as: 'name' property :name, as: 'name'
property :satisfies_pzs, as: 'satisfiesPzs'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId' property :self_link_with_id, as: 'selfLinkWithId'
collection :source_disk_encryption_keys, as: 'sourceDiskEncryptionKeys', class: Google::Apis::ComputeAlpha::SourceDiskEncryptionKey, decorator: Google::Apis::ComputeAlpha::SourceDiskEncryptionKey::Representation collection :source_disk_encryption_keys, as: 'sourceDiskEncryptionKeys', class: Google::Apis::ComputeAlpha::SourceDiskEncryptionKey, decorator: Google::Apis::ComputeAlpha::SourceDiskEncryptionKey::Representation
@ -11495,6 +11540,8 @@ module Google
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :insert_time, as: 'insertTime' property :insert_time, as: 'insertTime'
property :kind, as: 'kind' property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::Any, decorator: Google::Apis::ComputeAlpha::Any::Representation
property :name, as: 'name' property :name, as: 'name'
property :operation_type, as: 'operationType' property :operation_type, as: 'operationType'
property :progress, as: 'progress' property :progress, as: 'progress'
@ -13747,6 +13794,7 @@ module Google
property :priority, as: 'priority' property :priority, as: 'priority'
property :rate_limit_options, as: 'rateLimitOptions', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptions, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptions::Representation property :rate_limit_options, as: 'rateLimitOptions', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptions, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptions::Representation
property :redirect_target, as: 'redirectTarget'
property :rule_number, :numeric_string => true, as: 'ruleNumber' property :rule_number, :numeric_string => true, as: 'ruleNumber'
property :rule_tuple_count, as: 'ruleTupleCount' property :rule_tuple_count, as: 'ruleTupleCount'
collection :target_resources, as: 'targetResources' collection :target_resources, as: 'targetResources'
@ -13876,6 +13924,7 @@ module Google
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :enable_proxy_protocol, as: 'enableProxyProtocol'
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :name, as: 'name' property :name, as: 'name'
@ -14022,6 +14071,7 @@ module Google
hash :labels, as: 'labels' hash :labels, as: 'labels'
collection :license_codes, as: 'licenseCodes' collection :license_codes, as: 'licenseCodes'
collection :licenses, as: 'licenses' collection :licenses, as: 'licenses'
property :location_hint, as: 'locationHint'
property :name, as: 'name' property :name, as: 'name'
property :satisfies_pzs, as: 'satisfiesPzs' property :satisfies_pzs, as: 'satisfiesPzs'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
@ -15450,11 +15500,21 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :date, as: 'date' property :date, as: 'date'
property :start_time_window, as: 'startTimeWindow', class: Google::Apis::ComputeAlpha::UpcomingMaintenanceTimeWindow, decorator: Google::Apis::ComputeAlpha::UpcomingMaintenanceTimeWindow::Representation
property :time, as: 'time' property :time, as: 'time'
property :type, as: 'type' property :type, as: 'type'
end end
end end
class UpcomingMaintenanceTimeWindow
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :earliest, as: 'earliest'
property :latest, as: 'latest'
end
end
class UrlMap class UrlMap
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -12865,7 +12865,11 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates an instance's network interface. This method follows PATCH semantics. # Updates an instance's network interface. This method can only update an
# interface's alias IP range and attached network. See Modifying alias IP ranges
# for an existing instance for instructions on changing alias IP ranges. See
# Migrating a VM between networks for instructions on migrating an interface.
# This method follows PATCH semantics.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [String] zone # @param [String] zone

View File

@ -4,7 +4,7 @@
"git": { "git": {
"name": ".", "name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git", "remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "1bb8091fcf4270989ed1528741f8e96740431e03" "sha": "a489b644a1bd47c075ba8c0c10ea2175e5456069"
} }
} }
] ]