Autogenerated update (2019-02-28)

Update:
- compute_alpha
- compute_beta
- compute_v1
- containeranalysis_v1alpha1
- games_management_v1management
- games_v1
- logging_v2
- logging_v2beta1
- oauth2_v1
- oauth2_v2
- plus_domains_v1
- plus_v1
- remotebuildexecution_v1
- remotebuildexecution_v1alpha
- remotebuildexecution_v2
- servicemanagement_v1
- testing_v1
This commit is contained in:
Google APIs 2019-02-28 00:37:23 +00:00
parent ca22914882
commit 463abfaad2
38 changed files with 2167 additions and 150 deletions

View File

@ -20329,6 +20329,8 @@
"/compute:alpha/AttachedDiskInitializeParams/guestOsFeatures/guest_os_feature": guest_os_feature
"/compute:alpha/AttachedDiskInitializeParams/labels": labels
"/compute:alpha/AttachedDiskInitializeParams/labels/label": label
"/compute:alpha/AttachedDiskInitializeParams/replicaZones": replica_zones
"/compute:alpha/AttachedDiskInitializeParams/replicaZones/replica_zone": replica_zone
"/compute:alpha/AttachedDiskInitializeParams/sourceImage": source_image
"/compute:alpha/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key
"/compute:alpha/AttachedDiskInitializeParams/sourceSnapshot": source_snapshot
@ -22621,7 +22623,9 @@
"/compute:alpha/NetworkPeering/autoCreateRoutes": auto_create_routes
"/compute:alpha/NetworkPeering/exchangeSubnetRoutes": exchange_subnet_routes
"/compute:alpha/NetworkPeering/exportCustomRoutes": export_custom_routes
"/compute:alpha/NetworkPeering/exportSubnetRoutesWithPublicIp": export_subnet_routes_with_public_ip
"/compute:alpha/NetworkPeering/importCustomRoutes": import_custom_routes
"/compute:alpha/NetworkPeering/importSubnetRoutesWithPublicIp": import_subnet_routes_with_public_ip
"/compute:alpha/NetworkPeering/name": name
"/compute:alpha/NetworkPeering/network": network
"/compute:alpha/NetworkPeering/state": state
@ -23726,6 +23730,7 @@
"/compute:alpha/SecurityPolicyRule/match": match
"/compute:alpha/SecurityPolicyRule/preview": preview
"/compute:alpha/SecurityPolicyRule/priority": priority
"/compute:alpha/SecurityPolicyRule/rateLimitOptions": rate_limit_options
"/compute:alpha/SecurityPolicyRule/targetResources": target_resources
"/compute:alpha/SecurityPolicyRule/targetResources/target_resource": target_resource
"/compute:alpha/SecurityPolicyRuleMatcher": security_policy_rule_matcher
@ -23747,6 +23752,12 @@
"/compute:alpha/SecurityPolicyRuleMatcherConfigDestinationPort/ipProtocol": ip_protocol
"/compute:alpha/SecurityPolicyRuleMatcherConfigDestinationPort/ports": ports
"/compute:alpha/SecurityPolicyRuleMatcherConfigDestinationPort/ports/port": port
"/compute:alpha/SecurityPolicyRuleRateLimitOptions": security_policy_rule_rate_limit_options
"/compute:alpha/SecurityPolicyRuleRateLimitOptions/blockDuration": block_duration
"/compute:alpha/SecurityPolicyRuleRateLimitOptions/conformAction": conform_action
"/compute:alpha/SecurityPolicyRuleRateLimitOptions/enforceOnKey": enforce_on_key
"/compute:alpha/SecurityPolicyRuleRateLimitOptions/exceedAction": exceed_action
"/compute:alpha/SecurityPolicyRuleRateLimitOptions/thresholdRps": threshold_rps
"/compute:alpha/SecuritySettings": security_settings
"/compute:alpha/SecuritySettings/authenticationPolicy": authentication_policy
"/compute:alpha/SecuritySettings/authorizationConfig": authorization_config
@ -26337,6 +26348,7 @@
"/compute:alpha/compute.nodeTypes.list/project": project
"/compute:alpha/compute.nodeTypes.list/zone": zone
"/compute:alpha/compute.organizationSecurityPolicies.addAssociation": add_organization_security_policy_association
"/compute:alpha/compute.organizationSecurityPolicies.addAssociation/replaceExistingAssociation": replace_existing_association
"/compute:alpha/compute.organizationSecurityPolicies.addAssociation/requestId": request_id
"/compute:alpha/compute.organizationSecurityPolicies.addAssociation/securityPolicy": security_policy
"/compute:alpha/compute.organizationSecurityPolicies.addRule": add_organization_security_policy_rule
@ -28371,6 +28383,37 @@
"/compute:beta/Expr/expression": expression
"/compute:beta/Expr/location": location
"/compute:beta/Expr/title": title
"/compute:beta/ExternalVpnGateway": external_vpn_gateway
"/compute:beta/ExternalVpnGateway/creationTimestamp": creation_timestamp
"/compute:beta/ExternalVpnGateway/description": description
"/compute:beta/ExternalVpnGateway/id": id
"/compute:beta/ExternalVpnGateway/interfaces": interfaces
"/compute:beta/ExternalVpnGateway/interfaces/interface": interface
"/compute:beta/ExternalVpnGateway/kind": kind
"/compute:beta/ExternalVpnGateway/labelFingerprint": label_fingerprint
"/compute:beta/ExternalVpnGateway/labels": labels
"/compute:beta/ExternalVpnGateway/labels/label": label
"/compute:beta/ExternalVpnGateway/name": name
"/compute:beta/ExternalVpnGateway/redundancyType": redundancy_type
"/compute:beta/ExternalVpnGateway/selfLink": self_link
"/compute:beta/ExternalVpnGatewayInterface": external_vpn_gateway_interface
"/compute:beta/ExternalVpnGatewayInterface/id": id
"/compute:beta/ExternalVpnGatewayInterface/ipAddress": ip_address
"/compute:beta/ExternalVpnGatewayList": external_vpn_gateway_list
"/compute:beta/ExternalVpnGatewayList/etag": etag
"/compute:beta/ExternalVpnGatewayList/id": id
"/compute:beta/ExternalVpnGatewayList/items": items
"/compute:beta/ExternalVpnGatewayList/items/item": item
"/compute:beta/ExternalVpnGatewayList/kind": kind
"/compute:beta/ExternalVpnGatewayList/nextPageToken": next_page_token
"/compute:beta/ExternalVpnGatewayList/selfLink": self_link
"/compute:beta/ExternalVpnGatewayList/warning": warning
"/compute:beta/ExternalVpnGatewayList/warning/code": code
"/compute:beta/ExternalVpnGatewayList/warning/data": data
"/compute:beta/ExternalVpnGatewayList/warning/data/datum": datum
"/compute:beta/ExternalVpnGatewayList/warning/data/datum/key": key
"/compute:beta/ExternalVpnGatewayList/warning/data/datum/value": value
"/compute:beta/ExternalVpnGatewayList/warning/message": message
"/compute:beta/Firewall": firewall
"/compute:beta/Firewall/allowed": allowed
"/compute:beta/Firewall/allowed/allowed": allowed
@ -28434,6 +28477,7 @@
"/compute:beta/ForwardingRule/backendService": backend_service
"/compute:beta/ForwardingRule/creationTimestamp": creation_timestamp
"/compute:beta/ForwardingRule/description": description
"/compute:beta/ForwardingRule/fingerprint": fingerprint
"/compute:beta/ForwardingRule/id": id
"/compute:beta/ForwardingRule/ipVersion": ip_version
"/compute:beta/ForwardingRule/kind": kind
@ -31030,6 +31074,61 @@
"/compute:beta/VmEndpointNatMappingsList/warning/data/datum/key": key
"/compute:beta/VmEndpointNatMappingsList/warning/data/datum/value": value
"/compute:beta/VmEndpointNatMappingsList/warning/message": message
"/compute:beta/VpnGateway": vpn_gateway
"/compute:beta/VpnGateway/creationTimestamp": creation_timestamp
"/compute:beta/VpnGateway/description": description
"/compute:beta/VpnGateway/id": id
"/compute:beta/VpnGateway/kind": kind
"/compute:beta/VpnGateway/labelFingerprint": label_fingerprint
"/compute:beta/VpnGateway/labels": labels
"/compute:beta/VpnGateway/labels/label": label
"/compute:beta/VpnGateway/name": name
"/compute:beta/VpnGateway/network": network
"/compute:beta/VpnGateway/region": region
"/compute:beta/VpnGateway/selfLink": self_link
"/compute:beta/VpnGateway/vpnInterfaces": vpn_interfaces
"/compute:beta/VpnGateway/vpnInterfaces/vpn_interface": vpn_interface
"/compute:beta/VpnGatewayAggregatedList": vpn_gateway_aggregated_list
"/compute:beta/VpnGatewayAggregatedList/id": id
"/compute:beta/VpnGatewayAggregatedList/items": items
"/compute:beta/VpnGatewayAggregatedList/items/item": item
"/compute:beta/VpnGatewayAggregatedList/kind": kind
"/compute:beta/VpnGatewayAggregatedList/nextPageToken": next_page_token
"/compute:beta/VpnGatewayAggregatedList/selfLink": self_link
"/compute:beta/VpnGatewayAggregatedList/warning": warning
"/compute:beta/VpnGatewayAggregatedList/warning/code": code
"/compute:beta/VpnGatewayAggregatedList/warning/data": data
"/compute:beta/VpnGatewayAggregatedList/warning/data/datum": datum
"/compute:beta/VpnGatewayAggregatedList/warning/data/datum/key": key
"/compute:beta/VpnGatewayAggregatedList/warning/data/datum/value": value
"/compute:beta/VpnGatewayAggregatedList/warning/message": message
"/compute:beta/VpnGatewayList": vpn_gateway_list
"/compute:beta/VpnGatewayList/id": id
"/compute:beta/VpnGatewayList/items": items
"/compute:beta/VpnGatewayList/items/item": item
"/compute:beta/VpnGatewayList/kind": kind
"/compute:beta/VpnGatewayList/nextPageToken": next_page_token
"/compute:beta/VpnGatewayList/selfLink": self_link
"/compute:beta/VpnGatewayList/warning": warning
"/compute:beta/VpnGatewayList/warning/code": code
"/compute:beta/VpnGatewayList/warning/data": data
"/compute:beta/VpnGatewayList/warning/data/datum": datum
"/compute:beta/VpnGatewayList/warning/data/datum/key": key
"/compute:beta/VpnGatewayList/warning/data/datum/value": value
"/compute:beta/VpnGatewayList/warning/message": message
"/compute:beta/VpnGatewayVpnGatewayInterface": vpn_gateway_vpn_gateway_interface
"/compute:beta/VpnGatewayVpnGatewayInterface/id": id
"/compute:beta/VpnGatewayVpnGatewayInterface/ipAddress": ip_address
"/compute:beta/VpnGatewaysScopedList": vpn_gateways_scoped_list
"/compute:beta/VpnGatewaysScopedList/vpnGateways": vpn_gateways
"/compute:beta/VpnGatewaysScopedList/vpnGateways/vpn_gateway": vpn_gateway
"/compute:beta/VpnGatewaysScopedList/warning": warning
"/compute:beta/VpnGatewaysScopedList/warning/code": code
"/compute:beta/VpnGatewaysScopedList/warning/data": data
"/compute:beta/VpnGatewaysScopedList/warning/data/datum": datum
"/compute:beta/VpnGatewaysScopedList/warning/data/datum/key": key
"/compute:beta/VpnGatewaysScopedList/warning/data/datum/value": value
"/compute:beta/VpnGatewaysScopedList/warning/message": message
"/compute:beta/VpnTunnel": vpn_tunnel
"/compute:beta/VpnTunnel/creationTimestamp": creation_timestamp
"/compute:beta/VpnTunnel/description": description
@ -31056,6 +31155,8 @@
"/compute:beta/VpnTunnel/sharedSecretHash": shared_secret_hash
"/compute:beta/VpnTunnel/status": status
"/compute:beta/VpnTunnel/targetVpnGateway": target_vpn_gateway
"/compute:beta/VpnTunnel/vpnGateway": vpn_gateway
"/compute:beta/VpnTunnel/vpnGatewayInterface": vpn_gateway_interface
"/compute:beta/VpnTunnelAggregatedList": vpn_tunnel_aggregated_list
"/compute:beta/VpnTunnelAggregatedList/id": id
"/compute:beta/VpnTunnelAggregatedList/items": items
@ -31453,6 +31554,28 @@
"/compute:beta/compute.disks.testIamPermissions/project": project
"/compute:beta/compute.disks.testIamPermissions/resource": resource
"/compute:beta/compute.disks.testIamPermissions/zone": zone
"/compute:beta/compute.externalVpnGateways.delete": delete_external_vpn_gateway
"/compute:beta/compute.externalVpnGateways.delete/externalVpnGateway": external_vpn_gateway
"/compute:beta/compute.externalVpnGateways.delete/project": project
"/compute:beta/compute.externalVpnGateways.delete/requestId": request_id
"/compute:beta/compute.externalVpnGateways.get": get_external_vpn_gateway
"/compute:beta/compute.externalVpnGateways.get/externalVpnGateway": external_vpn_gateway
"/compute:beta/compute.externalVpnGateways.get/project": project
"/compute:beta/compute.externalVpnGateways.insert": insert_external_vpn_gateway
"/compute:beta/compute.externalVpnGateways.insert/project": project
"/compute:beta/compute.externalVpnGateways.insert/requestId": request_id
"/compute:beta/compute.externalVpnGateways.list": list_external_vpn_gateways
"/compute:beta/compute.externalVpnGateways.list/filter": filter
"/compute:beta/compute.externalVpnGateways.list/maxResults": max_results
"/compute:beta/compute.externalVpnGateways.list/orderBy": order_by
"/compute:beta/compute.externalVpnGateways.list/pageToken": page_token
"/compute:beta/compute.externalVpnGateways.list/project": project
"/compute:beta/compute.externalVpnGateways.setLabels": set_external_vpn_gateway_labels
"/compute:beta/compute.externalVpnGateways.setLabels/project": project
"/compute:beta/compute.externalVpnGateways.setLabels/resource": resource
"/compute:beta/compute.externalVpnGateways.testIamPermissions": test_external_vpn_gateway_iam_permissions
"/compute:beta/compute.externalVpnGateways.testIamPermissions/project": project
"/compute:beta/compute.externalVpnGateways.testIamPermissions/resource": resource
"/compute:beta/compute.firewalls.delete": delete_firewall
"/compute:beta/compute.firewalls.delete/firewall": firewall
"/compute:beta/compute.firewalls.delete/project": project
@ -31506,6 +31629,11 @@
"/compute:beta/compute.forwardingRules.list/pageToken": page_token
"/compute:beta/compute.forwardingRules.list/project": project
"/compute:beta/compute.forwardingRules.list/region": region
"/compute:beta/compute.forwardingRules.patch": patch_forwarding_rule
"/compute:beta/compute.forwardingRules.patch/forwardingRule": forwarding_rule
"/compute:beta/compute.forwardingRules.patch/project": project
"/compute:beta/compute.forwardingRules.patch/region": region
"/compute:beta/compute.forwardingRules.patch/requestId": request_id
"/compute:beta/compute.forwardingRules.setLabels": set_forwarding_rule_labels
"/compute:beta/compute.forwardingRules.setLabels/project": project
"/compute:beta/compute.forwardingRules.setLabels/region": region
@ -31558,6 +31686,10 @@
"/compute:beta/compute.globalForwardingRules.list/orderBy": order_by
"/compute:beta/compute.globalForwardingRules.list/pageToken": page_token
"/compute:beta/compute.globalForwardingRules.list/project": project
"/compute:beta/compute.globalForwardingRules.patch": patch_global_forwarding_rule
"/compute:beta/compute.globalForwardingRules.patch/forwardingRule": forwarding_rule
"/compute:beta/compute.globalForwardingRules.patch/project": project
"/compute:beta/compute.globalForwardingRules.patch/requestId": request_id
"/compute:beta/compute.globalForwardingRules.setLabels": set_global_forwarding_rule_labels
"/compute:beta/compute.globalForwardingRules.setLabels/project": project
"/compute:beta/compute.globalForwardingRules.setLabels/resource": resource
@ -33324,6 +33456,37 @@
"/compute:beta/compute.urlMaps.validate": validate_url_map
"/compute:beta/compute.urlMaps.validate/project": project
"/compute:beta/compute.urlMaps.validate/urlMap": url_map
"/compute:beta/compute.vpnGateways.aggregatedList": aggregated_vpn_gateway_list
"/compute:beta/compute.vpnGateways.aggregatedList/filter": filter
"/compute:beta/compute.vpnGateways.aggregatedList/maxResults": max_results
"/compute:beta/compute.vpnGateways.aggregatedList/orderBy": order_by
"/compute:beta/compute.vpnGateways.aggregatedList/pageToken": page_token
"/compute:beta/compute.vpnGateways.aggregatedList/project": project
"/compute:beta/compute.vpnGateways.delete": delete_vpn_gateway
"/compute:beta/compute.vpnGateways.delete/project": project
"/compute:beta/compute.vpnGateways.delete/region": region
"/compute:beta/compute.vpnGateways.delete/requestId": request_id
"/compute:beta/compute.vpnGateways.delete/vpnGateway": vpn_gateway
"/compute:beta/compute.vpnGateways.get": get_vpn_gateway
"/compute:beta/compute.vpnGateways.get/project": project
"/compute:beta/compute.vpnGateways.get/region": region
"/compute:beta/compute.vpnGateways.get/vpnGateway": vpn_gateway
"/compute:beta/compute.vpnGateways.insert": insert_vpn_gateway
"/compute:beta/compute.vpnGateways.insert/project": project
"/compute:beta/compute.vpnGateways.insert/region": region
"/compute:beta/compute.vpnGateways.insert/requestId": request_id
"/compute:beta/compute.vpnGateways.list": list_vpn_gateways
"/compute:beta/compute.vpnGateways.list/filter": filter
"/compute:beta/compute.vpnGateways.list/maxResults": max_results
"/compute:beta/compute.vpnGateways.list/orderBy": order_by
"/compute:beta/compute.vpnGateways.list/pageToken": page_token
"/compute:beta/compute.vpnGateways.list/project": project
"/compute:beta/compute.vpnGateways.list/region": region
"/compute:beta/compute.vpnGateways.setLabels": set_vpn_gateway_labels
"/compute:beta/compute.vpnGateways.setLabels/project": project
"/compute:beta/compute.vpnGateways.setLabels/region": region
"/compute:beta/compute.vpnGateways.setLabels/requestId": request_id
"/compute:beta/compute.vpnGateways.setLabels/resource": resource
"/compute:beta/compute.vpnTunnels.aggregatedList": list_aggregated_vpn_tunnel
"/compute:beta/compute.vpnTunnels.aggregatedList/filter": filter
"/compute:beta/compute.vpnTunnels.aggregatedList/maxResults": max_results
@ -34891,6 +35054,7 @@
"/compute:v1/ManagedInstance/instance": instance
"/compute:v1/ManagedInstance/instanceStatus": instance_status
"/compute:v1/ManagedInstance/lastAttempt": last_attempt
"/compute:v1/ManagedInstance/version": version
"/compute:v1/ManagedInstanceLastAttempt": managed_instance_last_attempt
"/compute:v1/ManagedInstanceLastAttempt/errors": errors
"/compute:v1/ManagedInstanceLastAttempt/errors/errors": errors
@ -34898,6 +35062,9 @@
"/compute:v1/ManagedInstanceLastAttempt/errors/errors/error/code": code
"/compute:v1/ManagedInstanceLastAttempt/errors/errors/error/location": location
"/compute:v1/ManagedInstanceLastAttempt/errors/errors/error/message": message
"/compute:v1/ManagedInstanceVersion": managed_instance_version
"/compute:v1/ManagedInstanceVersion/instanceTemplate": instance_template
"/compute:v1/ManagedInstanceVersion/name": name
"/compute:v1/Metadata": metadata
"/compute:v1/Metadata/fingerprint": fingerprint
"/compute:v1/Metadata/items": items
@ -77877,6 +78044,8 @@
"/healthcare:v1alpha2/DicomConfig": dicom_config
"/healthcare:v1alpha2/DicomConfig/keepList": keep_list
"/healthcare:v1alpha2/DicomStore": dicom_store
"/healthcare:v1alpha2/DicomStore/labels": labels
"/healthcare:v1alpha2/DicomStore/labels/label": label
"/healthcare:v1alpha2/DicomStore/name": name
"/healthcare:v1alpha2/DicomStore/notificationConfig": notification_config
"/healthcare:v1alpha2/Empty": empty
@ -77898,7 +78067,10 @@
"/healthcare:v1alpha2/FhirStore": fhir_store
"/healthcare:v1alpha2/FhirStore/disableReferentialIntegrity": disable_referential_integrity
"/healthcare:v1alpha2/FhirStore/disableResourceVersioning": disable_resource_versioning
"/healthcare:v1alpha2/FhirStore/enableHistoryImport": enable_history_import
"/healthcare:v1alpha2/FhirStore/enableUpdateCreate": enable_update_create
"/healthcare:v1alpha2/FhirStore/labels": labels
"/healthcare:v1alpha2/FhirStore/labels/label": label
"/healthcare:v1alpha2/FhirStore/name": name
"/healthcare:v1alpha2/FhirStore/notificationConfig": notification_config
"/healthcare:v1alpha2/Finding": finding
@ -77935,6 +78107,8 @@
"/healthcare:v1alpha2/GoogleCloudHealthcareV1alpha2FhirRestImportResourcesResponse/fhirStore": fhir_store
"/healthcare:v1alpha2/GoogleCloudHealthcareV1alpha2FhirRestImportResourcesResponse/inputSize": input_size
"/healthcare:v1alpha2/Hl7V2Store": hl7_v2_store
"/healthcare:v1alpha2/Hl7V2Store/labels": labels
"/healthcare:v1alpha2/Hl7V2Store/labels/label": label
"/healthcare:v1alpha2/Hl7V2Store/name": name
"/healthcare:v1alpha2/Hl7V2Store/notificationConfig": notification_config
"/healthcare:v1alpha2/Hl7V2Store/parserConfig": parser_config
@ -78142,6 +78316,9 @@
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.dicomWeb.instances": instances_project_location_dataset_dicom_store_dicom_web
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.dicomWeb.instances/dicomWebPath": dicom_web_path
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.dicomWeb.instances/parent": parent
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.dicomWeb.searchForStudies": search_project_location_dataset_dicom_store_dicom_web_for_studies
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.dicomWeb.searchForStudies/dicomWebPath": dicom_web_path
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.dicomWeb.searchForStudies/parent": parent
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.dicomWeb.series": series_project_location_dataset_dicom_store_dicom_web
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.dicomWeb.series/dicomWebPath": dicom_web_path
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.dicomWeb.series/parent": parent
@ -78210,6 +78387,7 @@
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.import": import_dicom_store_dicom_data
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.import/name": name
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.list": list_project_location_dataset_dicom_stores
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.list/filter": filter
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.list/pageSize": page_size
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.list/pageToken": page_token
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.list/parent": parent
@ -78275,6 +78453,7 @@
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.import": import_fhir_store_resources
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.import/name": name
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.list": list_project_location_dataset_fhir_stores
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.list/filter": filter
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.list/pageSize": page_size
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.list/pageToken": page_token
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.list/parent": parent
@ -78303,6 +78482,7 @@
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.hl7V2Stores.getIamPolicy": get_project_location_dataset_hl7_v2_store_iam_policy
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.hl7V2Stores.getIamPolicy/resource": resource
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.hl7V2Stores.list": list_project_location_dataset_hl7_v2_stores
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.hl7V2Stores.list/filter": filter
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.hl7V2Stores.list/pageSize": page_size
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.hl7V2Stores.list/pageToken": page_token
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.hl7V2Stores.list/parent": parent
@ -87438,6 +87618,7 @@
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandDurations/upload": upload
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents": google_devtools_remotebuildbot_command_events
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/dockerCacheHit": docker_cache_hit
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/inputCacheMiss": input_cache_miss
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/numErrors": num_errors
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/numWarnings": num_warnings
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest": google_devtools_remotebuildexecution_admin_v1alpha_create_instance_request
@ -87788,6 +87969,7 @@
"/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandDurations/upload": upload
"/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents": google_devtools_remotebuildbot_command_events
"/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents/dockerCacheHit": docker_cache_hit
"/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents/inputCacheMiss": input_cache_miss
"/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents/numErrors": num_errors
"/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents/numWarnings": num_warnings
"/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest": google_devtools_remotebuildexecution_admin_v1alpha_create_instance_request
@ -88197,6 +88379,7 @@
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandDurations/upload": upload
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents": google_devtools_remotebuildbot_command_events
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/dockerCacheHit": docker_cache_hit
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/inputCacheMiss": input_cache_miss
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/numErrors": num_errors
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/numWarnings": num_warnings
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest": google_devtools_remotebuildexecution_admin_v1alpha_create_instance_request

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
REVISION = '20190201'
REVISION = '20190211'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1867,6 +1867,12 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# URLs of the zones where the disk should be replicated to. Only applicable for
# regional resources.
# Corresponds to the JSON property `replicaZones`
# @return [Array<String>]
attr_accessor :replica_zones
# The source image to create this disk. When creating a new instance, one of
# initializeParams.sourceImage or disks.source is required except for local SSD.
# To create a disk with one of the public operating system images, specify the
@ -1920,6 +1926,7 @@ module Google
@disk_type = args[:disk_type] if args.key?(:disk_type)
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
@labels = args[:labels] if args.key?(:labels)
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
@source_image = args[:source_image] if args.key?(:source_image)
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
@ -2011,16 +2018,16 @@ module Google
include Google::Apis::Core::Hashable
# List of authentication methods that can be used for origin authentication.
# Similar to peers, these will be evaluated in order; the first valid one will
# be used to set origin identity. If none of these methods pass, the request
# will be rejected with authentication failed error (401). Leave the list empty
# if origin authentication is not required.
# Similar to peers, these will be evaluated in order the first valid one will be
# used to set origin identity. If none of these methods pass, the request will
# be rejected with authentication failed error (401). Leave the list empty if
# origin authentication is not required.
# Corresponds to the JSON property `origins`
# @return [Array<Google::Apis::ComputeAlpha::OriginAuthenticationMethod>]
attr_accessor :origins
# List of authentication methods that can be used for peer authentication. They
# will be evaluated in order; the first valid one will be used to set peer
# will be evaluated in order the first valid one will be used to set peer
# identity. If none of these methods pass, the request will be rejected with
# authentication failed error (401). Leave the list empty if peer authentication
# is not required.
@ -10674,8 +10681,8 @@ module Google
# @return [String]
attr_accessor :container_type
# An optional SHA1 checksum of the disk image before unpackaging; provided by
# the client when the disk image is created.
# An optional SHA1 checksum of the disk image before unpackaging provided by the
# client when the disk image is created.
# Corresponds to the JSON property `sha1Checksum`
# @return [String]
attr_accessor :sha1_checksum
@ -14163,8 +14170,8 @@ module Google
# @return [String]
attr_accessor :google_ip_address
# [Output Only] Google reference ID; to be used when raising support tickets
# with Google or otherwise to debug backend connectivity issues.
# [Output Only] Google reference ID to be used when raising support tickets with
# Google or otherwise to debug backend connectivity issues.
# Corresponds to the JSON property `googleReferenceId`
# @return [String]
attr_accessor :google_reference_id
@ -18788,12 +18795,30 @@ module Google
attr_accessor :export_custom_routes
alias_method :export_custom_routes?, :export_custom_routes
# Whether subnet routes with public IP range are exported. The default value is
# true, all subnet routes are exported. The IPv4 special-use ranges (https://en.
# wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and
# are not controlled by this field.
# Corresponds to the JSON property `exportSubnetRoutesWithPublicIp`
# @return [Boolean]
attr_accessor :export_subnet_routes_with_public_ip
alias_method :export_subnet_routes_with_public_ip?, :export_subnet_routes_with_public_ip
# Whether to import the custom routes from peer network.
# Corresponds to the JSON property `importCustomRoutes`
# @return [Boolean]
attr_accessor :import_custom_routes
alias_method :import_custom_routes?, :import_custom_routes
# Whether subnet routes with public IP range are imported. The default value is
# false. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#
# Special_addresses) are always imported from peers and are not controlled by
# this field.
# Corresponds to the JSON property `importSubnetRoutesWithPublicIp`
# @return [Boolean]
attr_accessor :import_subnet_routes_with_public_ip
alias_method :import_subnet_routes_with_public_ip?, :import_subnet_routes_with_public_ip
# Name of this peering. Provided by the client when the peering is created. The
# name must comply with RFC1035. Specifically, the name must be 1-63 characters
# long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
@ -18832,7 +18857,9 @@ module Google
@auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes)
@exchange_subnet_routes = args[:exchange_subnet_routes] if args.key?(:exchange_subnet_routes)
@export_custom_routes = args[:export_custom_routes] if args.key?(:export_custom_routes)
@export_subnet_routes_with_public_ip = args[:export_subnet_routes_with_public_ip] if args.key?(:export_subnet_routes_with_public_ip)
@import_custom_routes = args[:import_custom_routes] if args.key?(:import_custom_routes)
@import_subnet_routes_with_public_ip = args[:import_subnet_routes_with_public_ip] if args.key?(:import_subnet_routes_with_public_ip)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@state = args[:state] if args.key?(:state)
@ -26869,6 +26896,12 @@ module Google
# @return [Fixnum]
attr_accessor :priority
# Must be specified if the action is "rate_based_blacklist" or "throttle".
# Cannot be specified for any other actions.
# Corresponds to the JSON property `rateLimitOptions`
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptions]
attr_accessor :rate_limit_options
# 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,
# all VMs within the organization will receive the rule.
@ -26891,6 +26924,7 @@ module Google
@match = args[:match] if args.key?(:match)
@preview = args[:preview] if args.key?(:preview)
@priority = args[:priority] if args.key?(:priority)
@rate_limit_options = args[:rate_limit_options] if args.key?(:rate_limit_options)
@target_resources = args[:target_resources] if args.key?(:target_resources)
end
end
@ -26999,6 +27033,57 @@ module Google
end
end
#
class SecurityPolicyRuleRateLimitOptions
include Google::Apis::Core::Hashable
# Can only be specifed if the action for the rule is "rate_based_blacklist" If
# specified, determines the time (in seconds) the traffic will continue to be
# blocked by the rate limit after the rate falls below the threshold. The
# default value is 0 seconds.
# Corresponds to the JSON property `blockDuration`
# @return [Fixnum]
attr_accessor :block_duration
# Action to take when requests are under the given threshold. When requests are
# throttled, this is also the action for all requests which are not dropped.
# Valid options are "allow", "fairshare", and "drop_overload".
# Corresponds to the JSON property `conformAction`
# @return [String]
attr_accessor :conform_action
# Determines the key to enforce the threshold_rps limit on. If key is "IP", each
# IP has this limit enforced separately, whereas "ALL_IPs" means a single limit
# is applied to all requests matching this rule.
# Corresponds to the JSON property `enforceOnKey`
# @return [String]
attr_accessor :enforce_on_key
# When a request is denied, returns the HTTP response code specified. Valid
# options are "deny()" where valid values for status are 403, 404, 429, and 502.
# Corresponds to the JSON property `exceedAction`
# @return [String]
attr_accessor :exceed_action
# Rate in requests per second at which to begin ratelimiting.
# Corresponds to the JSON property `thresholdRps`
# @return [Fixnum]
attr_accessor :threshold_rps
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@block_duration = args[:block_duration] if args.key?(:block_duration)
@conform_action = args[:conform_action] if args.key?(:conform_action)
@enforce_on_key = args[:enforce_on_key] if args.key?(:enforce_on_key)
@exceed_action = args[:exceed_action] if args.key?(:exceed_action)
@threshold_rps = args[:threshold_rps] if args.key?(:threshold_rps)
end
end
# The authentication and authorization settings for a BackendService.
class SecuritySettings
include Google::Apis::Core::Hashable

View File

@ -3670,6 +3670,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SecurityPolicyRuleRateLimitOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SecuritySettings
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5346,6 +5352,7 @@ module Google
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
hash :labels, as: 'labels'
collection :replica_zones, as: 'replicaZones'
property :source_image, as: 'sourceImage'
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
@ -9511,7 +9518,9 @@ module Google
property :auto_create_routes, as: 'autoCreateRoutes'
property :exchange_subnet_routes, as: 'exchangeSubnetRoutes'
property :export_custom_routes, as: 'exportCustomRoutes'
property :export_subnet_routes_with_public_ip, as: 'exportSubnetRoutesWithPublicIp'
property :import_custom_routes, as: 'importCustomRoutes'
property :import_subnet_routes_with_public_ip, as: 'importSubnetRoutesWithPublicIp'
property :name, as: 'name'
property :network, as: 'network'
property :state, as: 'state'
@ -11620,6 +11629,8 @@ module Google
property :preview, as: 'preview'
property :priority, as: 'priority'
property :rate_limit_options, as: 'rateLimitOptions', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptions, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptions::Representation
collection :target_resources, as: 'targetResources'
end
end
@ -11653,6 +11664,17 @@ module Google
end
end
class SecurityPolicyRuleRateLimitOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :block_duration, as: 'blockDuration'
property :conform_action, as: 'conformAction'
property :enforce_on_key, as: 'enforceOnKey'
property :exceed_action, as: 'exceedAction'
property :threshold_rps, as: 'thresholdRps'
end
end
class SecuritySettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -10599,7 +10599,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Performs a reset on the instance. This is a hard reset; the VM does not do a
# Performs a reset on the instance. This is a hard reset the VM does not do a
# graceful shutdown. For more information, see Resetting an instance.
# @param [String] project
# Project ID for this request.
@ -16710,6 +16710,10 @@ module Google
# @param [String] security_policy
# Name of the security policy to update.
# @param [Google::Apis::ComputeAlpha::SecurityPolicyAssociation] security_policy_association_object
# @param [Boolean] replace_existing_association
# Indicates whether or not to replace it if an association of the attachment
# already exists. This is false by default, in which case an error will be
# returned if an assocation already exists.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
@ -16740,13 +16744,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def add_organization_security_policy_association(security_policy, security_policy_association_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def add_organization_security_policy_association(security_policy, security_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/addAssociation', options)
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyAssociation::Representation
command.request_object = security_policy_association_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['securityPolicy'] = security_policy unless security_policy.nil?
command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
REVISION = '20190201'
REVISION = '20190211'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -5769,6 +5769,257 @@ module Google
end
end
# External VPN gateway is the on-premises VPN gateway(s) or another cloud
# provider?s VPN gateway that connects to your Google Cloud VPN gateway. To
# create a highly available VPN from Google Cloud to your on-premises side or
# another Cloud provider's VPN gateway, you must create a external VPN gateway
# resource in GCP, which provides the information to GCP about your external VPN
# gateway.
class ExternalVpnGateway
include Google::Apis::Core::Hashable
# [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp`
# @return [String]
attr_accessor :creation_timestamp
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
# List of interfaces for this external VPN gateway.
# Corresponds to the JSON property `interfaces`
# @return [Array<Google::Apis::ComputeBeta::ExternalVpnGatewayInterface>]
attr_accessor :interfaces
# [Output Only] Type of the resource. Always compute#externalVpnGateway for
# externalVpnGateways.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# A fingerprint for the labels being applied to this ExternalVpnGateway, which
# is essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels, otherwise the request
# will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve an
# ExternalVpnGateway.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :label_fingerprint
# Labels to apply to this ExternalVpnGateway resource. These can be later
# modified by the setLabels method. Each label key/value must comply with
# RFC1035. Label values may be empty.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# 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 match the regular expression `[a-z]([-a-
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
# and all following characters must be a dash, lowercase letter, or digit,
# except the last character, which cannot be a dash.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Indicates the user-supplied redundancy type of this external VPN gateway.
# Corresponds to the JSON property `redundancyType`
# @return [String]
attr_accessor :redundancy_type
# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@id = args[:id] if args.key?(:id)
@interfaces = args[:interfaces] if args.key?(:interfaces)
@kind = args[:kind] if args.key?(:kind)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@redundancy_type = args[:redundancy_type] if args.key?(:redundancy_type)
@self_link = args[:self_link] if args.key?(:self_link)
end
end
# The interface for the external VPN gateway.
class ExternalVpnGatewayInterface
include Google::Apis::Core::Hashable
# The numeric ID of this interface. The allowed input values for this id for
# different redundancy types of external VPN gateway:
# SINGLE_IP_INTERNALLY_REDUNDANT - 0 TWO_IPS_REDUNDANCY - 0, 1
# FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
# IP address of the interface in the external VPN gateway. Only IPv4 is
# supported. This IP address can be either from your on-premise gateway or
# another Cloud provider?s VPN gateway, it cannot be an IP address from Google
# Compute Engine.
# Corresponds to the JSON property `ipAddress`
# @return [String]
attr_accessor :ip_address
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@ip_address = args[:ip_address] if args.key?(:ip_address)
end
end
# Response to the list request, and contains a list of externalVpnGateways.
class ExternalVpnGatewayList
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# [Output Only] Unique identifier for the resource; defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# A list of ExternalVpnGateway resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeBeta::ExternalVpnGateway>]
attr_accessor :items
# [Output Only] Type of resource. Always compute#externalVpnGatewayList for
# lists of externalVpnGateways.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeBeta::ExternalVpnGatewayList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@etag = args[:etag] if args.key?(:etag)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeBeta::ExternalVpnGatewayList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# Represents a Firewall resource.
class Firewall
include Google::Apis::Core::Hashable
@ -6291,6 +6542,18 @@ module Google
# @return [String]
attr_accessor :description
# Fingerprint of this resource. A hash of the contents stored in this object.
# This field is used in optimistic locking. This field will be ignored when
# inserting a ForwardingRule. Include the fingerprint in patch request to ensure
# that you do not overwrite changes that were applied from another concurrent
# request.
# To see the latest fingerprint, make a get() request to retrieve a
# ForwardingRule.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :fingerprint
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
@ -6461,6 +6724,7 @@ module Google
@backend_service = args[:backend_service] if args.key?(:backend_service)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@id = args[:id] if args.key?(:id)
@ip_version = args[:ip_version] if args.key?(:ip_version)
@kind = args[:kind] if args.key?(:kind)
@ -8331,8 +8595,8 @@ module Google
# @return [String]
attr_accessor :container_type
# An optional SHA1 checksum of the disk image before unpackaging; provided by
# the client when the disk image is created.
# An optional SHA1 checksum of the disk image before unpackaging provided by the
# client when the disk image is created.
# Corresponds to the JSON property `sha1Checksum`
# @return [String]
attr_accessor :sha1_checksum
@ -11435,8 +11699,8 @@ module Google
# @return [String]
attr_accessor :google_ip_address
# [Output Only] Google reference ID; to be used when raising support tickets
# with Google or otherwise to debug backend connectivity issues.
# [Output Only] Google reference ID to be used when raising support tickets with
# Google or otherwise to debug backend connectivity issues.
# Corresponds to the JSON property `googleReferenceId`
# @return [String]
attr_accessor :google_reference_id
@ -26784,6 +27048,452 @@ module Google
end
end
# Represents a VPN gateway resource.
class VpnGateway
include Google::Apis::Core::Hashable
# [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp`
# @return [String]
attr_accessor :creation_timestamp
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
# [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# A fingerprint for the labels being applied to this VpnGateway, which is
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels, otherwise the request
# will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :label_fingerprint
# Labels to apply to this VpnGateway resource. These can be later modified by
# the setLabels method. Each label key/value must comply with RFC1035. Label
# values may be empty.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# 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 match the regular expression `[a-z]([-a-
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
# and all following characters must be a dash, lowercase letter, or digit,
# except the last character, which cannot be a dash.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# URL of the network to which this VPN gateway is attached. Provided by the
# client when the VPN gateway is created.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
# [Output Only] URL of the region where the VPN gateway resides.
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region
# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] A list of interfaces on this VPN gateway.
# Corresponds to the JSON property `vpnInterfaces`
# @return [Array<Google::Apis::ComputeBeta::VpnGatewayVpnGatewayInterface>]
attr_accessor :vpn_interfaces
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@vpn_interfaces = args[:vpn_interfaces] if args.key?(:vpn_interfaces)
end
end
#
class VpnGatewayAggregatedList
include Google::Apis::Core::Hashable
# [Output Only] Unique identifier for the resource; defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# A list of VpnGateway resources.
# Corresponds to the JSON property `items`
# @return [Hash<String,Google::Apis::ComputeBeta::VpnGatewaysScopedList>]
attr_accessor :items
# [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# Contains a list of VpnGateway resources.
class VpnGatewayList
include Google::Apis::Core::Hashable
# [Output Only] Unique identifier for the resource; defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# A list of VpnGateway resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeBeta::VpnGateway>]
attr_accessor :items
# [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeBeta::VpnGatewayList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeBeta::VpnGatewayList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# A VPN gateway interface.
class VpnGatewayVpnGatewayInterface
include Google::Apis::Core::Hashable
# The numeric ID of this VPN gateway interface.
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
# The external IP address for this VPN gateway interface.
# Corresponds to the JSON property `ipAddress`
# @return [String]
attr_accessor :ip_address
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@ip_address = args[:ip_address] if args.key?(:ip_address)
end
end
#
class VpnGatewaysScopedList
include Google::Apis::Core::Hashable
# [Output Only] A list of VPN gateways contained in this scope.
# Corresponds to the JSON property `vpnGateways`
# @return [Array<Google::Apis::ComputeBeta::VpnGateway>]
attr_accessor :vpn_gateways
# [Output Only] Informational warning which replaces the list of addresses when
# the list is empty.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeBeta::VpnGatewaysScopedList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@vpn_gateways = args[:vpn_gateways] if args.key?(:vpn_gateways)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning which replaces the list of addresses when
# the list is empty.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeBeta::VpnGatewaysScopedList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.
# vpnTunnels ==)
class VpnTunnel
@ -26932,6 +27642,18 @@ module Google
# @return [String]
attr_accessor :target_vpn_gateway
# URL of the VPN gateway with which this VPN tunnel is associated. Provided by
# the client when the VPN tunnel is created. This must be used (instead of
# target_vpn_gateway) if a High Availability VPN gateway resource is created.
# Corresponds to the JSON property `vpnGateway`
# @return [String]
attr_accessor :vpn_gateway
# The interface ID of the VPN gateway with which this VPN tunnel is associated.
# Corresponds to the JSON property `vpnGatewayInterface`
# @return [Fixnum]
attr_accessor :vpn_gateway_interface
def initialize(**args)
update!(**args)
end
@ -26960,6 +27682,8 @@ module Google
@shared_secret_hash = args[:shared_secret_hash] if args.key?(:shared_secret_hash)
@status = args[:status] if args.key?(:status)
@target_vpn_gateway = args[:target_vpn_gateway] if args.key?(:target_vpn_gateway)
@vpn_gateway = args[:vpn_gateway] if args.key?(:vpn_gateway)
@vpn_gateway_interface = args[:vpn_gateway_interface] if args.key?(:vpn_gateway_interface)
end
end

View File

@ -802,6 +802,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ExternalVpnGateway
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExternalVpnGatewayInterface
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExternalVpnGatewayList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class Firewall
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3760,6 +3790,72 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class VpnGateway
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VpnGatewayAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class VpnGatewayList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class VpnGatewayVpnGatewayInterface
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VpnGatewaysScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class VpnTunnel
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5315,6 +5411,64 @@ module Google
end
end
class ExternalVpnGateway
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
collection :interfaces, as: 'interfaces', class: Google::Apis::ComputeBeta::ExternalVpnGatewayInterface, decorator: Google::Apis::ComputeBeta::ExternalVpnGatewayInterface::Representation
property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
property :name, as: 'name'
property :redundancy_type, as: 'redundancyType'
property :self_link, as: 'selfLink'
end
end
class ExternalVpnGatewayInterface
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :ip_address, as: 'ipAddress'
end
end
class ExternalVpnGatewayList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeBeta::ExternalVpnGateway, decorator: Google::Apis::ComputeBeta::ExternalVpnGateway::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ExternalVpnGatewayList::Warning, decorator: Google::Apis::ComputeBeta::ExternalVpnGatewayList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::ExternalVpnGatewayList::Warning::Datum, decorator: Google::Apis::ComputeBeta::ExternalVpnGatewayList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class Firewall
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -5418,6 +5572,7 @@ module Google
property :backend_service, as: 'backendService'
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :fingerprint, :base64 => true, as: 'fingerprint'
property :id, :numeric_string => true, as: 'id'
property :ip_version, as: 'ipVersion'
property :kind, as: 'kind'
@ -10666,6 +10821,124 @@ module Google
end
end
class VpnGateway
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
property :name, as: 'name'
property :network, as: 'network'
property :region, as: 'region'
property :self_link, as: 'selfLink'
collection :vpn_interfaces, as: 'vpnInterfaces', class: Google::Apis::ComputeBeta::VpnGatewayVpnGatewayInterface, decorator: Google::Apis::ComputeBeta::VpnGatewayVpnGatewayInterface::Representation
end
end
class VpnGatewayAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeBeta::VpnGatewaysScopedList, decorator: Google::Apis::ComputeBeta::VpnGatewaysScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class VpnGatewayList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeBeta::VpnGateway, decorator: Google::Apis::ComputeBeta::VpnGateway::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::VpnGatewayList::Warning, decorator: Google::Apis::ComputeBeta::VpnGatewayList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::VpnGatewayList::Warning::Datum, decorator: Google::Apis::ComputeBeta::VpnGatewayList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class VpnGatewayVpnGatewayInterface
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :ip_address, as: 'ipAddress'
end
end
class VpnGatewaysScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :vpn_gateways, as: 'vpnGateways', class: Google::Apis::ComputeBeta::VpnGateway, decorator: Google::Apis::ComputeBeta::VpnGateway::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::VpnGatewaysScopedList::Warning, decorator: Google::Apis::ComputeBeta::VpnGatewaysScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::VpnGatewaysScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::VpnGatewaysScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class VpnTunnel
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -10691,6 +10964,8 @@ module Google
property :shared_secret_hash, as: 'sharedSecretHash'
property :status, as: 'status'
property :target_vpn_gateway, as: 'targetVpnGateway'
property :vpn_gateway, as: 'vpnGateway'
property :vpn_gateway_interface, as: 'vpnGatewayInterface'
end
end

View File

@ -3444,6 +3444,290 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the specified externalVpnGateway.
# @param [String] project
# Project ID for this request.
# @param [String] external_vpn_gateway
# Name of the externalVpnGateways to delete.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_external_vpn_gateway(project, external_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{project}/global/externalVpnGateways/{externalVpnGateway}', options)
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['externalVpnGateway'] = external_vpn_gateway unless external_vpn_gateway.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns the specified externalVpnGateway. Get a list of available
# externalVpnGateways by making a list() request.
# @param [String] project
# Project ID for this request.
# @param [String] external_vpn_gateway
# Name of the externalVpnGateway to return.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::ExternalVpnGateway] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::ExternalVpnGateway]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_external_vpn_gateway(project, external_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/externalVpnGateways/{externalVpnGateway}', options)
command.response_representation = Google::Apis::ComputeBeta::ExternalVpnGateway::Representation
command.response_class = Google::Apis::ComputeBeta::ExternalVpnGateway
command.params['project'] = project unless project.nil?
command.params['externalVpnGateway'] = external_vpn_gateway unless external_vpn_gateway.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates a ExternalVpnGateway in the specified project using the data included
# in the request.
# @param [String] project
# Project ID for this request.
# @param [Google::Apis::ComputeBeta::ExternalVpnGateway] external_vpn_gateway_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_external_vpn_gateway(project, external_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/externalVpnGateways', options)
command.request_representation = Google::Apis::ComputeBeta::ExternalVpnGateway::Representation
command.request_object = external_vpn_gateway_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the list of ExternalVpnGateway available to the specified project.
# @param [String] project
# Project ID for this request.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either =, !=, >, or <.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named example-instance by specifying name != example-instance.
# You can also filter nested fields. For example, you could specify scheduling.
# automaticRestart = false to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
# Intel Skylake"). By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
# automaticRestart = true).
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::ExternalVpnGatewayList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::ExternalVpnGatewayList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_external_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/externalVpnGateways', options)
command.response_representation = Google::Apis::ComputeBeta::ExternalVpnGatewayList::Representation
command.response_class = Google::Apis::ComputeBeta::ExternalVpnGatewayList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Sets the labels on an ExternalVpnGateway. To learn more about labels, read the
# Labeling Resources documentation.
# @param [String] project
# Project ID for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeBeta::GlobalSetLabelsRequest] global_set_labels_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_external_vpn_gateway_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/externalVpnGateways/{resource}/setLabels', options)
command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation
command.request_object = global_set_labels_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# @param [String] project
# Project ID for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_external_vpn_gateway_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/externalVpnGateways/{resource}/testIamPermissions', options)
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
command.request_object = test_permissions_request_object
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
command.params['project'] = project unless project.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified firewall.
# @param [String] project
# Project ID for this request.
@ -4081,6 +4365,62 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the specified forwarding rule with the data included in the request.
# This method supports PATCH semantics and uses the JSON merge patch format and
# processing rules. Currently, you can only patch the network_tier field.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region scoping this request.
# @param [String] forwarding_rule
# Name of the ForwardingRule resource to patch.
# @param [Google::Apis::ComputeBeta::ForwardingRule] forwarding_rule_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options)
command.request_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation
command.request_object = forwarding_rule_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Sets the labels on the specified resource. To learn more about labels, read
# the Labeling Resources documentation.
# @param [String] project
@ -4723,6 +5063,59 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the specified forwarding rule with the data included in the request.
# This method supports PATCH semantics and uses the JSON merge patch format and
# processing rules. Currently, you can only patch the network_tier field.
# @param [String] project
# Project ID for this request.
# @param [String] forwarding_rule
# Name of the ForwardingRule resource to patch.
# @param [Google::Apis::ComputeBeta::ForwardingRule] forwarding_rule_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{project}/global/forwardingRules/{forwardingRule}', options)
command.request_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation
command.request_object = forwarding_rule_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Sets the labels on the specified resource. To learn more about labels, read
# the Labeling Resources documentation.
# @param [String] project
@ -9335,7 +9728,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Performs a reset on the instance. This is a hard reset; the VM does not do a
# Performs a reset on the instance. This is a hard reset the VM does not do a
# graceful shutdown. For more information, see Resetting an instance.
# @param [String] project
# Project ID for this request.
@ -25064,6 +25457,349 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves an aggregated list of VPN gateways.
# @param [String] project
# Project ID for this request.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either =, !=, >, or <.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named example-instance by specifying name != example-instance.
# You can also filter nested fields. For example, you could specify scheduling.
# automaticRestart = false to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
# Intel Skylake"). By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
# automaticRestart = true).
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::VpnGatewayAggregatedList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::VpnGatewayAggregatedList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def aggregated_vpn_gateway_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/aggregated/vpnGateways', options)
command.response_representation = Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::VpnGatewayAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified VPN gateway.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] vpn_gateway
# Name of the VPN gateway to delete.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_vpn_gateway(project, region, vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{project}/regions/{region}/vpnGateways/{vpnGateway}', options)
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['vpnGateway'] = vpn_gateway unless vpn_gateway.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns the specified VPN gateway. Gets a list of available VPN gateways by
# making a list() request.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] vpn_gateway
# Name of the VPN gateway to return.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::VpnGateway] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::VpnGateway]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_vpn_gateway(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways/{vpnGateway}', options)
command.response_representation = Google::Apis::ComputeBeta::VpnGateway::Representation
command.response_class = Google::Apis::ComputeBeta::VpnGateway
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['vpnGateway'] = vpn_gateway unless vpn_gateway.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates a VPN gateway in the specified project and region using the data
# included in the request.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [Google::Apis::ComputeBeta::VpnGateway] vpn_gateway_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_vpn_gateway(project, region, vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways', options)
command.request_representation = Google::Apis::ComputeBeta::VpnGateway::Representation
command.request_object = vpn_gateway_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves a list of VPN gateways available to the specified project and region.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either =, !=, >, or <.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named example-instance by specifying name != example-instance.
# You can also filter nested fields. For example, you could specify scheduling.
# automaticRestart = false to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
# Intel Skylake"). By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
# automaticRestart = true).
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::VpnGatewayList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::VpnGatewayList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways', options)
command.response_representation = Google::Apis::ComputeBeta::VpnGatewayList::Representation
command.response_class = Google::Apis::ComputeBeta::VpnGatewayList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Sets the labels on a VpnGateway. To learn more about labels, read the Labeling
# Resources documentation.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeBeta::RegionSetLabelsRequest] region_set_labels_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways/{resource}/setLabels', options)
command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation
command.request_object = region_set_labels_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves an aggregated list of VPN tunnels.
# @param [String] project
# Project ID for this request.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20190201'
REVISION = '20190211'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -7031,8 +7031,8 @@ module Google
# @return [String]
attr_accessor :container_type
# An optional SHA1 checksum of the disk image before unpackaging; provided by
# the client when the disk image is created.
# An optional SHA1 checksum of the disk image before unpackaging provided by the
# client when the disk image is created.
# Corresponds to the JSON property `sha1Checksum`
# @return [String]
attr_accessor :sha1_checksum
@ -9898,8 +9898,8 @@ module Google
# @return [String]
attr_accessor :google_ip_address
# [Output Only] Google reference ID; to be used when raising support tickets
# with Google or otherwise to debug backend connectivity issues.
# [Output Only] Google reference ID to be used when raising support tickets with
# Google or otherwise to debug backend connectivity issues.
# Corresponds to the JSON property `googleReferenceId`
# @return [String]
attr_accessor :google_reference_id
@ -12253,6 +12253,11 @@ module Google
# @return [Google::Apis::ComputeV1::ManagedInstanceLastAttempt]
attr_accessor :last_attempt
# [Output Only] Intended version of this instance.
# Corresponds to the JSON property `version`
# @return [Google::Apis::ComputeV1::ManagedInstanceVersion]
attr_accessor :version
def initialize(**args)
update!(**args)
end
@ -12264,6 +12269,7 @@ module Google
@instance = args[:instance] if args.key?(:instance)
@instance_status = args[:instance_status] if args.key?(:instance_status)
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
@version = args[:version] if args.key?(:version)
end
end
@ -12339,6 +12345,32 @@ module Google
end
end
#
class ManagedInstanceVersion
include Google::Apis::Core::Hashable
# [Output Only] The intended template of the instance. This field is empty when
# current_action is one of ` DELETING, ABANDONING `.
# Corresponds to the JSON property `instanceTemplate`
# @return [String]
attr_accessor :instance_template
# [Output Only] Name of the version.
# 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)
@instance_template = args[:instance_template] if args.key?(:instance_template)
@name = args[:name] if args.key?(:name)
end
end
# A metadata key/value entry.
class Metadata
include Google::Apis::Core::Hashable

View File

@ -1636,6 +1636,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ManagedInstanceVersion
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Metadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -6336,6 +6342,8 @@ module Google
property :instance_status, as: 'instanceStatus'
property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeV1::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Representation
property :version, as: 'version', class: Google::Apis::ComputeV1::ManagedInstanceVersion, decorator: Google::Apis::ComputeV1::ManagedInstanceVersion::Representation
end
end
@ -6364,6 +6372,14 @@ module Google
end
end
class ManagedInstanceVersion
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance_template, as: 'instanceTemplate'
property :name, as: 'name'
end
end
class Metadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -7786,7 +7786,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Performs a reset on the instance. This is a hard reset; the VM does not do a
# Performs a reset on the instance. This is a hard reset the VM does not do a
# graceful shutdown. For more information, see Resetting an instance.
# @param [String] project
# Project ID for this request.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-analysis/api/reference/rest/
module ContaineranalysisV1alpha1
VERSION = 'V1alpha1'
REVISION = '20181207'
REVISION = '20190222'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -326,7 +326,7 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `domain:`domain``: A Google Apps domain name that represents all the
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]
@ -1992,7 +1992,7 @@ module Google
# @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
attr_accessor :fixed_location
# The severity (eg: distro assigned severity) for this vulnerability.
#
# Corresponds to the JSON property `severityName`
# @return [String]
attr_accessor :severity_name

View File

@ -25,9 +25,9 @@ module Google
# @see https://developers.google.com/games/services
module GamesManagementV1management
VERSION = 'V1management'
REVISION = '20181113'
REVISION = '20190222'
# Share your Google+ profile information and view and manage your game activity
# Create, edit, and delete your Google Play Games activity
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
end
end

View File

@ -25,12 +25,12 @@ module Google
# @see https://developers.google.com/games/services/
module GamesV1
VERSION = 'V1'
REVISION = '20190131'
REVISION = '20190222'
# View and manage its own configuration data in your Google Drive
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
# Share your Google+ profile information and view and manage your game activity
# Create, edit, and delete your Google Play Games activity
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
# Know who you are on Google

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/
module LoggingV2
VERSION = 'V2'
REVISION = '20190115'
REVISION = '20190223'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -411,8 +411,6 @@ module Google
# Deprecated. Use resource_names instead. One or more project identifiers or
# project numbers from which to retrieve log entries. Example: "my-project-1A".
# If present, these project identifiers are converted to resource name format
# and added to the list of resources in resource_names.
# Corresponds to the JSON property `projectIds`
# @return [Array<String>]
attr_accessor :project_ids

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/
module LoggingV2beta1
VERSION = 'V2beta1'
REVISION = '20190115'
REVISION = '20190223'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -384,8 +384,6 @@ module Google
# Deprecated. Use resource_names instead. One or more project identifiers or
# project numbers from which to retrieve log entries. Example: "my-project-1A".
# If present, these project identifiers are converted to resource name format
# and added to the list of resources in resource_names.
# Corresponds to the JSON property `projectIds`
# @return [Array<String>]
attr_accessor :project_ids

View File

@ -25,9 +25,9 @@ module Google
# @see https://developers.google.com/accounts/docs/OAuth2
module Oauth2V1
VERSION = 'V1'
REVISION = '20180628'
REVISION = '20190129'
# Know the list of people in your circles, your age range, and language
# View your basic profile info, including your age range and language
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
# Know who you are on Google

View File

@ -25,9 +25,9 @@ module Google
# @see https://developers.google.com/accounts/docs/OAuth2
module Oauth2V2
VERSION = 'V2'
REVISION = '20180628'
REVISION = '20190129'
# Know the list of people in your circles, your age range, and language
# View your basic profile info, including your age range and language
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
# Know who you are on Google

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/domains/
module PlusDomainsV1
VERSION = 'V1'
REVISION = '20180805'
REVISION = '20190218'
# View your circles and the people and pages in them
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
@ -33,7 +33,7 @@ module Google
# Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.
AUTH_PLUS_CIRCLES_WRITE = 'https://www.googleapis.com/auth/plus.circles.write'
# Know the list of people in your circles, your age range, and language
# View your basic profile info, including your age range and language
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
# Know who you are on Google

View File

@ -25,9 +25,9 @@ module Google
# @see https://developers.google.com/+/api/
module PlusV1
VERSION = 'V1'
REVISION = '20180805'
REVISION = '20190218'
# Know the list of people in your circles, your age range, and language
# View your basic profile info, including your age range and language
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
# Know who you are on Google

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1
VERSION = 'V1'
REVISION = '20190205'
REVISION = '20190226'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1537,6 +1537,11 @@ module Google
attr_accessor :docker_cache_hit
alias_method :docker_cache_hit?, :docker_cache_hit
# The input cache miss ratio.
# Corresponds to the JSON property `inputCacheMiss`
# @return [Float]
attr_accessor :input_cache_miss
# The number of errors reported.
# Corresponds to the JSON property `numErrors`
# @return [Fixnum]
@ -1554,6 +1559,7 @@ module Google
# Update properties of this object
def update!(**args)
@docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit)
@input_cache_miss = args[:input_cache_miss] if args.key?(:input_cache_miss)
@num_errors = args[:num_errors] if args.key?(:num_errors)
@num_warnings = args[:num_warnings] if args.key?(:num_warnings)
end
@ -1908,8 +1914,8 @@ module Google
# @return [String]
attr_accessor :min_cpu_platform
# Determines whether the worker is reserved (and therefore won't be
# preempted).
# Determines whether the worker is reserved (equivalent to a Compute Engine
# on-demand VM and therefore won't be preempted).
# See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
# details.
# Corresponds to the JSON property `reserved`

View File

@ -716,6 +716,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :docker_cache_hit, as: 'dockerCacheHit'
property :input_cache_miss, as: 'inputCacheMiss'
property :num_errors, :numeric_string => true, as: 'numErrors'
property :num_warnings, :numeric_string => true, as: 'numWarnings'
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1alpha
VERSION = 'V1alpha'
REVISION = '20190205'
REVISION = '20190226'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1518,6 +1518,11 @@ module Google
attr_accessor :docker_cache_hit
alias_method :docker_cache_hit?, :docker_cache_hit
# The input cache miss ratio.
# Corresponds to the JSON property `inputCacheMiss`
# @return [Float]
attr_accessor :input_cache_miss
# The number of errors reported.
# Corresponds to the JSON property `numErrors`
# @return [Fixnum]
@ -1535,6 +1540,7 @@ module Google
# Update properties of this object
def update!(**args)
@docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit)
@input_cache_miss = args[:input_cache_miss] if args.key?(:input_cache_miss)
@num_errors = args[:num_errors] if args.key?(:num_errors)
@num_warnings = args[:num_warnings] if args.key?(:num_warnings)
end
@ -1889,8 +1895,8 @@ module Google
# @return [String]
attr_accessor :min_cpu_platform
# Determines whether the worker is reserved (and therefore won't be
# preempted).
# Determines whether the worker is reserved (equivalent to a Compute Engine
# on-demand VM and therefore won't be preempted).
# See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
# details.
# Corresponds to the JSON property `reserved`

View File

@ -673,6 +673,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :docker_cache_hit, as: 'dockerCacheHit'
property :input_cache_miss, as: 'inputCacheMiss'
property :num_errors, :numeric_string => true, as: 'numErrors'
property :num_warnings, :numeric_string => true, as: 'numWarnings'
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV2
VERSION = 'V2'
REVISION = '20190205'
REVISION = '20190226'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2271,6 +2271,11 @@ module Google
attr_accessor :docker_cache_hit
alias_method :docker_cache_hit?, :docker_cache_hit
# The input cache miss ratio.
# Corresponds to the JSON property `inputCacheMiss`
# @return [Float]
attr_accessor :input_cache_miss
# The number of errors reported.
# Corresponds to the JSON property `numErrors`
# @return [Fixnum]
@ -2288,6 +2293,7 @@ module Google
# Update properties of this object
def update!(**args)
@docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit)
@input_cache_miss = args[:input_cache_miss] if args.key?(:input_cache_miss)
@num_errors = args[:num_errors] if args.key?(:num_errors)
@num_warnings = args[:num_warnings] if args.key?(:num_warnings)
end
@ -2642,8 +2648,8 @@ module Google
# @return [String]
attr_accessor :min_cpu_platform
# Determines whether the worker is reserved (and therefore won't be
# preempted).
# Determines whether the worker is reserved (equivalent to a Compute Engine
# on-demand VM and therefore won't be preempted).
# See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
# details.
# Corresponds to the JSON property `reserved`

View File

@ -991,6 +991,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :docker_cache_hit, as: 'dockerCacheHit'
property :input_cache_miss, as: 'inputCacheMiss'
property :num_errors, :numeric_string => true, as: 'numErrors'
property :num_warnings, :numeric_string => true, as: 'numWarnings'
end

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/
module ServicemanagementV1
VERSION = 'V1'
REVISION = '20190208'
REVISION = '20190227'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -648,7 +648,7 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `domain:`domain``: A Google Apps domain name that represents all the
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]
@ -3128,46 +3128,7 @@ module Google
end
end
# Quota configuration helps to achieve fairness and budgeting in service
# usage.
# The quota configuration works this way:
# - The service configuration defines a set of metrics.
# - For API calls, the quota.metric_rules maps methods to metrics with
# corresponding costs.
# - The quota.limits defines limits on the metrics, which will be used for
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects
# values:
# STANDARD: 10000
# # The metric rules bind all methods to the read_calls metric,
# # except for the UpdateBook and DeleteBook methods. These two methods
# # are mapped to the write_calls metric, with the UpdateBook method
# # consuming at twice rate as the DeleteBook method.
# metric_rules:
# - selector: "*"
# metric_costs:
# library.googleapis.com/read_calls: 1
# - selector: google.example.library.v1.LibraryService.UpdateBook
# metric_costs:
# library.googleapis.com/write_calls: 2
# - selector: google.example.library.v1.LibraryService.DeleteBook
# metric_costs:
# library.googleapis.com/write_calls: 1
# Corresponding Metric definition:
# metrics:
# - name: library.googleapis.com/read_calls
# display_name: Read requests
# metric_kind: DELTA
# value_type: INT64
# - name: library.googleapis.com/write_calls
# display_name: Write requests
# metric_kind: DELTA
# value_type: INT64
#
class Quota
include Google::Apis::Core::Hashable
@ -3726,46 +3687,7 @@ module Google
# @return [String]
attr_accessor :producer_project_id
# Quota configuration helps to achieve fairness and budgeting in service
# usage.
# The quota configuration works this way:
# - The service configuration defines a set of metrics.
# - For API calls, the quota.metric_rules maps methods to metrics with
# corresponding costs.
# - The quota.limits defines limits on the metrics, which will be used for
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects
# values:
# STANDARD: 10000
# # The metric rules bind all methods to the read_calls metric,
# # except for the UpdateBook and DeleteBook methods. These two methods
# # are mapped to the write_calls metric, with the UpdateBook method
# # consuming at twice rate as the DeleteBook method.
# metric_rules:
# - selector: "*"
# metric_costs:
# library.googleapis.com/read_calls: 1
# - selector: google.example.library.v1.LibraryService.UpdateBook
# metric_costs:
# library.googleapis.com/write_calls: 2
# - selector: google.example.library.v1.LibraryService.DeleteBook
# metric_costs:
# library.googleapis.com/write_calls: 1
# Corresponding Metric definition:
# metrics:
# - name: library.googleapis.com/read_calls
# display_name: Read requests
# metric_kind: DELTA
# value_type: INT64
# - name: library.googleapis.com/write_calls
# display_name: Write requests
# metric_kind: DELTA
# value_type: INT64
# Quota configuration.
# Corresponds to the JSON property `quota`
# @return [Google::Apis::ServicemanagementV1::Quota]
attr_accessor :quota

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/
module TestingV1
VERSION = 'V1'
REVISION = '20190220'
REVISION = '20190226'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -52,25 +52,25 @@ module Google
include Google::Apis::Core::Hashable
# Required. The id of the Android device to be used.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `androidModelId`
# @return [String]
attr_accessor :android_model_id
# Required. The id of the Android OS version to be used.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `androidVersionId`
# @return [String]
attr_accessor :android_version_id
# Required. The locale the test device used for testing.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `locale`
# @return [String]
attr_accessor :locale
# Required. How the device is oriented during the test.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `orientation`
# @return [String]
attr_accessor :orientation
@ -238,25 +238,25 @@ module Google
include Google::Apis::Core::Hashable
# Required. The ids of the set of Android device to be used.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `androidModelIds`
# @return [Array<String>]
attr_accessor :android_model_ids
# Required. The ids of the set of Android OS version to be used.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `androidVersionIds`
# @return [Array<String>]
attr_accessor :android_version_ids
# Required. The set of locales the test device will enable for testing.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `locales`
# @return [Array<String>]
attr_accessor :locales
# Required. The set of orientations to test with.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `orientations`
# @return [Array<String>]
attr_accessor :orientations
@ -1098,25 +1098,25 @@ module Google
include Google::Apis::Core::Hashable
# Required. The id of the iOS device to be used.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `iosModelId`
# @return [String]
attr_accessor :ios_model_id
# Required. The id of the iOS major software version to be used.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `iosVersionId`
# @return [String]
attr_accessor :ios_version_id
# Required. The locale the test device used for testing.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `locale`
# @return [String]
attr_accessor :locale
# Required. How the device is oriented during the test.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Corresponds to the JSON property `orientation`
# @return [String]
attr_accessor :orientation
@ -1360,7 +1360,7 @@ module Google
attr_accessor :tests_zip
# The Xcode version that should be used for the test.
# Use the TestEnvironmentDiscoveryService to get supported options.
# Use the EnvironmentDiscoveryService to get supported options.
# Defaults to the latest Xcode version Firebase Test Lab supports.
# Corresponds to the JSON property `xcodeVersion`
# @return [String]