diff --git a/api_names_out.yaml b/api_names_out.yaml index 21d90312f..769fa57b3 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -19923,6 +19923,7 @@ "/compute:alpha/AcceleratorType/maximumCardsPerInstance": maximum_cards_per_instance "/compute:alpha/AcceleratorType/name": name "/compute:alpha/AcceleratorType/selfLink": self_link +"/compute:alpha/AcceleratorType/selfLinkWithId": self_link_with_id "/compute:alpha/AcceleratorType/zone": zone "/compute:alpha/AcceleratorTypeAggregatedList": accelerator_type_aggregated_list "/compute:alpha/AcceleratorTypeAggregatedList/id": id @@ -19990,6 +19991,7 @@ "/compute:alpha/Address/purpose": purpose "/compute:alpha/Address/region": region "/compute:alpha/Address/selfLink": self_link +"/compute:alpha/Address/selfLinkWithId": self_link_with_id "/compute:alpha/Address/status": status "/compute:alpha/Address/subnetwork": subnetwork "/compute:alpha/Address/users": users @@ -20043,6 +20045,7 @@ "/compute:alpha/Allocation/kind": kind "/compute:alpha/Allocation/name": name "/compute:alpha/Allocation/selfLink": self_link +"/compute:alpha/Allocation/selfLinkWithId": self_link_with_id "/compute:alpha/Allocation/specificAllocation": specific_allocation "/compute:alpha/Allocation/specificAllocationRequired": specific_allocation_required "/compute:alpha/Allocation/zone": zone @@ -20173,6 +20176,7 @@ "/compute:alpha/Autoscaler/recommendedSize": recommended_size "/compute:alpha/Autoscaler/region": region "/compute:alpha/Autoscaler/selfLink": self_link +"/compute:alpha/Autoscaler/selfLinkWithId": self_link_with_id "/compute:alpha/Autoscaler/status": status "/compute:alpha/Autoscaler/statusDetails": status_details "/compute:alpha/Autoscaler/statusDetails/status_detail": status_detail @@ -20269,6 +20273,7 @@ "/compute:alpha/BackendBucket/kind": kind "/compute:alpha/BackendBucket/name": name "/compute:alpha/BackendBucket/selfLink": self_link +"/compute:alpha/BackendBucket/selfLinkWithId": self_link_with_id "/compute:alpha/BackendBucketCdnPolicy": backend_bucket_cdn_policy "/compute:alpha/BackendBucketCdnPolicy/signedUrlCacheMaxAgeSec": signed_url_cache_max_age_sec "/compute:alpha/BackendBucketCdnPolicy/signedUrlKeyNames": signed_url_key_names @@ -20317,6 +20322,7 @@ "/compute:alpha/BackendService/region": region "/compute:alpha/BackendService/securityPolicy": security_policy "/compute:alpha/BackendService/selfLink": self_link +"/compute:alpha/BackendService/selfLinkWithId": self_link_with_id "/compute:alpha/BackendService/sessionAffinity": session_affinity "/compute:alpha/BackendService/timeoutSec": timeout_sec "/compute:alpha/BackendServiceAggregatedList": backend_service_aggregated_list @@ -20424,6 +20430,7 @@ "/compute:alpha/Commitment/resources": resources "/compute:alpha/Commitment/resources/resource": resource "/compute:alpha/Commitment/selfLink": self_link +"/compute:alpha/Commitment/selfLinkWithId": self_link_with_id "/compute:alpha/Commitment/startTimestamp": start_timestamp "/compute:alpha/Commitment/status": status "/compute:alpha/Commitment/statusMessage": status_message @@ -20476,8 +20483,23 @@ "/compute:alpha/Condition/values/value": value "/compute:alpha/ConnectionDraining": connection_draining "/compute:alpha/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec +"/compute:alpha/CorsPolicy": cors_policy +"/compute:alpha/CorsPolicy/allowCredentials": allow_credentials +"/compute:alpha/CorsPolicy/allowHeaders": allow_headers +"/compute:alpha/CorsPolicy/allowHeaders/allow_header": allow_header +"/compute:alpha/CorsPolicy/allowMethods": allow_methods +"/compute:alpha/CorsPolicy/allowMethods/allow_method": allow_method +"/compute:alpha/CorsPolicy/allowOriginRegexes": allow_origin_regexes +"/compute:alpha/CorsPolicy/allowOriginRegexes/allow_origin_regex": allow_origin_regex +"/compute:alpha/CorsPolicy/allowOrigins": allow_origins +"/compute:alpha/CorsPolicy/allowOrigins/allow_origin": allow_origin +"/compute:alpha/CorsPolicy/disabled": disabled +"/compute:alpha/CorsPolicy/exposeHeaders": expose_headers +"/compute:alpha/CorsPolicy/exposeHeaders/expose_header": expose_header +"/compute:alpha/CorsPolicy/maxAge": max_age "/compute:alpha/CustomerEncryptionKey": customer_encryption_key "/compute:alpha/CustomerEncryptionKey/kmsKeyName": kms_key_name +"/compute:alpha/CustomerEncryptionKey/kmsKeyServiceAccount": kms_key_service_account "/compute:alpha/CustomerEncryptionKey/rawKey": raw_key "/compute:alpha/CustomerEncryptionKey/rsaEncryptedKey": rsa_encrypted_key "/compute:alpha/CustomerEncryptionKey/sha256": sha256 @@ -20580,6 +20602,7 @@ "/compute:alpha/DiskType/name": name "/compute:alpha/DiskType/region": region "/compute:alpha/DiskType/selfLink": self_link +"/compute:alpha/DiskType/selfLinkWithId": self_link_with_id "/compute:alpha/DiskType/validDiskSize": valid_disk_size "/compute:alpha/DiskType/zone": zone "/compute:alpha/DiskTypeAggregatedList": disk_type_aggregated_list @@ -20645,6 +20668,9 @@ "/compute:alpha/DistributionPolicy/zones/zone": zone "/compute:alpha/DistributionPolicyZoneConfiguration": distribution_policy_zone_configuration "/compute:alpha/DistributionPolicyZoneConfiguration/zone": zone +"/compute:alpha/Duration": duration +"/compute:alpha/Duration/nanos": nanos +"/compute:alpha/Duration/seconds": seconds "/compute:alpha/ExchangedPeeringRoute": exchanged_peering_route "/compute:alpha/ExchangedPeeringRoute/destRange": dest_range "/compute:alpha/ExchangedPeeringRoute/imported": imported @@ -20695,6 +20721,7 @@ "/compute:alpha/Firewall/network": network "/compute:alpha/Firewall/priority": priority "/compute:alpha/Firewall/selfLink": self_link +"/compute:alpha/Firewall/selfLinkWithId": self_link_with_id "/compute:alpha/Firewall/sourceRanges": source_ranges "/compute:alpha/Firewall/sourceRanges/source_range": source_range "/compute:alpha/Firewall/sourceServiceAccounts": source_service_accounts @@ -20749,6 +20776,7 @@ "/compute:alpha/ForwardingRule/ports/port": port "/compute:alpha/ForwardingRule/region": region "/compute:alpha/ForwardingRule/selfLink": self_link +"/compute:alpha/ForwardingRule/selfLinkWithId": self_link_with_id "/compute:alpha/ForwardingRule/serviceLabel": service_label "/compute:alpha/ForwardingRule/serviceName": service_name "/compute:alpha/ForwardingRule/subnetwork": subnetwork @@ -21027,6 +21055,37 @@ "/compute:alpha/HourlyMaintenanceWindow/duration": duration "/compute:alpha/HourlyMaintenanceWindow/hoursInCycle": hours_in_cycle "/compute:alpha/HourlyMaintenanceWindow/startTime": start_time +"/compute:alpha/HttpFaultAbort": http_fault_abort +"/compute:alpha/HttpFaultAbort/httpStatus": http_status +"/compute:alpha/HttpFaultAbort/percentage": percentage +"/compute:alpha/HttpFaultDelay": http_fault_delay +"/compute:alpha/HttpFaultDelay/fixedDelay": fixed_delay +"/compute:alpha/HttpFaultDelay/percentage": percentage +"/compute:alpha/HttpFaultInjection": http_fault_injection +"/compute:alpha/HttpFaultInjection/abort": abort +"/compute:alpha/HttpFaultInjection/delay": delay +"/compute:alpha/HttpHeaderAction": http_header_action +"/compute:alpha/HttpHeaderAction/requestHeadersToAdd": request_headers_to_add +"/compute:alpha/HttpHeaderAction/requestHeadersToAdd/request_headers_to_add": request_headers_to_add +"/compute:alpha/HttpHeaderAction/requestHeadersToRemove": request_headers_to_remove +"/compute:alpha/HttpHeaderAction/requestHeadersToRemove/request_headers_to_remove": request_headers_to_remove +"/compute:alpha/HttpHeaderAction/responseHeadersToAdd": response_headers_to_add +"/compute:alpha/HttpHeaderAction/responseHeadersToAdd/response_headers_to_add": response_headers_to_add +"/compute:alpha/HttpHeaderAction/responseHeadersToRemove": response_headers_to_remove +"/compute:alpha/HttpHeaderAction/responseHeadersToRemove/response_headers_to_remove": response_headers_to_remove +"/compute:alpha/HttpHeaderMatch": http_header_match +"/compute:alpha/HttpHeaderMatch/exactMatch": exact_match +"/compute:alpha/HttpHeaderMatch/headerName": header_name +"/compute:alpha/HttpHeaderMatch/invertMatch": invert_match +"/compute:alpha/HttpHeaderMatch/prefixMatch": prefix_match +"/compute:alpha/HttpHeaderMatch/presentMatch": present_match +"/compute:alpha/HttpHeaderMatch/rangeMatch": range_match +"/compute:alpha/HttpHeaderMatch/regexMatch": regex_match +"/compute:alpha/HttpHeaderMatch/suffixMatch": suffix_match +"/compute:alpha/HttpHeaderOption": http_header_option +"/compute:alpha/HttpHeaderOption/headerName": header_name +"/compute:alpha/HttpHeaderOption/headerValue": header_value +"/compute:alpha/HttpHeaderOption/replace": replace "/compute:alpha/HttpHealthCheck": http_health_check "/compute:alpha/HttpHealthCheck/checkIntervalSec": check_interval_sec "/compute:alpha/HttpHealthCheck/creationTimestamp": creation_timestamp @@ -21055,6 +21114,49 @@ "/compute:alpha/HttpHealthCheckList/warning/data/datum/key": key "/compute:alpha/HttpHealthCheckList/warning/data/datum/value": value "/compute:alpha/HttpHealthCheckList/warning/message": message +"/compute:alpha/HttpQueryParameterMatch": http_query_parameter_match +"/compute:alpha/HttpQueryParameterMatch/exactMatch": exact_match +"/compute:alpha/HttpQueryParameterMatch/name": name +"/compute:alpha/HttpQueryParameterMatch/presentMatch": present_match +"/compute:alpha/HttpQueryParameterMatch/regexMatch": regex_match +"/compute:alpha/HttpRedirectAction": http_redirect_action +"/compute:alpha/HttpRedirectAction/hostRedirect": host_redirect +"/compute:alpha/HttpRedirectAction/httpsRedirect": https_redirect +"/compute:alpha/HttpRedirectAction/pathRedirect": path_redirect +"/compute:alpha/HttpRedirectAction/prefixRedirect": prefix_redirect +"/compute:alpha/HttpRedirectAction/redirectResponseCode": redirect_response_code +"/compute:alpha/HttpRedirectAction/stripQuery": strip_query +"/compute:alpha/HttpRetryPolicy": http_retry_policy +"/compute:alpha/HttpRetryPolicy/numRetries": num_retries +"/compute:alpha/HttpRetryPolicy/perTryTimeout": per_try_timeout +"/compute:alpha/HttpRetryPolicy/retryConditions": retry_conditions +"/compute:alpha/HttpRetryPolicy/retryConditions/retry_condition": retry_condition +"/compute:alpha/HttpRouteAction": http_route_action +"/compute:alpha/HttpRouteAction/corsPolicy": cors_policy +"/compute:alpha/HttpRouteAction/faultInjectionPolicy": fault_injection_policy +"/compute:alpha/HttpRouteAction/requestMirrorPolicy": request_mirror_policy +"/compute:alpha/HttpRouteAction/retryPolicy": retry_policy +"/compute:alpha/HttpRouteAction/timeout": timeout +"/compute:alpha/HttpRouteAction/urlRewrite": url_rewrite +"/compute:alpha/HttpRouteAction/weightedBackendServices": weighted_backend_services +"/compute:alpha/HttpRouteAction/weightedBackendServices/weighted_backend_service": weighted_backend_service +"/compute:alpha/HttpRouteRule": http_route_rule +"/compute:alpha/HttpRouteRule/headerAction": header_action +"/compute:alpha/HttpRouteRule/matchRules": match_rules +"/compute:alpha/HttpRouteRule/matchRules/match_rule": match_rule +"/compute:alpha/HttpRouteRule/routeAction": route_action +"/compute:alpha/HttpRouteRule/urlRedirect": url_redirect +"/compute:alpha/HttpRouteRuleMatch": http_route_rule_match +"/compute:alpha/HttpRouteRuleMatch/fullPathMatch": full_path_match +"/compute:alpha/HttpRouteRuleMatch/headerMatches": header_matches +"/compute:alpha/HttpRouteRuleMatch/headerMatches/header_match": header_match +"/compute:alpha/HttpRouteRuleMatch/ignoreCase": ignore_case +"/compute:alpha/HttpRouteRuleMatch/metadataFilters": metadata_filters +"/compute:alpha/HttpRouteRuleMatch/metadataFilters/metadata_filter": metadata_filter +"/compute:alpha/HttpRouteRuleMatch/prefixMatch": prefix_match +"/compute:alpha/HttpRouteRuleMatch/queryParameterMatches": query_parameter_matches +"/compute:alpha/HttpRouteRuleMatch/queryParameterMatches/query_parameter_match": query_parameter_match +"/compute:alpha/HttpRouteRuleMatch/regexMatch": regex_match "/compute:alpha/HttpsHealthCheck": https_health_check "/compute:alpha/HttpsHealthCheck/checkIntervalSec": check_interval_sec "/compute:alpha/HttpsHealthCheck/creationTimestamp": creation_timestamp @@ -21108,6 +21210,7 @@ "/compute:alpha/Image/rawDisk/sha1Checksum": sha1_checksum "/compute:alpha/Image/rawDisk/source": source "/compute:alpha/Image/selfLink": self_link +"/compute:alpha/Image/selfLinkWithId": self_link_with_id "/compute:alpha/Image/sourceDisk": source_disk "/compute:alpha/Image/sourceDiskEncryptionKey": source_disk_encryption_key "/compute:alpha/Image/sourceDiskId": source_disk_id @@ -21119,6 +21222,8 @@ "/compute:alpha/Image/sourceSnapshotId": source_snapshot_id "/compute:alpha/Image/sourceType": source_type "/compute:alpha/Image/status": status +"/compute:alpha/Image/storageLocations": storage_locations +"/compute:alpha/Image/storageLocations/storage_location": storage_location "/compute:alpha/ImageList": image_list "/compute:alpha/ImageList/id": id "/compute:alpha/ImageList/items": items @@ -21166,6 +21271,7 @@ "/compute:alpha/Instance/resourcePolicies/resource_policy": resource_policy "/compute:alpha/Instance/scheduling": scheduling "/compute:alpha/Instance/selfLink": self_link +"/compute:alpha/Instance/selfLinkWithId": self_link_with_id "/compute:alpha/Instance/serviceAccounts": service_accounts "/compute:alpha/Instance/serviceAccounts/service_account": service_account "/compute:alpha/Instance/shieldedVmConfig": shielded_vm_config @@ -21207,6 +21313,7 @@ "/compute:alpha/InstanceGroup/network": network "/compute:alpha/InstanceGroup/region": region "/compute:alpha/InstanceGroup/selfLink": self_link +"/compute:alpha/InstanceGroup/selfLinkWithId": self_link_with_id "/compute:alpha/InstanceGroup/size": size "/compute:alpha/InstanceGroup/subnetwork": subnetwork "/compute:alpha/InstanceGroup/zone": zone @@ -21259,6 +21366,7 @@ "/compute:alpha/InstanceGroupManager/pendingActions": pending_actions "/compute:alpha/InstanceGroupManager/region": region "/compute:alpha/InstanceGroupManager/selfLink": self_link +"/compute:alpha/InstanceGroupManager/selfLinkWithId": self_link_with_id "/compute:alpha/InstanceGroupManager/serviceAccount": service_account "/compute:alpha/InstanceGroupManager/statefulPolicy": stateful_policy "/compute:alpha/InstanceGroupManager/status": status @@ -21573,6 +21681,9 @@ "/compute:alpha/InstancesStartWithEncryptionKeyRequest/disks": disks "/compute:alpha/InstancesStartWithEncryptionKeyRequest/disks/disk": disk "/compute:alpha/InstancesStartWithEncryptionKeyRequest/instanceEncryptionKey": instance_encryption_key +"/compute:alpha/Int64RangeMatch": int64_range_match +"/compute:alpha/Int64RangeMatch/rangeEnd": range_end +"/compute:alpha/Int64RangeMatch/rangeStart": range_start "/compute:alpha/Interconnect": interconnect "/compute:alpha/Interconnect/adminEnabled": admin_enabled "/compute:alpha/Interconnect/circuitInfos": circuit_infos @@ -22004,6 +22115,7 @@ "/compute:alpha/ManagedInstance/tag": tag "/compute:alpha/ManagedInstance/version": version "/compute:alpha/ManagedInstanceInstanceHealth": managed_instance_instance_health +"/compute:alpha/ManagedInstanceInstanceHealth/detailedHealthState": detailed_health_state "/compute:alpha/ManagedInstanceInstanceHealth/healthCheck": health_check "/compute:alpha/ManagedInstanceInstanceHealth/healthState": health_state "/compute:alpha/ManagedInstanceLastAttempt": managed_instance_last_attempt @@ -22035,6 +22147,13 @@ "/compute:alpha/Metadata/items/item/key": key "/compute:alpha/Metadata/items/item/value": value "/compute:alpha/Metadata/kind": kind +"/compute:alpha/MetadataFilter": metadata_filter +"/compute:alpha/MetadataFilter/filterLabels": filter_labels +"/compute:alpha/MetadataFilter/filterLabels/filter_label": filter_label +"/compute:alpha/MetadataFilter/filterMatchCriteria": filter_match_criteria +"/compute:alpha/MetadataFilterLabelMatch": metadata_filter_label_match +"/compute:alpha/MetadataFilterLabelMatch/name": name +"/compute:alpha/MetadataFilterLabelMatch/value": value "/compute:alpha/NamedPort": named_port "/compute:alpha/NamedPort/name": name "/compute:alpha/NamedPort/port": port @@ -22053,6 +22172,7 @@ "/compute:alpha/Network/peerings/peering": peering "/compute:alpha/Network/routingConfig": routing_config "/compute:alpha/Network/selfLink": self_link +"/compute:alpha/Network/selfLinkWithId": self_link_with_id "/compute:alpha/Network/subnetworks": subnetworks "/compute:alpha/Network/subnetworks/subnetwork": subnetwork "/compute:alpha/NetworkEndpoint": network_endpoint @@ -22278,6 +22398,8 @@ "/compute:alpha/NodeGroupsScopedList/warning/data/datum/key": key "/compute:alpha/NodeGroupsScopedList/warning/data/datum/value": value "/compute:alpha/NodeGroupsScopedList/warning/message": message +"/compute:alpha/NodeGroupsSetAutoscalingPolicyRequest": node_groups_set_autoscaling_policy_request +"/compute:alpha/NodeGroupsSetAutoscalingPolicyRequest/autoscalingPolicy": autoscaling_policy "/compute:alpha/NodeGroupsSetNodeTemplateRequest": node_groups_set_node_template_request "/compute:alpha/NodeGroupsSetNodeTemplateRequest/nodeTemplate": node_template "/compute:alpha/NodeTemplate": node_template @@ -22463,15 +22585,22 @@ "/compute:alpha/OperationsScopedList/warning/data/datum/value": value "/compute:alpha/OperationsScopedList/warning/message": message "/compute:alpha/PathMatcher": path_matcher +"/compute:alpha/PathMatcher/defaultRouteAction": default_route_action "/compute:alpha/PathMatcher/defaultService": default_service +"/compute:alpha/PathMatcher/defaultUrlRedirect": default_url_redirect "/compute:alpha/PathMatcher/description": description +"/compute:alpha/PathMatcher/headerAction": header_action "/compute:alpha/PathMatcher/name": name "/compute:alpha/PathMatcher/pathRules": path_rules "/compute:alpha/PathMatcher/pathRules/path_rule": path_rule +"/compute:alpha/PathMatcher/routeRules": route_rules +"/compute:alpha/PathMatcher/routeRules/route_rule": route_rule "/compute:alpha/PathRule": path_rule "/compute:alpha/PathRule/paths": paths "/compute:alpha/PathRule/paths/path": path +"/compute:alpha/PathRule/routeAction": route_action "/compute:alpha/PathRule/service": service +"/compute:alpha/PathRule/urlRedirect": url_redirect "/compute:alpha/PerInstanceConfig": per_instance_config "/compute:alpha/PerInstanceConfig/fingerprint": fingerprint "/compute:alpha/PerInstanceConfig/instance": instance @@ -22534,6 +22663,7 @@ "/compute:alpha/Quota": quota "/compute:alpha/Quota/limit": limit "/compute:alpha/Quota/metric": metric +"/compute:alpha/Quota/owner": owner "/compute:alpha/Quota/usage": usage "/compute:alpha/Reference": reference "/compute:alpha/Reference/kind": kind @@ -22633,6 +22763,9 @@ "/compute:alpha/RegionInstanceGroupManagersApplyUpdatesRequest/instances/instance": instance "/compute:alpha/RegionInstanceGroupManagersApplyUpdatesRequest/maximalAction": maximal_action "/compute:alpha/RegionInstanceGroupManagersApplyUpdatesRequest/minimalAction": minimal_action +"/compute:alpha/RegionInstanceGroupManagersCreateInstancesRequest": region_instance_group_managers_create_instances_request +"/compute:alpha/RegionInstanceGroupManagersCreateInstancesRequest/instances": instances +"/compute:alpha/RegionInstanceGroupManagersCreateInstancesRequest/instances/instance": instance "/compute:alpha/RegionInstanceGroupManagersDeleteInstancesRequest": region_instance_group_managers_delete_instances_request "/compute:alpha/RegionInstanceGroupManagersDeleteInstancesRequest/instances": instances "/compute:alpha/RegionInstanceGroupManagersDeleteInstancesRequest/instances/instance": instance @@ -22712,6 +22845,8 @@ "/compute:alpha/RegionTargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate "/compute:alpha/RegionUrlMapsValidateRequest": region_url_maps_validate_request "/compute:alpha/RegionUrlMapsValidateRequest/resource": resource +"/compute:alpha/RequestMirrorPolicy": request_mirror_policy +"/compute:alpha/RequestMirrorPolicy/backendService": backend_service "/compute:alpha/ResourceCommitment": resource_commitment "/compute:alpha/ResourceCommitment/acceleratorType": accelerator_type "/compute:alpha/ResourceCommitment/amount": amount @@ -22839,6 +22974,7 @@ "/compute:alpha/Route/nextHopVpnTunnel": next_hop_vpn_tunnel "/compute:alpha/Route/priority": priority "/compute:alpha/Route/selfLink": self_link +"/compute:alpha/Route/selfLinkWithId": self_link_with_id "/compute:alpha/Route/tags": tags "/compute:alpha/Route/tags/tag": tag "/compute:alpha/Route/warnings": warnings @@ -23196,6 +23332,7 @@ "/compute:alpha/Snapshot/licenses/license": license "/compute:alpha/Snapshot/name": name "/compute:alpha/Snapshot/selfLink": self_link +"/compute:alpha/Snapshot/selfLinkWithId": self_link_with_id "/compute:alpha/Snapshot/snapshotEncryptionKey": snapshot_encryption_key "/compute:alpha/Snapshot/sourceDisk": source_disk "/compute:alpha/Snapshot/sourceDiskEncryptionKey": source_disk_encryption_key @@ -23805,9 +23942,12 @@ "/compute:alpha/UDPHealthCheck/response": response "/compute:alpha/UrlMap": url_map "/compute:alpha/UrlMap/creationTimestamp": creation_timestamp +"/compute:alpha/UrlMap/defaultRouteAction": default_route_action "/compute:alpha/UrlMap/defaultService": default_service +"/compute:alpha/UrlMap/defaultUrlRedirect": default_url_redirect "/compute:alpha/UrlMap/description": description "/compute:alpha/UrlMap/fingerprint": fingerprint +"/compute:alpha/UrlMap/headerAction": header_action "/compute:alpha/UrlMap/hostRules": host_rules "/compute:alpha/UrlMap/hostRules/host_rule": host_rule "/compute:alpha/UrlMap/id": id @@ -23836,7 +23976,9 @@ "/compute:alpha/UrlMapReference": url_map_reference "/compute:alpha/UrlMapReference/urlMap": url_map "/compute:alpha/UrlMapTest": url_map_test +"/compute:alpha/UrlMapTest/backendServiceWeight": backend_service_weight "/compute:alpha/UrlMapTest/description": description +"/compute:alpha/UrlMapTest/expectedUrlRedirect": expected_url_redirect "/compute:alpha/UrlMapTest/host": host "/compute:alpha/UrlMapTest/path": path "/compute:alpha/UrlMapTest/service": service @@ -23877,6 +24019,9 @@ "/compute:alpha/UrlMapsValidateRequest/resource": resource "/compute:alpha/UrlMapsValidateResponse": url_maps_validate_response "/compute:alpha/UrlMapsValidateResponse/result": result +"/compute:alpha/UrlRewrite": url_rewrite +"/compute:alpha/UrlRewrite/hostRewrite": host_rewrite +"/compute:alpha/UrlRewrite/pathPrefixRewrite": path_prefix_rewrite "/compute:alpha/UsableSubnetwork": usable_subnetwork "/compute:alpha/UsableSubnetwork/ipCidrRange": ip_cidr_range "/compute:alpha/UsableSubnetwork/network": network @@ -24056,6 +24201,10 @@ "/compute:alpha/WafExpressionSet/id": id "/compute:alpha/WafExpressionSetExpression": waf_expression_set_expression "/compute:alpha/WafExpressionSetExpression/id": id +"/compute:alpha/WeightedBackendService": weighted_backend_service +"/compute:alpha/WeightedBackendService/backendService": backend_service +"/compute:alpha/WeightedBackendService/headerAction": header_action +"/compute:alpha/WeightedBackendService/weight": weight "/compute:alpha/XpnHostList": xpn_host_list "/compute:alpha/XpnHostList/id": id "/compute:alpha/XpnHostList/items": items @@ -25554,6 +25703,11 @@ "/compute:alpha/compute.nodeGroups.listNodes/pageToken": page_token "/compute:alpha/compute.nodeGroups.listNodes/project": project "/compute:alpha/compute.nodeGroups.listNodes/zone": zone +"/compute:alpha/compute.nodeGroups.setAutoscalingPolicy": set_node_group_autoscaling_policy +"/compute:alpha/compute.nodeGroups.setAutoscalingPolicy/nodeGroup": node_group +"/compute:alpha/compute.nodeGroups.setAutoscalingPolicy/project": project +"/compute:alpha/compute.nodeGroups.setAutoscalingPolicy/requestId": request_id +"/compute:alpha/compute.nodeGroups.setAutoscalingPolicy/zone": zone "/compute:alpha/compute.nodeGroups.setIamPolicy": set_node_group_iam_policy "/compute:alpha/compute.nodeGroups.setIamPolicy/project": project "/compute:alpha/compute.nodeGroups.setIamPolicy/resource": resource @@ -25834,6 +25988,10 @@ "/compute:alpha/compute.regionDisks.get/disk": disk "/compute:alpha/compute.regionDisks.get/project": project "/compute:alpha/compute.regionDisks.get/region": region +"/compute:alpha/compute.regionDisks.getIamPolicy": get_region_disk_iam_policy +"/compute:alpha/compute.regionDisks.getIamPolicy/project": project +"/compute:alpha/compute.regionDisks.getIamPolicy/region": region +"/compute:alpha/compute.regionDisks.getIamPolicy/resource": resource "/compute:alpha/compute.regionDisks.insert": insert_region_disk "/compute:alpha/compute.regionDisks.insert/project": project "/compute:alpha/compute.regionDisks.insert/region": region @@ -25856,6 +26014,10 @@ "/compute:alpha/compute.regionDisks.resize/project": project "/compute:alpha/compute.regionDisks.resize/region": region "/compute:alpha/compute.regionDisks.resize/requestId": request_id +"/compute:alpha/compute.regionDisks.setIamPolicy": set_region_disk_iam_policy +"/compute:alpha/compute.regionDisks.setIamPolicy/project": project +"/compute:alpha/compute.regionDisks.setIamPolicy/region": region +"/compute:alpha/compute.regionDisks.setIamPolicy/resource": resource "/compute:alpha/compute.regionDisks.setLabels": set_region_disk_labels "/compute:alpha/compute.regionDisks.setLabels/project": project "/compute:alpha/compute.regionDisks.setLabels/region": region @@ -25908,6 +26070,11 @@ "/compute:alpha/compute.regionInstanceGroupManagers.applyUpdatesToInstances/instanceGroupManager": instance_group_manager "/compute:alpha/compute.regionInstanceGroupManagers.applyUpdatesToInstances/project": project "/compute:alpha/compute.regionInstanceGroupManagers.applyUpdatesToInstances/region": region +"/compute:alpha/compute.regionInstanceGroupManagers.createInstances": create_region_instance_group_manager_instances +"/compute:alpha/compute.regionInstanceGroupManagers.createInstances/instanceGroupManager": instance_group_manager +"/compute:alpha/compute.regionInstanceGroupManagers.createInstances/project": project +"/compute:alpha/compute.regionInstanceGroupManagers.createInstances/region": region +"/compute:alpha/compute.regionInstanceGroupManagers.createInstances/requestId": request_id "/compute:alpha/compute.regionInstanceGroupManagers.delete": delete_region_instance_group_manager "/compute:alpha/compute.regionInstanceGroupManagers.delete/instanceGroupManager": instance_group_manager "/compute:alpha/compute.regionInstanceGroupManagers.delete/project": project @@ -29052,6 +29219,7 @@ "/compute:beta/Quota": quota "/compute:beta/Quota/limit": limit "/compute:beta/Quota/metric": metric +"/compute:beta/Quota/owner": owner "/compute:beta/Quota/usage": usage "/compute:beta/Reference": reference "/compute:beta/Reference/kind": kind @@ -31310,6 +31478,9 @@ "/compute:beta/compute.licenses.get": get_license "/compute:beta/compute.licenses.get/license": license "/compute:beta/compute.licenses.get/project": project +"/compute:beta/compute.licenses.getIamPolicy": get_license_iam_policy +"/compute:beta/compute.licenses.getIamPolicy/project": project +"/compute:beta/compute.licenses.getIamPolicy/resource": resource "/compute:beta/compute.licenses.insert": insert_license "/compute:beta/compute.licenses.insert/project": project "/compute:beta/compute.licenses.insert/requestId": request_id @@ -33375,6 +33546,7 @@ "/compute:v1/Instance/disks/disk": disk "/compute:v1/Instance/guestAccelerators": guest_accelerators "/compute:v1/Instance/guestAccelerators/guest_accelerator": guest_accelerator +"/compute:v1/Instance/hostname": hostname "/compute:v1/Instance/id": id "/compute:v1/Instance/kind": kind "/compute:v1/Instance/labelFingerprint": label_fingerprint @@ -33453,6 +33625,8 @@ "/compute:v1/InstanceGroupList/warning/data/datum/value": value "/compute:v1/InstanceGroupList/warning/message": message "/compute:v1/InstanceGroupManager": instance_group_manager +"/compute:v1/InstanceGroupManager/autoHealingPolicies": auto_healing_policies +"/compute:v1/InstanceGroupManager/autoHealingPolicies/auto_healing_policy": auto_healing_policy "/compute:v1/InstanceGroupManager/baseInstanceName": base_instance_name "/compute:v1/InstanceGroupManager/creationTimestamp": creation_timestamp "/compute:v1/InstanceGroupManager/currentActions": current_actions @@ -33496,6 +33670,9 @@ "/compute:v1/InstanceGroupManagerAggregatedList/warning/data/datum/key": key "/compute:v1/InstanceGroupManagerAggregatedList/warning/data/datum/value": value "/compute:v1/InstanceGroupManagerAggregatedList/warning/message": message +"/compute:v1/InstanceGroupManagerAutoHealingPolicy": instance_group_manager_auto_healing_policy +"/compute:v1/InstanceGroupManagerAutoHealingPolicy/healthCheck": health_check +"/compute:v1/InstanceGroupManagerAutoHealingPolicy/initialDelaySec": initial_delay_sec "/compute:v1/InstanceGroupManagerList": instance_group_manager_list "/compute:v1/InstanceGroupManagerList/id": id "/compute:v1/InstanceGroupManagerList/items": items @@ -33836,6 +34013,7 @@ "/compute:v1/InterconnectLocation/regionInfos": region_infos "/compute:v1/InterconnectLocation/regionInfos/region_info": region_info "/compute:v1/InterconnectLocation/selfLink": self_link +"/compute:v1/InterconnectLocation/status": status "/compute:v1/InterconnectLocationList": interconnect_location_list "/compute:v1/InterconnectLocationList/id": id "/compute:v1/InterconnectLocationList/items": items @@ -34361,6 +34539,7 @@ "/compute:v1/Quota": quota "/compute:v1/Quota/limit": limit "/compute:v1/Quota/metric": metric +"/compute:v1/Quota/owner": owner "/compute:v1/Quota/usage": usage "/compute:v1/Reference": reference "/compute:v1/Reference/kind": kind @@ -37513,6 +37692,22 @@ "/container:v1/DailyMaintenanceWindow/duration": duration "/container:v1/DailyMaintenanceWindow/startTime": start_time "/container:v1/Empty": empty +"/container:v1/GetJSONWebKeysResponse": get_json_web_keys_response +"/container:v1/GetJSONWebKeysResponse/keys": keys +"/container:v1/GetJSONWebKeysResponse/keys/key": key +"/container:v1/GetOpenIDConfigResponse": get_open_id_config_response +"/container:v1/GetOpenIDConfigResponse/claims_supported": claims_supported +"/container:v1/GetOpenIDConfigResponse/claims_supported/claims_supported": claims_supported +"/container:v1/GetOpenIDConfigResponse/grant_types": grant_types +"/container:v1/GetOpenIDConfigResponse/grant_types/grant_type": grant_type +"/container:v1/GetOpenIDConfigResponse/id_token_signing_alg_values_supported": id_token_signing_alg_values_supported +"/container:v1/GetOpenIDConfigResponse/id_token_signing_alg_values_supported/id_token_signing_alg_values_supported": id_token_signing_alg_values_supported +"/container:v1/GetOpenIDConfigResponse/issuer": issuer +"/container:v1/GetOpenIDConfigResponse/jwks_uri": jwks_uri +"/container:v1/GetOpenIDConfigResponse/response_types_supported": response_types_supported +"/container:v1/GetOpenIDConfigResponse/response_types_supported/response_types_supported": response_types_supported +"/container:v1/GetOpenIDConfigResponse/subject_types_supported": subject_types_supported +"/container:v1/GetOpenIDConfigResponse/subject_types_supported/subject_types_supported": subject_types_supported "/container:v1/HorizontalPodAutoscaling": horizontal_pod_autoscaling "/container:v1/HorizontalPodAutoscaling/disabled": disabled "/container:v1/HttpLoadBalancing": http_load_balancing @@ -37529,6 +37724,16 @@ "/container:v1/IPAllocationPolicy/servicesSecondaryRangeName": services_secondary_range_name "/container:v1/IPAllocationPolicy/subnetworkName": subnetwork_name "/container:v1/IPAllocationPolicy/useIpAliases": use_ip_aliases +"/container:v1/Jwk": jwk +"/container:v1/Jwk/alg": alg +"/container:v1/Jwk/crv": crv +"/container:v1/Jwk/e": e +"/container:v1/Jwk/kid": kid +"/container:v1/Jwk/kty": kty +"/container:v1/Jwk/n": n +"/container:v1/Jwk/use": use +"/container:v1/Jwk/x": x +"/container:v1/Jwk/y": y "/container:v1/KubernetesDashboard": kubernetes_dashboard "/container:v1/KubernetesDashboard/disabled": disabled "/container:v1/LegacyAbac": legacy_abac @@ -37776,6 +37981,8 @@ "/container:v1/container.projects.locations.clusters.get/name": name "/container:v1/container.projects.locations.clusters.get/projectId": project_id "/container:v1/container.projects.locations.clusters.get/zone": zone +"/container:v1/container.projects.locations.clusters.getJwks": get_project_location_cluster_jwks +"/container:v1/container.projects.locations.clusters.getJwks/parent": parent "/container:v1/container.projects.locations.clusters.list": list_project_location_clusters "/container:v1/container.projects.locations.clusters.list/parent": parent "/container:v1/container.projects.locations.clusters.list/projectId": project_id @@ -37833,6 +38040,8 @@ "/container:v1/container.projects.locations.clusters.update/name": name "/container:v1/container.projects.locations.clusters.updateMaster": update_cluster_master "/container:v1/container.projects.locations.clusters.updateMaster/name": name +"/container:v1/container.projects.locations.clusters.well-known.getOpenid-configuration": get_project_location_cluster_well_known_openid_configuration +"/container:v1/container.projects.locations.clusters.well-known.getOpenid-configuration/parent": parent "/container:v1/container.projects.locations.getServerConfig": get_project_location_server_config "/container:v1/container.projects.locations.getServerConfig/name": name "/container:v1/container.projects.locations.getServerConfig/projectId": project_id @@ -66322,6 +66531,7 @@ "/doubleclickbidmanager:v1/DownloadResponse/ads": ads "/doubleclickbidmanager:v1/DownloadResponse/campaigns": campaigns "/doubleclickbidmanager:v1/DownloadResponse/insertionOrders": insertion_orders +"/doubleclickbidmanager:v1/DownloadResponse/inventorySources": inventory_sources "/doubleclickbidmanager:v1/DownloadResponse/lineItems": line_items "/doubleclickbidmanager:v1/FilterPair": filter_pair "/doubleclickbidmanager:v1/FilterPair/type": type @@ -68705,6 +68915,9 @@ "/firestore:v1/FieldTransform": field_transform "/firestore:v1/FieldTransform/appendMissingElements": append_missing_elements "/firestore:v1/FieldTransform/fieldPath": field_path +"/firestore:v1/FieldTransform/increment": increment +"/firestore:v1/FieldTransform/maximum": maximum +"/firestore:v1/FieldTransform/minimum": minimum "/firestore:v1/FieldTransform/removeAllFromArray": remove_all_from_array "/firestore:v1/FieldTransform/setToServerValue": set_to_server_value "/firestore:v1/Filter": filter @@ -69117,6 +69330,9 @@ "/firestore:v1beta1/FieldTransform": field_transform "/firestore:v1beta1/FieldTransform/appendMissingElements": append_missing_elements "/firestore:v1beta1/FieldTransform/fieldPath": field_path +"/firestore:v1beta1/FieldTransform/increment": increment +"/firestore:v1beta1/FieldTransform/maximum": maximum +"/firestore:v1beta1/FieldTransform/minimum": minimum "/firestore:v1beta1/FieldTransform/removeAllFromArray": remove_all_from_array "/firestore:v1beta1/FieldTransform/setToServerValue": set_to_server_value "/firestore:v1beta1/Filter": filter @@ -74725,6 +74941,14 @@ "/jobs:v3p1beta1/NumericBucketingResult/counts/count": count "/jobs:v3p1beta1/NumericBucketingResult/maxValue": max_value "/jobs:v3p1beta1/NumericBucketingResult/minValue": min_value +"/jobs:v3p1beta1/Operation": operation +"/jobs:v3p1beta1/Operation/done": done +"/jobs:v3p1beta1/Operation/error": error +"/jobs:v3p1beta1/Operation/metadata": metadata +"/jobs:v3p1beta1/Operation/metadata/metadatum": metadatum +"/jobs:v3p1beta1/Operation/name": name +"/jobs:v3p1beta1/Operation/response": response +"/jobs:v3p1beta1/Operation/response/response": response "/jobs:v3p1beta1/PostalAddress": postal_address "/jobs:v3p1beta1/PostalAddress/addressLines": address_lines "/jobs:v3p1beta1/PostalAddress/addressLines/address_line": address_line @@ -74783,6 +75007,12 @@ "/jobs:v3p1beta1/SpellingCorrection": spelling_correction "/jobs:v3p1beta1/SpellingCorrection/corrected": corrected "/jobs:v3p1beta1/SpellingCorrection/correctedText": corrected_text +"/jobs:v3p1beta1/Status": status +"/jobs:v3p1beta1/Status/code": code +"/jobs:v3p1beta1/Status/details": details +"/jobs:v3p1beta1/Status/details/detail": detail +"/jobs:v3p1beta1/Status/details/detail/detail": detail +"/jobs:v3p1beta1/Status/message": message "/jobs:v3p1beta1/TimeOfDay": time_of_day "/jobs:v3p1beta1/TimeOfDay/hours": hours "/jobs:v3p1beta1/TimeOfDay/minutes": minutes @@ -74842,6 +75072,8 @@ "/jobs:v3p1beta1/jobs.projects.jobs.search/parent": parent "/jobs:v3p1beta1/jobs.projects.jobs.searchForAlert": search_project_job_for_alert "/jobs:v3p1beta1/jobs.projects.jobs.searchForAlert/parent": parent +"/jobs:v3p1beta1/jobs.projects.operations.get": get_project_operation +"/jobs:v3p1beta1/jobs.projects.operations.get/name": name "/jobs:v3p1beta1/key": key "/jobs:v3p1beta1/quotaUser": quota_user "/kgsearch:v1/SearchResponse": search_response @@ -84717,8 +84949,10 @@ "/serviceconsumermanagement:v1/BackendRule": backend_rule "/serviceconsumermanagement:v1/BackendRule/address": address "/serviceconsumermanagement:v1/BackendRule/deadline": deadline +"/serviceconsumermanagement:v1/BackendRule/jwtAudience": jwt_audience "/serviceconsumermanagement:v1/BackendRule/minDeadline": min_deadline "/serviceconsumermanagement:v1/BackendRule/operationDeadline": operation_deadline +"/serviceconsumermanagement:v1/BackendRule/pathTranslation": path_translation "/serviceconsumermanagement:v1/BackendRule/selector": selector "/serviceconsumermanagement:v1/Billing": billing "/serviceconsumermanagement:v1/Billing/consumerDestinations": consumer_destinations @@ -86418,8 +86652,10 @@ "/servicenetworking:v1beta/BackendRule": backend_rule "/servicenetworking:v1beta/BackendRule/address": address "/servicenetworking:v1beta/BackendRule/deadline": deadline +"/servicenetworking:v1beta/BackendRule/jwtAudience": jwt_audience "/servicenetworking:v1beta/BackendRule/minDeadline": min_deadline "/servicenetworking:v1beta/BackendRule/operationDeadline": operation_deadline +"/servicenetworking:v1beta/BackendRule/pathTranslation": path_translation "/servicenetworking:v1beta/BackendRule/selector": selector "/servicenetworking:v1beta/Billing": billing "/servicenetworking:v1beta/Billing/consumerDestinations": consumer_destinations @@ -86777,8 +87013,10 @@ "/serviceusage:v1/BackendRule": backend_rule "/serviceusage:v1/BackendRule/address": address "/serviceusage:v1/BackendRule/deadline": deadline +"/serviceusage:v1/BackendRule/jwtAudience": jwt_audience "/serviceusage:v1/BackendRule/minDeadline": min_deadline "/serviceusage:v1/BackendRule/operationDeadline": operation_deadline +"/serviceusage:v1/BackendRule/pathTranslation": path_translation "/serviceusage:v1/BackendRule/selector": selector "/serviceusage:v1/BatchEnableServicesRequest": batch_enable_services_request "/serviceusage:v1/BatchEnableServicesRequest/serviceIds": service_ids @@ -87244,8 +87482,10 @@ "/serviceusage:v1beta1/BackendRule": backend_rule "/serviceusage:v1beta1/BackendRule/address": address "/serviceusage:v1beta1/BackendRule/deadline": deadline +"/serviceusage:v1beta1/BackendRule/jwtAudience": jwt_audience "/serviceusage:v1beta1/BackendRule/minDeadline": min_deadline "/serviceusage:v1beta1/BackendRule/operationDeadline": operation_deadline +"/serviceusage:v1beta1/BackendRule/pathTranslation": path_translation "/serviceusage:v1beta1/BackendRule/selector": selector "/serviceusage:v1beta1/BatchEnableServicesRequest": batch_enable_services_request "/serviceusage:v1beta1/BatchEnableServicesRequest/serviceIds": service_ids diff --git a/generated/google/apis/compute_alpha.rb b/generated/google/apis/compute_alpha.rb index 004c2eb16..356f6cda9 100644 --- a/generated/google/apis/compute_alpha.rb +++ b/generated/google/apis/compute_alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeAlpha VERSION = 'Alpha' - REVISION = '20181130' + REVISION = '20181217' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_alpha/classes.rb b/generated/google/apis/compute_alpha/classes.rb index 83d309b28..b30366e67 100644 --- a/generated/google/apis/compute_alpha/classes.rb +++ b/generated/google/apis/compute_alpha/classes.rb @@ -33,8 +33,10 @@ module Google attr_accessor :accelerator_count # Full or partial URL of the accelerator type resource to attach to this - # instance. If you are creating an instance template, specify only the - # accelerator name. + # instance. For example: projects/my-project/zones/us-central1-c/ + # acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, + # specify only the accelerator name. See GPUs on Compute Engine for a full list + # of accelerator types. # Corresponds to the JSON property `acceleratorType` # @return [String] attr_accessor :accelerator_type @@ -97,6 +99,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource's resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # [Output Only] The name of the zone where the accelerator type resides, such as # us-central1-a. You must specify this field as part of the HTTP request URL. It # is not settable as a field in the request body. @@ -118,6 +125,7 @@ module Google @maximum_cards_per_instance = args[:maximum_cards_per_instance] if args.key?(:maximum_cards_per_instance) @name = args[:name] if args.key?(:name) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @zone = args[:zone] if args.key?(:zone) end end @@ -648,6 +656,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # [Output Only] The status of the address, which can be one of RESERVING, # RESERVED, or IN_USE. An address that is RESERVING is currently in the process # of being reserved. A RESERVED address is currently reserved and available to @@ -691,6 +704,7 @@ module Google @purpose = args[:purpose] if args.key?(:purpose) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @status = args[:status] if args.key?(:status) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @users = args[:users] if args.key?(:users) @@ -1102,6 +1116,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # This allocation type allows to pre allocate specific instance configuration. # Corresponds to the JSON property `specificAllocation` # @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocation] @@ -1133,6 +1152,7 @@ module Google @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @specific_allocation = args[:specific_allocation] if args.key?(:specific_allocation) @specific_allocation_required = args[:specific_allocation_required] if args.key?(:specific_allocation_required) @zone = args[:zone] if args.key?(:zone) @@ -1654,7 +1674,7 @@ module Google # instance. This name can be used to reference the device for mounting, resizing, # and so on, from within the instance. # If not specified, the server chooses a default device name to apply to this - # disk, in the form persistent-disks-x, where x is a number assigned by Google + # disk, in the form persistent-disk-x, where x is a number assigned by Google # Compute Engine. This field is only applicable for persistent disks. # Corresponds to the JSON property `deviceName` # @return [String] @@ -2039,6 +2059,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # [Output Only] The status of the autoscaler configuration. # Corresponds to the JSON property `status` # @return [String] @@ -2077,6 +2102,7 @@ module Google @recommended_size = args[:recommended_size] if args.key?(:recommended_size) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @status = args[:status] if args.key?(:status) @status_details = args[:status_details] if args.key?(:status_details) @target = args[:target] if args.key?(:target) @@ -2625,7 +2651,7 @@ module Google class AutoscalingPolicyLoadBalancingUtilization include Google::Apis::Core::Hashable - # Fraction of backend capacity utilization (set in HTTP(s) load balancing + # Fraction of backend capacity utilization (set in HTTP(S) load balancing # configuration) that autoscaler should maintain. Must be a positive float value. # If not defined, the default is 0.8. # Corresponds to the JSON property `utilizationTarget` @@ -2900,6 +2926,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + def initialize(**args) update!(**args) end @@ -2915,6 +2946,7 @@ module Google @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) end end @@ -3238,6 +3270,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # Type of session affinity to use. The default is NONE. # When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or # GENERATED_COOKIE. @@ -3285,6 +3322,7 @@ module Google @region = args[:region] if args.key?(:region) @security_policy = args[:security_policy] if args.key?(:security_policy) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @session_affinity = args[:session_affinity] if args.key?(:session_affinity) @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec) end @@ -4130,6 +4168,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # [Output Only] Commitment start time in RFC3339 text format. # Corresponds to the JSON property `startTimestamp` # @return [String] @@ -4171,6 +4214,7 @@ module Google @region = args[:region] if args.key?(:region) @resources = args[:resources] if args.key?(:resources) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp) @status = args[:status] if args.key?(:status) @status_message = args[:status_message] if args.key?(:status_message) @@ -4575,6 +4619,79 @@ module Google end end + # The specification for allowing client side cross-origin requests. Please see + # W3C Recommendation for Cross Origin Resource Sharing + class CorsPolicy + include Google::Apis::Core::Hashable + + # In response to a preflight request, setting this to true indicates that the + # actual request can include user credentials. This translates to the Access- + # Control-Allow-Credentials header. + # Default is false. + # Corresponds to the JSON property `allowCredentials` + # @return [Boolean] + attr_accessor :allow_credentials + alias_method :allow_credentials?, :allow_credentials + + # Specifies the content for the Access-Control-Allow-Headers header. + # Corresponds to the JSON property `allowHeaders` + # @return [Array] + attr_accessor :allow_headers + + # Specifies the content for the Access-Control-Allow-Methods header. + # Corresponds to the JSON property `allowMethods` + # @return [Array] + attr_accessor :allow_methods + + # Specifies the regualar expression patterns that match allowed origins. For + # regular expression grammar please see en.cppreference.com/w/cpp/regex/ + # ecmascript + # An origin is allowed if it matches either allow_origins or allow_origin_regex. + # Corresponds to the JSON property `allowOriginRegexes` + # @return [Array] + attr_accessor :allow_origin_regexes + + # Specifies the list of origins that will be allowed to do CORS requests. + # An origin is allowed if it matches either allow_origins or allow_origin_regex. + # Corresponds to the JSON property `allowOrigins` + # @return [Array] + attr_accessor :allow_origins + + # If true, specifies the CORS policy is disabled. The default value of false, + # which indicates that the CORS policy is in effect. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + + # Specifies the content for the Access-Control-Expose-Headers header. + # Corresponds to the JSON property `exposeHeaders` + # @return [Array] + attr_accessor :expose_headers + + # Specifies how long the results of a preflight request can be cached. This + # translates to the content for the Access-Control-Max-Age header. + # Corresponds to the JSON property `maxAge` + # @return [Fixnum] + attr_accessor :max_age + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allow_credentials = args[:allow_credentials] if args.key?(:allow_credentials) + @allow_headers = args[:allow_headers] if args.key?(:allow_headers) + @allow_methods = args[:allow_methods] if args.key?(:allow_methods) + @allow_origin_regexes = args[:allow_origin_regexes] if args.key?(:allow_origin_regexes) + @allow_origins = args[:allow_origins] if args.key?(:allow_origins) + @disabled = args[:disabled] if args.key?(:disabled) + @expose_headers = args[:expose_headers] if args.key?(:expose_headers) + @max_age = args[:max_age] if args.key?(:max_age) + end + end + # Represents a customer-supplied encryption key class CustomerEncryptionKey include Google::Apis::Core::Hashable @@ -4584,6 +4701,11 @@ module Google # @return [String] attr_accessor :kms_key_name + # + # Corresponds to the JSON property `kmsKeyServiceAccount` + # @return [String] + attr_accessor :kms_key_service_account + # Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 # base64 to either encrypt or decrypt this resource. # Corresponds to the JSON property `rawKey` @@ -4615,6 +4737,7 @@ module Google # Update properties of this object def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) + @kms_key_service_account = args[:kms_key_service_account] if args.key?(:kms_key_service_account) @raw_key = args[:raw_key] if args.key?(:raw_key) @rsa_encrypted_key = args[:rsa_encrypted_key] if args.key?(:rsa_encrypted_key) @sha256 = args[:sha256] if args.key?(:sha256) @@ -5336,6 +5459,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # [Output Only] An optional textual description of the valid disk size, such as " # 10GB-10TB". # Corresponds to the JSON property `validDiskSize` @@ -5364,6 +5492,7 @@ module Google @name = args[:name] if args.key?(:name) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @valid_disk_size = args[:valid_disk_size] if args.key?(:valid_disk_size) @zone = args[:zone] if args.key?(:zone) end @@ -5902,6 +6031,38 @@ module Google end end + # A Duration represents a fixed-length span of time represented as a count of + # seconds and fractions of seconds at nanosecond resolution. It is independent + # of any calendar and concepts like "day" or "month". Range is approximately 10, + # 000 years. + class Duration + include Google::Apis::Core::Hashable + + # Span of time that's a fraction of a second at nanosecond resolution. Durations + # less than one second are represented with a 0 `seconds` field and a positive ` + # nanos` field. Must be from 0 to 999,999,999 inclusive. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 + # inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 + # hr/day * 365.25 days/year * 10000 years + # Corresponds to the JSON property `seconds` + # @return [Fixnum] + attr_accessor :seconds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nanos = args[:nanos] if args.key?(:nanos) + @seconds = args[:seconds] if args.key?(:seconds) + end + end + # class ExchangedPeeringRoute include Google::Apis::Core::Hashable @@ -6219,6 +6380,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # If source ranges are specified, the firewall will apply only to traffic that # has source IP address in these ranges. These ranges must be expressed in CIDR # format. One or both of sourceRanges and sourceTags may be set. If both @@ -6297,6 +6463,7 @@ module Google @network = args[:network] if args.key?(:network) @priority = args[:priority] if args.key?(:priority) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @source_ranges = args[:source_ranges] if args.key?(:source_ranges) @source_service_accounts = args[:source_service_accounts] if args.key?(:source_service_accounts) @source_tags = args[:source_tags] if args.key?(:source_tags) @@ -6760,6 +6927,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # An optional prefix to the service name for this Forwarding Rule. If specified, # will be the first label of the fully qualified service name. # The label must be 1-63 characters long, and comply with RFC1035. Specifically, @@ -6826,6 +6998,7 @@ module Google @ports = args[:ports] if args.key?(:ports) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @service_label = args[:service_label] if args.key?(:service_label) @service_name = args[:service_name] if args.key?(:service_name) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @@ -8227,6 +8400,258 @@ module Google end end + # Specification for how requests are aborted as part of fault injection. + class HttpFaultAbort + include Google::Apis::Core::Hashable + + # The HTTP status code used to abort the request. + # The value must be between 200 and 599 inclusive. + # Corresponds to the JSON property `httpStatus` + # @return [Fixnum] + attr_accessor :http_status + + # The percentage of traffic (connections/operations/requests) which will be + # aborted as part of fault injection. + # The value must be between 0.0 and 100.0 inclusive. + # Corresponds to the JSON property `percentage` + # @return [Float] + attr_accessor :percentage + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @http_status = args[:http_status] if args.key?(:http_status) + @percentage = args[:percentage] if args.key?(:percentage) + end + end + + # Specifies the delay introduced by Loadbalancer before forwarding the request + # to the backend service as part of fault injection. + class HttpFaultDelay + include Google::Apis::Core::Hashable + + # A Duration represents a fixed-length span of time represented as a count of + # seconds and fractions of seconds at nanosecond resolution. It is independent + # of any calendar and concepts like "day" or "month". Range is approximately 10, + # 000 years. + # Corresponds to the JSON property `fixedDelay` + # @return [Google::Apis::ComputeAlpha::Duration] + attr_accessor :fixed_delay + + # The percentage of traffic (connections/operations/requests) on which delay + # will be introduced as part of fault injection. + # The value must be between 0.0 and 100.0 inclusive. + # Corresponds to the JSON property `percentage` + # @return [Float] + attr_accessor :percentage + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fixed_delay = args[:fixed_delay] if args.key?(:fixed_delay) + @percentage = args[:percentage] if args.key?(:percentage) + end + end + + # The specification for fault injection introduced into traffic to test the + # resiliency of clients to backend service failure. As part of fault injection, + # when clients send requests to a backend service, delays can be introduced by + # Loadbalancer on a percentage of requests before sending those request to the + # backend service. Similarly requests from clients can be aborted by the + # Loadbalancer for a percentage of requests. + class HttpFaultInjection + include Google::Apis::Core::Hashable + + # Specification for how requests are aborted as part of fault injection. + # Corresponds to the JSON property `abort` + # @return [Google::Apis::ComputeAlpha::HttpFaultAbort] + attr_accessor :abort + + # Specifies the delay introduced by Loadbalancer before forwarding the request + # to the backend service as part of fault injection. + # Corresponds to the JSON property `delay` + # @return [Google::Apis::ComputeAlpha::HttpFaultDelay] + attr_accessor :delay + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @abort = args[:abort] if args.key?(:abort) + @delay = args[:delay] if args.key?(:delay) + end + end + + # The request and response header transformations that take effect before the + # request is passed along to the selected backendService. + class HttpHeaderAction + include Google::Apis::Core::Hashable + + # Headers to add to a matching request prior to forwarding the request to the + # backendService. + # Corresponds to the JSON property `requestHeadersToAdd` + # @return [Array] + attr_accessor :request_headers_to_add + + # A list of header names for headers that need to be removed from the request + # prior to forwarding the request to the backendService. + # Corresponds to the JSON property `requestHeadersToRemove` + # @return [Array] + attr_accessor :request_headers_to_remove + + # Headers to add the response prior to sending the response back to the client. + # Corresponds to the JSON property `responseHeadersToAdd` + # @return [Array] + attr_accessor :response_headers_to_add + + # A list of header names for headers that need to be removed from the response + # prior to sending the response back to the client. + # Corresponds to the JSON property `responseHeadersToRemove` + # @return [Array] + attr_accessor :response_headers_to_remove + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @request_headers_to_add = args[:request_headers_to_add] if args.key?(:request_headers_to_add) + @request_headers_to_remove = args[:request_headers_to_remove] if args.key?(:request_headers_to_remove) + @response_headers_to_add = args[:response_headers_to_add] if args.key?(:response_headers_to_add) + @response_headers_to_remove = args[:response_headers_to_remove] if args.key?(:response_headers_to_remove) + end + end + + # matchRule criteria for request header matches. + class HttpHeaderMatch + include Google::Apis::Core::Hashable + + # The value should exactly match contents of exactMatch. + # Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or + # rangeMatch must be set. + # Corresponds to the JSON property `exactMatch` + # @return [String] + attr_accessor :exact_match + + # The name of the HTTP header to match. + # For matching against the HTTP request's authority, use a headerMatch with the + # header name ":authority". + # For matching a request's method, use the headerName ":method". + # Corresponds to the JSON property `headerName` + # @return [String] + attr_accessor :header_name + + # If set to false, the headerMatch is considered a match if the match criteria + # above are met. If set to true, the headerMatch is considered a match if the + # match criteria above are NOT met. + # The default setting is false. + # Corresponds to the JSON property `invertMatch` + # @return [Boolean] + attr_accessor :invert_match + alias_method :invert_match?, :invert_match + + # The value of the header must start with the contents of prefixMatch. + # Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or + # rangeMatch must be set. + # Corresponds to the JSON property `prefixMatch` + # @return [String] + attr_accessor :prefix_match + + # A header with the contents of headerName must exist. The match takes place + # whether or not the request's header has a value or not. + # Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or + # rangeMatch must be set. + # Corresponds to the JSON property `presentMatch` + # @return [Boolean] + attr_accessor :present_match + alias_method :present_match?, :present_match + + # HttpRouteRuleMatch criteria for field values that must stay within the + # specified integer range. + # Corresponds to the JSON property `rangeMatch` + # @return [Google::Apis::ComputeAlpha::Int64RangeMatch] + attr_accessor :range_match + + # The value of the header must match the regualar expression specified in + # regexMatch. For regular expression grammar, please see: en.cppreference.com/w/ + # cpp/regex/ecmascript + # For matching against a port specified in the HTTP request, use a headerMatch + # with headerName set to PORT and a regular expression that satisfies the + # RFC2616 Host header's port specifier. + # Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or + # rangeMatch must be set. + # Corresponds to the JSON property `regexMatch` + # @return [String] + attr_accessor :regex_match + + # The value of the header must end with the contents of suffixMatch. + # Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or + # rangeMatch must be set. + # Corresponds to the JSON property `suffixMatch` + # @return [String] + attr_accessor :suffix_match + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exact_match = args[:exact_match] if args.key?(:exact_match) + @header_name = args[:header_name] if args.key?(:header_name) + @invert_match = args[:invert_match] if args.key?(:invert_match) + @prefix_match = args[:prefix_match] if args.key?(:prefix_match) + @present_match = args[:present_match] if args.key?(:present_match) + @range_match = args[:range_match] if args.key?(:range_match) + @regex_match = args[:regex_match] if args.key?(:regex_match) + @suffix_match = args[:suffix_match] if args.key?(:suffix_match) + end + end + + # Specification determining how headers are added to requests or responses. + class HttpHeaderOption + include Google::Apis::Core::Hashable + + # The name of the header. + # Corresponds to the JSON property `headerName` + # @return [String] + attr_accessor :header_name + + # The value of the header to add. + # Corresponds to the JSON property `headerValue` + # @return [String] + attr_accessor :header_value + + # If false, headerValue is appended to any values that already exist for the + # header. If true, headerValue is set for the header, discarding any values that + # were set for that header. + # The default value is false. + # Corresponds to the JSON property `replace` + # @return [Boolean] + attr_accessor :replace + alias_method :replace?, :replace + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @header_name = args[:header_name] if args.key?(:header_name) + @header_value = args[:header_value] if args.key?(:header_value) + @replace = args[:replace] if args.key?(:replace) + end + end + # An HttpHealthCheck resource. This resource defines a template for how # individual instances should be checked for health, via HTTP. class HttpHealthCheck @@ -8450,6 +8875,384 @@ module Google end end + # HttpRouteRuleMatch criteria for a request's query parameter. + class HttpQueryParameterMatch + include Google::Apis::Core::Hashable + + # The queryParameterMatch matches if the value of the parameter exactly matches + # the contents of exactMatch. + # Only one of presentMatch, exactMatch and regexMatch must be set. + # Corresponds to the JSON property `exactMatch` + # @return [String] + attr_accessor :exact_match + + # The name of the query parameter to match. The query parameter must exist in + # the request, in the absence of which the request match fails. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Specifies that the queryParameterMatch matches if the request contains the + # query parameter, irrespective of whether the parameter has a value or not. + # Only one of presentMatch, exactMatch and regexMatch must be set. + # Corresponds to the JSON property `presentMatch` + # @return [Boolean] + attr_accessor :present_match + alias_method :present_match?, :present_match + + # The queryParameterMatch matches if the value of the parameter matches the + # regular expression specified by regexMatch. For the regular expression grammar, + # please see en.cppreference.com/w/cpp/regex/ecmascript + # Only one of presentMatch, exactMatch and regexMatch must be set. + # Corresponds to the JSON property `regexMatch` + # @return [String] + attr_accessor :regex_match + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exact_match = args[:exact_match] if args.key?(:exact_match) + @name = args[:name] if args.key?(:name) + @present_match = args[:present_match] if args.key?(:present_match) + @regex_match = args[:regex_match] if args.key?(:regex_match) + end + end + + # Specifies settings for an HTTP redirect. + class HttpRedirectAction + include Google::Apis::Core::Hashable + + # The host that will be used in the redirect response instead of the one that + # was supplied in the request. + # The value must be between 1 and 255 characters. + # Corresponds to the JSON property `hostRedirect` + # @return [String] + attr_accessor :host_redirect + + # If set to true, the URL scheme in the redirected request is set to https. If + # set to false, the URL scheme of the redirected request will remain the same as + # that of the request. + # This must only be set for UrlMaps used in TargetHttpProxys. Setting this true + # for TargetHttpsProxy is not permitted. + # The default is set to false. + # Corresponds to the JSON property `httpsRedirect` + # @return [Boolean] + attr_accessor :https_redirect + alias_method :https_redirect?, :https_redirect + + # The path that will be used in the redirect response instead of the one that + # was supplied in the request. + # Only one of pathRedirect or prefixRedirect must be specified. + # The value must be between 1 and 1024 characters. + # Corresponds to the JSON property `pathRedirect` + # @return [String] + attr_accessor :path_redirect + + # The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, + # retaining the remaining portion of the URL before redirecting the request. + # Corresponds to the JSON property `prefixRedirect` + # @return [String] + attr_accessor :prefix_redirect + + # The HTTP Status code to use for this RedirectAction. + # Supported values are: + # - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. + # + # - FOUND, which corresponds to 302. + # - SEE_OTHER which corresponds to 303. + # - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request + # method will be retained. + # - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request + # method will be retained. + # Corresponds to the JSON property `redirectResponseCode` + # @return [String] + attr_accessor :redirect_response_code + + # If set to true, any accompanying query portion of the original URL is removed + # prior to redirecting the request. If set to false, the query portion of the + # original URL is retained. + # The default is set to false. + # Corresponds to the JSON property `stripQuery` + # @return [Boolean] + attr_accessor :strip_query + alias_method :strip_query?, :strip_query + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @host_redirect = args[:host_redirect] if args.key?(:host_redirect) + @https_redirect = args[:https_redirect] if args.key?(:https_redirect) + @path_redirect = args[:path_redirect] if args.key?(:path_redirect) + @prefix_redirect = args[:prefix_redirect] if args.key?(:prefix_redirect) + @redirect_response_code = args[:redirect_response_code] if args.key?(:redirect_response_code) + @strip_query = args[:strip_query] if args.key?(:strip_query) + end + end + + # The retry policy associates with HttpRouteRule + class HttpRetryPolicy + include Google::Apis::Core::Hashable + + # Specifies the allowed number retries. This number must be > 0. + # Corresponds to the JSON property `numRetries` + # @return [Fixnum] + attr_accessor :num_retries + + # A Duration represents a fixed-length span of time represented as a count of + # seconds and fractions of seconds at nanosecond resolution. It is independent + # of any calendar and concepts like "day" or "month". Range is approximately 10, + # 000 years. + # Corresponds to the JSON property `perTryTimeout` + # @return [Google::Apis::ComputeAlpha::Duration] + attr_accessor :per_try_timeout + + # Specfies one or more conditions when this retry rule applies. Valid values are: + # + # - 5xx: Loadbalancer will attempt a retry if the backend service responds with + # any 5xx response code, or if the backend service does not respond at all, + # example: disconnects, reset, read timeout, connection failure, and refused + # streams. + # - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 + # or 504. + # - + # - connect-failure: Loadbalancer will retry on failures connecting to backend + # services, for example due to connection timeouts. + # - retriable-4xx: Loadbalancer will retry for retriable 4xx response codes. + # Currently the only retriable error supported is 409. + # - refused-stream:Loadbalancer will retry if the backend service resets the + # stream with a REFUSED_STREAM error code. This reset type indicates that it is + # safe to retry. + # - cancelledLoadbalancer will retry if the gRPC status code in the response + # header is set to cancelled + # - deadline-exceeded: Loadbalancer will retry if the gRPC status code in the + # response header is set to deadline-exceeded + # - resource-exhausted: Loadbalancer will retry if the gRPC status code in the + # response header is set to resource-exhausted + # - unavailable: Loadbalancer will retry if the gRPC status code in the response + # header is set to unavailable + # Corresponds to the JSON property `retryConditions` + # @return [Array] + attr_accessor :retry_conditions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @num_retries = args[:num_retries] if args.key?(:num_retries) + @per_try_timeout = args[:per_try_timeout] if args.key?(:per_try_timeout) + @retry_conditions = args[:retry_conditions] if args.key?(:retry_conditions) + end + end + + # + class HttpRouteAction + include Google::Apis::Core::Hashable + + # The specification for allowing client side cross-origin requests. Please see + # W3C Recommendation for Cross Origin Resource Sharing + # Corresponds to the JSON property `corsPolicy` + # @return [Google::Apis::ComputeAlpha::CorsPolicy] + attr_accessor :cors_policy + + # The specification for fault injection introduced into traffic to test the + # resiliency of clients to backend service failure. As part of fault injection, + # when clients send requests to a backend service, delays can be introduced by + # Loadbalancer on a percentage of requests before sending those request to the + # backend service. Similarly requests from clients can be aborted by the + # Loadbalancer for a percentage of requests. + # Corresponds to the JSON property `faultInjectionPolicy` + # @return [Google::Apis::ComputeAlpha::HttpFaultInjection] + attr_accessor :fault_injection_policy + + # A policy that specifies how requests intended for the route's backends are + # shadowed to a separate mirrored backend service. Loadbalancer does not wait + # for responses from the shadow service. Prior to sending traffic to the shadow + # service, the host / authority header is suffixed with -shadow. + # Corresponds to the JSON property `requestMirrorPolicy` + # @return [Google::Apis::ComputeAlpha::RequestMirrorPolicy] + attr_accessor :request_mirror_policy + + # The retry policy associates with HttpRouteRule + # Corresponds to the JSON property `retryPolicy` + # @return [Google::Apis::ComputeAlpha::HttpRetryPolicy] + attr_accessor :retry_policy + + # A Duration represents a fixed-length span of time represented as a count of + # seconds and fractions of seconds at nanosecond resolution. It is independent + # of any calendar and concepts like "day" or "month". Range is approximately 10, + # 000 years. + # Corresponds to the JSON property `timeout` + # @return [Google::Apis::ComputeAlpha::Duration] + attr_accessor :timeout + + # The spec for modifying the path before sending the request to the matched + # backend service. + # Corresponds to the JSON property `urlRewrite` + # @return [Google::Apis::ComputeAlpha::UrlRewrite] + attr_accessor :url_rewrite + + # A list of weighted backend services to send traffic to when a route match + # occurs. The weights determine the percentage of traffic that flows to their + # corresponding backend service. The weights must add up to 100. If all traffic + # needs to go to a single backend service, there must be one + # weightedBackendService with weight set to 100. + # Once a backendService is identified and before forwarding the request to the + # backend service, advanced routing actions like Url rewrites and header + # transformations are applied depending on additional settings specified in this + # HttpRouteAction. + # Corresponds to the JSON property `weightedBackendServices` + # @return [Array] + attr_accessor :weighted_backend_services + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cors_policy = args[:cors_policy] if args.key?(:cors_policy) + @fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy) + @request_mirror_policy = args[:request_mirror_policy] if args.key?(:request_mirror_policy) + @retry_policy = args[:retry_policy] if args.key?(:retry_policy) + @timeout = args[:timeout] if args.key?(:timeout) + @url_rewrite = args[:url_rewrite] if args.key?(:url_rewrite) + @weighted_backend_services = args[:weighted_backend_services] if args.key?(:weighted_backend_services) + end + end + + # An HttpRouteRule specifies how to match an HTTP request and the corresponding + # routing action that load balancing proxies will perform. + class HttpRouteRule + include Google::Apis::Core::Hashable + + # The request and response header transformations that take effect before the + # request is passed along to the selected backendService. + # Corresponds to the JSON property `headerAction` + # @return [Google::Apis::ComputeAlpha::HttpHeaderAction] + attr_accessor :header_action + + # + # Corresponds to the JSON property `matchRules` + # @return [Array] + attr_accessor :match_rules + + # In response to a matching matchRule, the load balancer routes the request to + # the backend service specified by this routeAction. + # Only one of routeAction or urlRedirect must be set. + # Corresponds to the JSON property `routeAction` + # @return [Google::Apis::ComputeAlpha::HttpRouteAction] + attr_accessor :route_action + + # Specifies settings for an HTTP redirect. + # Corresponds to the JSON property `urlRedirect` + # @return [Google::Apis::ComputeAlpha::HttpRedirectAction] + attr_accessor :url_redirect + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @header_action = args[:header_action] if args.key?(:header_action) + @match_rules = args[:match_rules] if args.key?(:match_rules) + @route_action = args[:route_action] if args.key?(:route_action) + @url_redirect = args[:url_redirect] if args.key?(:url_redirect) + end + end + + # HttpRouteRuleMatch specifies a set of criteria for matching requests to an + # HttpRouteRule. All specified criteria must be satisfied for a match to occur. + class HttpRouteRuleMatch + include Google::Apis::Core::Hashable + + # For satifying the matchRule condition, the path of the request must exactly + # match the value specified in fullPathMatch after removing any query parameters + # and anchor that may be part of the original URL. + # FullPathMatch must be between 1 and 1024 characters. + # Only one of prefixMatch, fullPathMatch or regexMatch must be specified. + # Corresponds to the JSON property `fullPathMatch` + # @return [String] + attr_accessor :full_path_match + + # Specifies a list of header match criteria, all of which must match + # corresponding headers in the request. + # Corresponds to the JSON property `headerMatches` + # @return [Array] + attr_accessor :header_matches + + # Specifies that prefixMatch and fullPathMatch matches are case sensitive. + # The default value is false. + # caseSensitive must not be used with regexMatch. + # Corresponds to the JSON property `ignoreCase` + # @return [Boolean] + attr_accessor :ignore_case + alias_method :ignore_case?, :ignore_case + + # Opaque filter criteria used by Loadbalancer to restrict routing configuration + # to a limited set xDS compliant clients. In their xDS requests to Loadbalancer, + # xDS clients present node metadata. If a match takes place, the relevant + # routing configuration is made available to those proxies. + # For each metadataFilter in this list, if its filterMatchCriteria is set to + # MATCH_ANY, at least one of the filterLabels must match the corresponding label + # provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then + # all of its filterLabels must match with corresponding labels in the provided + # metadata. + # metadataFilters specified here can be overrides those specified in + # ForwardingRule that refers to this UrlMap. + # metadataFilters only applies to Loadbalancers that have their + # loadBalancingScheme set to INTERNAL_SELF_MANAGED. + # Corresponds to the JSON property `metadataFilters` + # @return [Array] + attr_accessor :metadata_filters + + # For satifying the matchRule condition, the request's path must begin with the + # specified prefixMatch. prefixMatch must begin with a /. + # The value must be between 1 and 1024 characters. + # Only one of prefixMatch, fullPathMatch or regexMatch must be specified. + # Corresponds to the JSON property `prefixMatch` + # @return [String] + attr_accessor :prefix_match + + # Specifies a list of query parameter match criteria, all of which must match + # corresponding query parameters in the request. + # Corresponds to the JSON property `queryParameterMatches` + # @return [Array] + attr_accessor :query_parameter_matches + + # For satifying the matchRule condition, the path of the request must satisfy + # the regular expression specified in regexMatch after removing any query + # parameters and anchor supplied with the original URL. For regular expression + # grammar please see en.cppreference.com/w/cpp/regex/ecmascript + # Only one of prefixMatch, fullPathMatch or regexMatch must be specified. + # Corresponds to the JSON property `regexMatch` + # @return [String] + attr_accessor :regex_match + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @full_path_match = args[:full_path_match] if args.key?(:full_path_match) + @header_matches = args[:header_matches] if args.key?(:header_matches) + @ignore_case = args[:ignore_case] if args.key?(:ignore_case) + @metadata_filters = args[:metadata_filters] if args.key?(:metadata_filters) + @prefix_match = args[:prefix_match] if args.key?(:prefix_match) + @query_parameter_matches = args[:query_parameter_matches] if args.key?(:query_parameter_matches) + @regex_match = args[:regex_match] if args.key?(:regex_match) + end + end + # An HttpsHealthCheck resource. This resource defines a template for how # individual instances should be checked for health, via HTTPS. class HttpsHealthCheck @@ -8783,6 +9586,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource's resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # URL of the source disk used to create this image. This can be a full or valid # partial URL. You must provide either this property or the rawDisk.source # property but not both to create an image. For example, the following are valid @@ -8863,6 +9671,11 @@ module Google # @return [String] attr_accessor :status + # GCS bucket storage location of the image (regional or multi-regional). + # Corresponds to the JSON property `storageLocations` + # @return [Array] + attr_accessor :storage_locations + def initialize(**args) update!(**args) end @@ -8886,6 +9699,7 @@ module Google @name = args[:name] if args.key?(:name) @raw_disk = args[:raw_disk] if args.key?(:raw_disk) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @source_disk = args[:source_disk] if args.key?(:source_disk) @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key) @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id) @@ -8897,6 +9711,7 @@ module Google @source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id) @source_type = args[:source_type] if args.key?(:source_type) @status = args[:status] if args.key?(:status) + @storage_locations = args[:storage_locations] if args.key?(:storage_locations) end # The parameters of the raw disk image. @@ -9214,6 +10029,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # A list of service accounts, with their specified scopes, authorized for this # instance. Only one service account per VM instance is supported. # Service accounts generate access tokens that can be accessed through the @@ -9300,6 +10120,7 @@ module Google @resource_policies = args[:resource_policies] if args.key?(:resource_policies) @scheduling = args[:scheduling] if args.key?(:scheduling) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @service_accounts = args[:service_accounts] if args.key?(:service_accounts) @shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config) @shielded_vm_integrity_policy = args[:shielded_vm_integrity_policy] if args.key?(:shielded_vm_integrity_policy) @@ -9499,6 +10320,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # [Output Only] The total number of instances in the instance group. # Corresponds to the JSON property `size` # @return [Fixnum] @@ -9532,6 +10358,7 @@ module Google @network = args[:network] if args.key?(:network) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @size = args[:size] if args.key?(:size) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @zone = args[:zone] if args.key?(:zone) @@ -9890,6 +10717,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # The service account to be used as credentials for all operations performed by # the managed instance group on instances. The service accounts needs all # permissions required to create and delete instances. By default, the service @@ -9968,6 +10800,7 @@ module Google @pending_actions = args[:pending_actions] if args.key?(:pending_actions) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @service_account = args[:service_account] if args.key?(:service_account) @stateful_policy = args[:stateful_policy] if args.key?(:stateful_policy) @status = args[:status] if args.key?(:status) @@ -10560,8 +11393,8 @@ module Google # @return [Array] attr_accessor :instances - # The maximal action that should be perfomed on the instances. By default - # REPLACE. + # The maximal action that should be performed on the instances. By default + # REPLACE. This field is deprecated, please use most_disruptive_allowed_action. # Corresponds to the JSON property `maximalAction` # @return [String] attr_accessor :maximal_action @@ -12261,6 +13094,32 @@ module Google end end + # HttpRouteRuleMatch criteria for field values that must stay within the + # specified integer range. + class Int64RangeMatch + include Google::Apis::Core::Hashable + + # The end of the range (exclusive) in signed long integer format. + # Corresponds to the JSON property `rangeEnd` + # @return [Fixnum] + attr_accessor :range_end + + # The start of the range (inclusive) in signed long integer format. + # Corresponds to the JSON property `rangeStart` + # @return [Fixnum] + attr_accessor :range_start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range_end = args[:range_end] if args.key?(:range_end) + @range_start = args[:range_start] if args.key?(:range_start) + end + end + # Represents an Interconnects resource. The Interconnects resource is a # dedicated connection between Google's network and your on-premises network. # For more information, see the Dedicated overview page. (== resource_for v1. @@ -12362,8 +13221,7 @@ module Google attr_accessor :labels # Type of link requested. This field indicates speed of each of the links in the - # bundle, not the entire bundle. Only 10G per link is allowed for a dedicated - # interconnect. Options: Ethernet_10G_LR + # bundle, not the entire bundle. # Corresponds to the JSON property `linkType` # @return [String] attr_accessor :link_type @@ -15254,6 +16112,11 @@ module Google class ManagedInstanceInstanceHealth include Google::Apis::Core::Hashable + # [Output Only] The current detailed instance health state. + # Corresponds to the JSON property `detailedHealthState` + # @return [String] + attr_accessor :detailed_health_state + # [Output Only] The URL for the health check that verifies whether the instance # is healthy. # Corresponds to the JSON property `healthCheck` @@ -15271,6 +16134,7 @@ module Google # Update properties of this object def update!(**args) + @detailed_health_state = args[:detailed_health_state] if args.key?(:detailed_health_state) @health_check = args[:health_check] if args.key?(:health_check) @health_state = args[:health_state] if args.key?(:health_state) end @@ -15542,6 +16406,82 @@ module Google end end + # Opaque filter criteria used by loadbalancers to restrict routing configuration + # to a limited set of loadbalancing proxies. Proxies and sidecars involved in + # loadbalancing would typically present metadata to the loadbalancers which need + # to match criteria specified here. If a match takes place, the relevant routing + # configuration is made available to those proxies. + # For each metadataFilter in this list, if its filterMatchCriteria is set to + # MATCH_ANY, at least one of the filterLabels must match the corresponding label + # provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then + # all of its filterLabels must match with corresponding labels in the provided + # metadata. + # An example for using metadataFilters would be: if loadbalancing involves + # Envoys, they will only receive routing configuration when values in + # metadataFilters match values supplied in ] + attr_accessor :filter_labels + + # Specifies how individual filterLabel matches within the list of filterLabels + # contribute towards the overall metadataFilter match. + # Supported values are: + # - MATCH_ANY: At least one of the filterLabels must have a matching label in + # the provided metadata. + # - MATCH_ALL: All filterLabels must have matching labels in the provided + # metadata. + # Corresponds to the JSON property `filterMatchCriteria` + # @return [String] + attr_accessor :filter_match_criteria + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter_labels = args[:filter_labels] if args.key?(:filter_labels) + @filter_match_criteria = args[:filter_match_criteria] if args.key?(:filter_match_criteria) + end + end + + # MetadataFilter label name value pairs that are expected to match corresponding + # labels presented as metadata to the loadbalancer. + class MetadataFilterLabelMatch + include Google::Apis::Core::Hashable + + # Name of metadata label. + # The name can have a maximum length of 1024 characters and must be at least 1 + # character long. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The value of the label must match the specified value. + # value can have a maximum length of 1024 characters. + # 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) + @name = args[:name] if args.key?(:name) + @value = args[:value] if args.key?(:value) + end + end + # The named port. For example: . class NamedPort include Google::Apis::Core::Hashable @@ -15655,6 +16595,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # [Output Only] Server-defined fully-qualified URLs for all subnetworks in this # VPC network. # Corresponds to the JSON property `subnetworks` @@ -15680,6 +16625,7 @@ module Google @peerings = args[:peerings] if args.key?(:peerings) @routing_config = args[:routing_config] if args.key?(:routing_config) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @subnetworks = args[:subnetworks] if args.key?(:subnetworks) end end @@ -17473,6 +18419,25 @@ module Google end end + # + class NodeGroupsSetAutoscalingPolicyRequest + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `autoscalingPolicy` + # @return [Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy] + attr_accessor :autoscaling_policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @autoscaling_policy = args[:autoscaling_policy] if args.key?(:autoscaling_policy) + end + end + # class NodeGroupsSetNodeTemplateRequest include Google::Apis::Core::Hashable @@ -19003,6 +19968,16 @@ module Google class PathMatcher include Google::Apis::Core::Hashable + # The default HttpRouteAction to follow if none of the pathRules or routeRules + # defined by this pathMatcher are matched. Use defaultRouteAction instead of + # defaultService when more advanced default routing actions like traffic + # splitting and URL rewrites are desired. + # Only one of defaultService, defaultRouteAction or defaultUrlRedirect must be + # set. + # Corresponds to the JSON property `defaultRouteAction` + # @return [Google::Apis::ComputeAlpha::HttpRouteAction] + attr_accessor :default_route_action + # The full or partial URL to the BackendService resource. This will be used if # none of the pathRules or routeRules defined by this PathMatcher are matched. # For example, the following are all valid URLs to a BackendService resource: @@ -19023,12 +19998,23 @@ module Google # @return [String] attr_accessor :default_service + # Specifies settings for an HTTP redirect. + # Corresponds to the JSON property `defaultUrlRedirect` + # @return [Google::Apis::ComputeAlpha::HttpRedirectAction] + attr_accessor :default_url_redirect + # 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 + # The request and response header transformations that take effect before the + # request is passed along to the selected backendService. + # Corresponds to the JSON property `headerAction` + # @return [Google::Apis::ComputeAlpha::HttpHeaderAction] + attr_accessor :header_action + # The name to which this PathMatcher is referred by the HostRule. # Corresponds to the JSON property `name` # @return [String] @@ -19045,16 +20031,29 @@ module Google # @return [Array] attr_accessor :path_rules + # The list of ordered HTTP route rules. Use this list instead of pathRules when + # advanced route matching and routing actions are desired. The order of + # specifying routeRules matters: the first rule that matches will cause its + # specified routing action to take effect. + # Only one of pathRules or routeRules must be set. + # Corresponds to the JSON property `routeRules` + # @return [Array] + attr_accessor :route_rules + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @default_route_action = args[:default_route_action] if args.key?(:default_route_action) @default_service = args[:default_service] if args.key?(:default_service) + @default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect) @description = args[:description] if args.key?(:description) + @header_action = args[:header_action] if args.key?(:header_action) @name = args[:name] if args.key?(:name) @path_rules = args[:path_rules] if args.key?(:path_rules) + @route_rules = args[:route_rules] if args.key?(:route_rules) end end @@ -19071,6 +20070,14 @@ module Google # @return [Array] attr_accessor :paths + # The HttpRouteAction to follow if this rule is matched. Use routeAction instead + # of service when more advanced default routing actions like traffic splitting + # and Url rewrites are desired. + # Only one of service, routeAction or urlRedirect should must be set. + # Corresponds to the JSON property `routeAction` + # @return [Google::Apis::ComputeAlpha::HttpRouteAction] + attr_accessor :route_action + # The URL of the backend service resource if this rule is matched. # Use service instead of routeAction when simple routing to a backend service is # desired and other advanced capabilities like traffic splitting and rewrites @@ -19080,6 +20087,11 @@ module Google # @return [String] attr_accessor :service + # Specifies settings for an HTTP redirect. + # Corresponds to the JSON property `urlRedirect` + # @return [Google::Apis::ComputeAlpha::HttpRedirectAction] + attr_accessor :url_redirect + def initialize(**args) update!(**args) end @@ -19087,7 +20099,9 @@ module Google # Update properties of this object def update!(**args) @paths = args[:paths] if args.key?(:paths) + @route_action = args[:route_action] if args.key?(:route_action) @service = args[:service] if args.key?(:service) + @url_redirect = args[:url_redirect] if args.key?(:url_redirect) end end @@ -19556,6 +20570,12 @@ module Google # @return [String] attr_accessor :metric + # [Output Only] Owning resource. This is the resource on which this quota is + # applied. + # Corresponds to the JSON property `owner` + # @return [String] + attr_accessor :owner + # [Output Only] Current usage of this metric. # Corresponds to the JSON property `usage` # @return [Float] @@ -19569,6 +20589,7 @@ module Google def update!(**args) @limit = args[:limit] if args.key?(:limit) @metric = args[:metric] if args.key?(:metric) + @owner = args[:owner] if args.key?(:owner) @usage = args[:usage] if args.key?(:usage) end end @@ -20293,8 +21314,8 @@ module Google # @return [Array] attr_accessor :instances - # The maximal action that should be perfomed on the instances. By default - # REPLACE. + # The maximal action that should be performed on the instances. By default + # REPLACE. This field is deprecated, please use most_disruptive_allowed_action. # Corresponds to the JSON property `maximalAction` # @return [String] attr_accessor :maximal_action @@ -20316,6 +21337,25 @@ module Google end end + # RegionInstanceGroupManagers.createInstances + class RegionInstanceGroupManagersCreateInstancesRequest + include Google::Apis::Core::Hashable + + # [Required] List of specifications of per-instance configs. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instances = args[:instances] if args.key?(:instances) + end + end + # class RegionInstanceGroupManagersDeleteInstancesRequest include Google::Apis::Core::Hashable @@ -20967,6 +22007,28 @@ module Google end end + # A policy that specifies how requests intended for the route's backends are + # shadowed to a separate mirrored backend service. Loadbalancer does not wait + # for responses from the shadow service. Prior to sending traffic to the shadow + # service, the host / authority header is suffixed with -shadow. + class RequestMirrorPolicy + include Google::Apis::Core::Hashable + + # The full or partial URL to the BackendService resource being mirrored to. + # Corresponds to the JSON property `backendService` + # @return [String] + attr_accessor :backend_service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @backend_service = args[:backend_service] if args.key?(:backend_service) + end + end + # Commitment for a particular resource (a Commitment is composed of one or more # of these). class ResourceCommitment @@ -21848,6 +22910,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource with the resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # A list of instance tags to which this route applies. # Corresponds to the JSON property `tags` # @return [Array] @@ -21881,6 +22948,7 @@ module Google @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel) @priority = args[:priority] if args.key?(:priority) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @tags = args[:tags] if args.key?(:tags) @warnings = args[:warnings] if args.key?(:warnings) end @@ -24080,7 +25148,7 @@ module Google class ShieldedVmIdentity include Google::Apis::Core::Hashable - # A Shielded VM Identity Entry. + # A Shielded Instance Identity Entry. # Corresponds to the JSON property `encryptionKey` # @return [Google::Apis::ComputeAlpha::ShieldedVmIdentityEntry] attr_accessor :encryption_key @@ -24091,7 +25159,7 @@ module Google # @return [String] attr_accessor :kind - # A Shielded VM Identity Entry. + # A Shielded Instance Identity Entry. # Corresponds to the JSON property `signingKey` # @return [Google::Apis::ComputeAlpha::ShieldedVmIdentityEntry] attr_accessor :signing_key @@ -24108,7 +25176,7 @@ module Google end end - # A Shielded VM Identity Entry. + # A Shielded Instance Identity Entry. class ShieldedVmIdentityEntry include Google::Apis::Core::Hashable @@ -24279,6 +25347,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Server-defined URL for this resource's resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + # Represents a customer-supplied encryption key # Corresponds to the JSON property `snapshotEncryptionKey` # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey] @@ -24345,6 +25418,7 @@ module Google @licenses = args[:licenses] if args.key?(:licenses) @name = args[:name] if args.key?(:name) @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key) @source_disk = args[:source_disk] if args.key?(:source_disk) @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key) @@ -29247,6 +30321,15 @@ module Google # @return [String] attr_accessor :creation_timestamp + # The default HttpRouteAction to follow if none of the hostRules match. Use + # defaultRouteAction instead of defaultService when more advanced default + # routing actions like traffic splitting and Url rewrites are desired. + # Only one of defaultService, defaultRouteAction or defaultUrlRedirect should + # must be set. + # Corresponds to the JSON property `defaultRouteAction` + # @return [Google::Apis::ComputeAlpha::HttpRouteAction] + attr_accessor :default_route_action + # The URL of the backendService resource if none of the hostRules match. # Use defaultService instead of defaultRouteAction when simple routing to a # backendService is desired and other advanced capabilities like traffic @@ -29257,6 +30340,11 @@ module Google # @return [String] attr_accessor :default_service + # Specifies settings for an HTTP redirect. + # Corresponds to the JSON property `defaultUrlRedirect` + # @return [Google::Apis::ComputeAlpha::HttpRedirectAction] + attr_accessor :default_url_redirect + # An optional description of this resource. Provide this property when you # create the resource. # Corresponds to the JSON property `description` @@ -29274,6 +30362,12 @@ module Google # @return [String] attr_accessor :fingerprint + # The request and response header transformations that take effect before the + # request is passed along to the selected backendService. + # Corresponds to the JSON property `headerAction` + # @return [Google::Apis::ComputeAlpha::HttpHeaderAction] + attr_accessor :header_action + # The list of HostRules to use against the URL. # Corresponds to the JSON property `hostRules` # @return [Array] @@ -29331,9 +30425,12 @@ module Google # Update properties of this object def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @default_route_action = args[:default_route_action] if args.key?(:default_route_action) @default_service = args[:default_service] if args.key?(:default_service) + @default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect) @description = args[:description] if args.key?(:description) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @header_action = args[:header_action] if args.key?(:header_action) @host_rules = args[:host_rules] if args.key?(:host_rules) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @@ -29485,11 +30582,23 @@ module Google class UrlMapTest include Google::Apis::Core::Hashable + # The weight to use for the supplied host and path when using advanced routing + # rules that involve traffic splitting. + # Corresponds to the JSON property `backendServiceWeight` + # @return [Fixnum] + attr_accessor :backend_service_weight + # Description of this test case. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description + # The expected URL that should be redirected to for the host and path being + # tested. + # Corresponds to the JSON property `expectedUrlRedirect` + # @return [String] + attr_accessor :expected_url_redirect + # Host portion of the URL. # Corresponds to the JSON property `host` # @return [String] @@ -29511,7 +30620,9 @@ module Google # Update properties of this object def update!(**args) + @backend_service_weight = args[:backend_service_weight] if args.key?(:backend_service_weight) @description = args[:description] if args.key?(:description) + @expected_url_redirect = args[:expected_url_redirect] if args.key?(:expected_url_redirect) @host = args[:host] if args.key?(:host) @path = args[:path] if args.key?(:path) @service = args[:service] if args.key?(:service) @@ -29807,6 +30918,36 @@ module Google end end + # The spec for modifying the path before sending the request to the matched + # backend service. + class UrlRewrite + include Google::Apis::Core::Hashable + + # Prior to forwarding the request to the selected service, the request's host + # header is replaced with contents of hostRewrite. + # The value must be between 1 and 255 characters. + # Corresponds to the JSON property `hostRewrite` + # @return [String] + attr_accessor :host_rewrite + + # Prior to forwarding the request to the selected backend service, the matching + # portion of the request's path is replaced by pathPrefixRewrite. + # The value must be between 1 and 1024 characters. + # Corresponds to the JSON property `pathPrefixRewrite` + # @return [String] + attr_accessor :path_prefix_rewrite + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @host_rewrite = args[:host_rewrite] if args.key?(:host_rewrite) + @path_prefix_rewrite = args[:path_prefix_rewrite] if args.key?(:path_prefix_rewrite) + end + end + # Subnetwork which the current user has compute.subnetworks.use permission on. class UsableSubnetwork include Google::Apis::Core::Hashable @@ -31204,6 +32345,50 @@ module Google end end + # In contrast to a single BackendService in HttpRouteAction to which all + # matching traffic is directed to, WeightedBackendService allows traffic to be + # split across multiple BackendServices. The volume of traffic for each + # BackendService is proportional to the weight specified in each + # WeightedBackendService + class WeightedBackendService + include Google::Apis::Core::Hashable + + # The full or partial URL to the default BackendService resource. Before + # forwarding the request to backendService, the loadbalancer applies any + # relevant headerActions specified as part of this backendServiceWeight. + # Corresponds to the JSON property `backendService` + # @return [String] + attr_accessor :backend_service + + # The request and response header transformations that take effect before the + # request is passed along to the selected backendService. + # Corresponds to the JSON property `headerAction` + # @return [Google::Apis::ComputeAlpha::HttpHeaderAction] + attr_accessor :header_action + + # Specifies the fraction of traffic sent to backendService. The sum of all + # weights specified in weightedBackendServices within HttpRouteAction must equal + # 100. + # The selection of a backend service is determined only for new traffic. Once a + # user's request has been directed to a backendService, subsequent requests will + # be sent to the same backendService as determined by the BackendService's + # session affinity policy. + # Corresponds to the JSON property `weight` + # @return [Fixnum] + attr_accessor :weight + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @backend_service = args[:backend_service] if args.key?(:backend_service) + @header_action = args[:header_action] if args.key?(:header_action) + @weight = args[:weight] if args.key?(:weight) + end + end + # class XpnHostList include Google::Apis::Core::Hashable diff --git a/generated/google/apis/compute_alpha/representations.rb b/generated/google/apis/compute_alpha/representations.rb index 26496c14c..84979e286 100644 --- a/generated/google/apis/compute_alpha/representations.rb +++ b/generated/google/apis/compute_alpha/representations.rb @@ -622,6 +622,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CorsPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CustomerEncryptionKey class Representation < Google::Apis::Core::JsonRepresentation; end @@ -808,6 +814,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Duration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ExchangedPeeringRoute class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1090,6 +1102,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class HttpFaultAbort + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpFaultDelay + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpFaultInjection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpHeaderAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpHeaderMatch + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpHeaderOption + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class HttpHealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1114,6 +1162,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class HttpQueryParameterMatch + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpRedirectAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpRetryPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpRouteAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpRouteRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpRouteRuleMatch + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class HttpsHealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1642,6 +1726,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Int64RangeMatch + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Interconnect class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2080,6 +2170,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class MetadataFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetadataFilterLabelMatch + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NamedPort class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2362,6 +2464,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NodeGroupsSetAutoscalingPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NodeGroupsSetNodeTemplateRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2794,6 +2902,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RegionInstanceGroupManagersCreateInstancesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RegionInstanceGroupManagersDeleteInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2920,6 +3034,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RequestMirrorPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ResourceCommitment class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4192,6 +4312,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UrlRewrite + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UsableSubnetwork class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4396,6 +4522,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class WeightedBackendService + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class XpnHostList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4476,6 +4608,7 @@ module Google property :maximum_cards_per_instance, as: 'maximumCardsPerInstance' property :name, as: 'name' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :zone, as: 'zone' end end @@ -4606,6 +4739,7 @@ module Google property :purpose, as: 'purpose' property :region, as: 'region' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :status, as: 'status' property :subnetwork, as: 'subnetwork' collection :users, as: 'users' @@ -4722,6 +4856,7 @@ module Google property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :specific_allocation, as: 'specificAllocation', class: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocation, decorator: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocation::Representation property :specific_allocation_required, as: 'specificAllocationRequired' @@ -4949,6 +5084,7 @@ module Google property :recommended_size, as: 'recommendedSize' property :region, as: 'region' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :status, as: 'status' collection :status_details, as: 'statusDetails', class: Google::Apis::ComputeAlpha::AutoscalerStatusDetails, decorator: Google::Apis::ComputeAlpha::AutoscalerStatusDetails::Representation @@ -5149,6 +5285,7 @@ module Google property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' end end @@ -5228,6 +5365,7 @@ module Google property :region, as: 'region' property :security_policy, as: 'securityPolicy' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :session_affinity, as: 'sessionAffinity' property :timeout_sec, as: 'timeoutSec' end @@ -5452,6 +5590,7 @@ module Google collection :resources, as: 'resources', class: Google::Apis::ComputeAlpha::ResourceCommitment, decorator: Google::Apis::ComputeAlpha::ResourceCommitment::Representation property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :start_timestamp, as: 'startTimestamp' property :status, as: 'status' property :status_message, as: 'statusMessage' @@ -5570,10 +5709,25 @@ module Google end end + class CorsPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_credentials, as: 'allowCredentials' + collection :allow_headers, as: 'allowHeaders' + collection :allow_methods, as: 'allowMethods' + collection :allow_origin_regexes, as: 'allowOriginRegexes' + collection :allow_origins, as: 'allowOrigins' + property :disabled, as: 'disabled' + collection :expose_headers, as: 'exposeHeaders' + property :max_age, as: 'maxAge' + end + end + class CustomerEncryptionKey # @private class Representation < Google::Apis::Core::JsonRepresentation property :kms_key_name, as: 'kmsKeyName' + property :kms_key_service_account, as: 'kmsKeyServiceAccount' property :raw_key, as: 'rawKey' property :rsa_encrypted_key, as: 'rsaEncryptedKey' property :sha256, as: 'sha256' @@ -5736,6 +5890,7 @@ module Google property :name, as: 'name' property :region, as: 'region' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :valid_disk_size, as: 'validDiskSize' property :zone, as: 'zone' end @@ -5904,6 +6059,14 @@ module Google end end + class Duration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :nanos, as: 'nanos' + property :seconds, :numeric_string => true, as: 'seconds' + end + end + class ExchangedPeeringRoute # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -5978,6 +6141,7 @@ module Google property :network, as: 'network' property :priority, as: 'priority' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' collection :source_ranges, as: 'sourceRanges' collection :source_service_accounts, as: 'sourceServiceAccounts' collection :source_tags, as: 'sourceTags' @@ -6074,6 +6238,7 @@ module Google collection :ports, as: 'ports' property :region, as: 'region' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :service_label, as: 'serviceLabel' property :service_name, as: 'serviceName' property :subnetwork, as: 'subnetwork' @@ -6437,6 +6602,69 @@ module Google end end + class HttpFaultAbort + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :http_status, as: 'httpStatus' + property :percentage, as: 'percentage' + end + end + + class HttpFaultDelay + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fixed_delay, as: 'fixedDelay', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation + + property :percentage, as: 'percentage' + end + end + + class HttpFaultInjection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :abort, as: 'abort', class: Google::Apis::ComputeAlpha::HttpFaultAbort, decorator: Google::Apis::ComputeAlpha::HttpFaultAbort::Representation + + property :delay, as: 'delay', class: Google::Apis::ComputeAlpha::HttpFaultDelay, decorator: Google::Apis::ComputeAlpha::HttpFaultDelay::Representation + + end + end + + class HttpHeaderAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :request_headers_to_add, as: 'requestHeadersToAdd', class: Google::Apis::ComputeAlpha::HttpHeaderOption, decorator: Google::Apis::ComputeAlpha::HttpHeaderOption::Representation + + collection :request_headers_to_remove, as: 'requestHeadersToRemove' + collection :response_headers_to_add, as: 'responseHeadersToAdd', class: Google::Apis::ComputeAlpha::HttpHeaderOption, decorator: Google::Apis::ComputeAlpha::HttpHeaderOption::Representation + + collection :response_headers_to_remove, as: 'responseHeadersToRemove' + end + end + + class HttpHeaderMatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exact_match, as: 'exactMatch' + property :header_name, as: 'headerName' + property :invert_match, as: 'invertMatch' + property :prefix_match, as: 'prefixMatch' + property :present_match, as: 'presentMatch' + property :range_match, as: 'rangeMatch', class: Google::Apis::ComputeAlpha::Int64RangeMatch, decorator: Google::Apis::ComputeAlpha::Int64RangeMatch::Representation + + property :regex_match, as: 'regexMatch' + property :suffix_match, as: 'suffixMatch' + end + end + + class HttpHeaderOption + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :header_name, as: 'headerName' + property :header_value, as: 'headerValue' + property :replace, as: 'replace' + end + end + class HttpHealthCheck # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6488,6 +6716,88 @@ module Google end end + class HttpQueryParameterMatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exact_match, as: 'exactMatch' + property :name, as: 'name' + property :present_match, as: 'presentMatch' + property :regex_match, as: 'regexMatch' + end + end + + class HttpRedirectAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :host_redirect, as: 'hostRedirect' + property :https_redirect, as: 'httpsRedirect' + property :path_redirect, as: 'pathRedirect' + property :prefix_redirect, as: 'prefixRedirect' + property :redirect_response_code, as: 'redirectResponseCode' + property :strip_query, as: 'stripQuery' + end + end + + class HttpRetryPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :num_retries, as: 'numRetries' + property :per_try_timeout, as: 'perTryTimeout', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation + + collection :retry_conditions, as: 'retryConditions' + end + end + + class HttpRouteAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cors_policy, as: 'corsPolicy', class: Google::Apis::ComputeAlpha::CorsPolicy, decorator: Google::Apis::ComputeAlpha::CorsPolicy::Representation + + property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::ComputeAlpha::HttpFaultInjection, decorator: Google::Apis::ComputeAlpha::HttpFaultInjection::Representation + + property :request_mirror_policy, as: 'requestMirrorPolicy', class: Google::Apis::ComputeAlpha::RequestMirrorPolicy, decorator: Google::Apis::ComputeAlpha::RequestMirrorPolicy::Representation + + property :retry_policy, as: 'retryPolicy', class: Google::Apis::ComputeAlpha::HttpRetryPolicy, decorator: Google::Apis::ComputeAlpha::HttpRetryPolicy::Representation + + property :timeout, as: 'timeout', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation + + property :url_rewrite, as: 'urlRewrite', class: Google::Apis::ComputeAlpha::UrlRewrite, decorator: Google::Apis::ComputeAlpha::UrlRewrite::Representation + + collection :weighted_backend_services, as: 'weightedBackendServices', class: Google::Apis::ComputeAlpha::WeightedBackendService, decorator: Google::Apis::ComputeAlpha::WeightedBackendService::Representation + + end + end + + class HttpRouteRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation + + collection :match_rules, as: 'matchRules', class: Google::Apis::ComputeAlpha::HttpRouteRuleMatch, decorator: Google::Apis::ComputeAlpha::HttpRouteRuleMatch::Representation + + property :route_action, as: 'routeAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation + + property :url_redirect, as: 'urlRedirect', class: Google::Apis::ComputeAlpha::HttpRedirectAction, decorator: Google::Apis::ComputeAlpha::HttpRedirectAction::Representation + + end + end + + class HttpRouteRuleMatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :full_path_match, as: 'fullPathMatch' + collection :header_matches, as: 'headerMatches', class: Google::Apis::ComputeAlpha::HttpHeaderMatch, decorator: Google::Apis::ComputeAlpha::HttpHeaderMatch::Representation + + property :ignore_case, as: 'ignoreCase' + collection :metadata_filters, as: 'metadataFilters', class: Google::Apis::ComputeAlpha::MetadataFilter, decorator: Google::Apis::ComputeAlpha::MetadataFilter::Representation + + property :prefix_match, as: 'prefixMatch' + collection :query_parameter_matches, as: 'queryParameterMatches', class: Google::Apis::ComputeAlpha::HttpQueryParameterMatch, decorator: Google::Apis::ComputeAlpha::HttpQueryParameterMatch::Representation + + property :regex_match, as: 'regexMatch' + end + end + class HttpsHealthCheck # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6563,6 +6873,7 @@ module Google property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeAlpha::Image::RawDisk, decorator: Google::Apis::ComputeAlpha::Image::RawDisk::Representation property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :source_disk, as: 'sourceDisk' property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation @@ -6577,6 +6888,7 @@ module Google property :source_snapshot_id, as: 'sourceSnapshotId' property :source_type, as: 'sourceType' property :status, as: 'status' + collection :storage_locations, as: 'storageLocations' end class RawDisk @@ -6656,6 +6968,7 @@ module Google property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::Scheduling, decorator: Google::Apis::ComputeAlpha::Scheduling::Representation property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeAlpha::ServiceAccount, decorator: Google::Apis::ComputeAlpha::ServiceAccount::Representation property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeAlpha::ShieldedVmConfig, decorator: Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation @@ -6718,6 +7031,7 @@ module Google property :network, as: 'network' property :region, as: 'region' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :size, as: 'size' property :subnetwork, as: 'subnetwork' property :zone, as: 'zone' @@ -6813,6 +7127,7 @@ module Google property :region, as: 'region' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :service_account, as: 'serviceAccount' property :stateful_policy, as: 'statefulPolicy', class: Google::Apis::ComputeAlpha::StatefulPolicy, decorator: Google::Apis::ComputeAlpha::StatefulPolicy::Representation @@ -7478,6 +7793,14 @@ module Google end end + class Int64RangeMatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range_end, :numeric_string => true, as: 'rangeEnd' + property :range_start, :numeric_string => true, as: 'rangeStart' + end + end + class Interconnect # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8219,6 +8542,7 @@ module Google class ManagedInstanceInstanceHealth # @private class Representation < Google::Apis::Core::JsonRepresentation + property :detailed_health_state, as: 'detailedHealthState' property :health_check, as: 'healthCheck' property :health_state, as: 'healthState' end @@ -8303,6 +8627,23 @@ module Google end end + class MetadataFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :filter_labels, as: 'filterLabels', class: Google::Apis::ComputeAlpha::MetadataFilterLabelMatch, decorator: Google::Apis::ComputeAlpha::MetadataFilterLabelMatch::Representation + + property :filter_match_criteria, as: 'filterMatchCriteria' + end + end + + class MetadataFilterLabelMatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :value, as: 'value' + end + end + class NamedPort # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8329,6 +8670,7 @@ module Google property :routing_config, as: 'routingConfig', class: Google::Apis::ComputeAlpha::NetworkRoutingConfig, decorator: Google::Apis::ComputeAlpha::NetworkRoutingConfig::Representation property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' collection :subnetworks, as: 'subnetworks' end end @@ -8805,6 +9147,14 @@ module Google end end + class NodeGroupsSetAutoscalingPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :autoscaling_policy, as: 'autoscalingPolicy', class: Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy, decorator: Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy::Representation + + end + end + class NodeGroupsSetNodeTemplateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -9206,11 +9556,19 @@ module Google class PathMatcher # @private class Representation < Google::Apis::Core::JsonRepresentation + property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation + property :default_service, as: 'defaultService' + property :default_url_redirect, as: 'defaultUrlRedirect', class: Google::Apis::ComputeAlpha::HttpRedirectAction, decorator: Google::Apis::ComputeAlpha::HttpRedirectAction::Representation + property :description, as: 'description' + property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation + property :name, as: 'name' collection :path_rules, as: 'pathRules', class: Google::Apis::ComputeAlpha::PathRule, decorator: Google::Apis::ComputeAlpha::PathRule::Representation + collection :route_rules, as: 'routeRules', class: Google::Apis::ComputeAlpha::HttpRouteRule, decorator: Google::Apis::ComputeAlpha::HttpRouteRule::Representation + end end @@ -9218,7 +9576,11 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :paths, as: 'paths' + property :route_action, as: 'routeAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation + property :service, as: 'service' + property :url_redirect, as: 'urlRedirect', class: Google::Apis::ComputeAlpha::HttpRedirectAction, decorator: Google::Apis::ComputeAlpha::HttpRedirectAction::Representation + end end @@ -9350,6 +9712,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :limit, as: 'limit' property :metric, as: 'metric' + property :owner, as: 'owner' property :usage, as: 'usage' end end @@ -9563,6 +9926,14 @@ module Google end end + class RegionInstanceGroupManagersCreateInstancesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instances, as: 'instances', class: Google::Apis::ComputeAlpha::PerInstanceConfig, decorator: Google::Apis::ComputeAlpha::PerInstanceConfig::Representation + + end + end + class RegionInstanceGroupManagersDeleteInstancesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -9753,6 +10124,13 @@ module Google end end + class RequestMirrorPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :backend_service, as: 'backendService' + end + end + class ResourceCommitment # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -9992,6 +10370,7 @@ module Google property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel' property :priority, as: 'priority' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' collection :tags, as: 'tags' collection :warnings, as: 'warnings', class: Google::Apis::ComputeAlpha::Route::Warning, decorator: Google::Apis::ComputeAlpha::Route::Warning::Representation @@ -10593,6 +10972,7 @@ module Google collection :licenses, as: 'licenses' property :name, as: 'name' property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation property :source_disk, as: 'sourceDisk' @@ -11874,9 +12254,15 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' + property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation + property :default_service, as: 'defaultService' + property :default_url_redirect, as: 'defaultUrlRedirect', class: Google::Apis::ComputeAlpha::HttpRedirectAction, decorator: Google::Apis::ComputeAlpha::HttpRedirectAction::Representation + property :description, as: 'description' property :fingerprint, :base64 => true, as: 'fingerprint' + property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation + collection :host_rules, as: 'hostRules', class: Google::Apis::ComputeAlpha::HostRule, decorator: Google::Apis::ComputeAlpha::HostRule::Representation property :id, :numeric_string => true, as: 'id' @@ -11933,7 +12319,9 @@ module Google class UrlMapTest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :backend_service_weight, as: 'backendServiceWeight' property :description, as: 'description' + property :expected_url_redirect, as: 'expectedUrlRedirect' property :host, as: 'host' property :path, as: 'path' property :service, as: 'service' @@ -12027,6 +12415,14 @@ module Google end end + class UrlRewrite + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :host_rewrite, as: 'hostRewrite' + property :path_prefix_rewrite, as: 'pathPrefixRewrite' + end + end + class UsableSubnetwork # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12391,6 +12787,16 @@ module Google end end + class WeightedBackendService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :backend_service, as: 'backendService' + property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation + + property :weight, as: 'weight' + end + end + class XpnHostList # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_alpha/service.rb b/generated/google/apis/compute_alpha/service.rb index 9afb8d869..300f6f89c 100644 --- a/generated/google/apis/compute_alpha/service.rb +++ b/generated/google/apis/compute_alpha/service.rb @@ -8998,8 +8998,8 @@ module Google end # Deletes the specified instance template. Deleting an instance template is - # permanent and cannot be undone. It's not possible to delete templates which - # are in use by an instance group. + # permanent and cannot be undone. It is not possible to delete templates that + # are already in use by a managed instance group. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -9173,7 +9173,7 @@ module Google end # Retrieves a list of instance templates that are contained within the specified - # project and zone. + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -15426,6 +15426,60 @@ module Google execute_or_queue_command(command, &block) end + # Sets the autoscaling policy of the node group. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] node_group + # Name of the NodeGroup resource to update. + # @param [Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest] node_groups_set_autoscaling_policy_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::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::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_node_group_autoscaling_policy(project, zone, node_group, node_groups_set_autoscaling_policy_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setAutoscalingPolicy', options) + command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest::Representation + command.request_object = node_groups_set_autoscaling_policy_request_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['nodeGroup'] = node_group unless node_group.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 access control policy on the specified resource. Replaces any # existing policy. # @param [String] project @@ -15475,7 +15529,7 @@ module Google # @param [String] zone # The name of the zone for this request. # @param [String] node_group - # Name of the NodeGroup resource to delete. + # Name of the NodeGroup resource to update. # @param [Google::Apis::ComputeAlpha::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object # @param [String] request_id # An optional request ID to identify requests. Specify a unique request ID so @@ -18755,6 +18809,46 @@ module Google execute_or_queue_command(command, &block) end + # Gets the access control policy for a resource. May be empty if no such policy + # or resource exists. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name or id of the resource for this request. + # @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::ComputeAlpha::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Policy] + # + # @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_region_disk_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', options) + command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation + command.response_class = Google::Apis::ComputeAlpha::Policy + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.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 + # Creates a persistent regional disk in the specified project using the data # included in the request. # @param [String] project @@ -18992,6 +19086,49 @@ module Google execute_or_queue_command(command, &block) end + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name or id of the resource for this request. + # @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_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::ComputeAlpha::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Policy] + # + # @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_region_disk_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setIamPolicy', options) + command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation + command.request_object = region_set_policy_request_object + command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation + command.response_class = Google::Apis::ComputeAlpha::Policy + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.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 + # Sets the labels on the target regional disk. # @param [String] project # Project ID for this request. @@ -19565,6 +19702,65 @@ module Google execute_or_queue_command(command, &block) end + # Creates instances with per-instance configs in this regional managed instance + # group. Instances are created using the current instance template. The create + # instances operation is marked DONE if the createInstances request is + # successful. The underlying actions take additional time. You must separately + # verify the status of the creating or actions with the listmanagedinstances + # method. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region where the managed instance group is located. It should + # conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersCreateInstancesRequest] region_instance_group_managers_create_instances_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. + # 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::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::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 create_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_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}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) + command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersCreateInstancesRequest::Representation + command.request_object = region_instance_group_managers_create_instances_request_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.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 + # Deletes the specified managed instance group and all of the instances in that # group. # @param [String] project diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index aca9b924f..bc4c0218e 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20181130' + REVISION = '20181217' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index 366ff38b9..9bea7f946 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -33,8 +33,10 @@ module Google attr_accessor :accelerator_count # Full or partial URL of the accelerator type resource to attach to this - # instance. If you are creating an instance template, specify only the - # accelerator name. + # instance. For example: projects/my-project/zones/us-central1-c/ + # acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, + # specify only the accelerator name. See GPUs on Compute Engine for a full list + # of accelerator types. # Corresponds to the JSON property `acceleratorType` # @return [String] attr_accessor :accelerator_type @@ -1598,7 +1600,7 @@ module Google # instance. This name can be used to reference the device for mounting, resizing, # and so on, from within the instance. # If not specified, the server chooses a default device name to apply to this - # disk, in the form persistent-disks-x, where x is a number assigned by Google + # disk, in the form persistent-disk-x, where x is a number assigned by Google # Compute Engine. This field is only applicable for persistent disks. # Corresponds to the JSON property `deviceName` # @return [String] @@ -2513,7 +2515,7 @@ module Google class AutoscalingPolicyLoadBalancingUtilization include Google::Apis::Core::Hashable - # Fraction of backend capacity utilization (set in HTTP(s) load balancing + # Fraction of backend capacity utilization (set in HTTP(S) load balancing # configuration) that autoscaler should maintain. Must be a positive float value. # If not defined, the default is 0.8. # Corresponds to the JSON property `utilizationTarget` @@ -11384,8 +11386,7 @@ module Google attr_accessor :labels # Type of link requested. This field indicates speed of each of the links in the - # bundle, not the entire bundle. Only 10G per link is allowed for a dedicated - # interconnect. Options: Ethernet_10G_LR + # bundle, not the entire bundle. # Corresponds to the JSON property `linkType` # @return [String] attr_accessor :link_type @@ -17661,6 +17662,12 @@ module Google # @return [String] attr_accessor :metric + # [Output Only] Owning resource. This is the resource on which this quota is + # applied. + # Corresponds to the JSON property `owner` + # @return [String] + attr_accessor :owner + # [Output Only] Current usage of this metric. # Corresponds to the JSON property `usage` # @return [Float] @@ -17674,6 +17681,7 @@ module Google def update!(**args) @limit = args[:limit] if args.key?(:limit) @metric = args[:metric] if args.key?(:metric) + @owner = args[:owner] if args.key?(:owner) @usage = args[:usage] if args.key?(:usage) end end @@ -19293,6 +19301,11 @@ module Google # @return [Hash] attr_accessor :labels + # GCS bucket storage location of the auto snapshot (regional or multi-regional). + # Corresponds to the JSON property `storageLocations` + # @return [Array] + attr_accessor :storage_locations + def initialize(**args) update!(**args) end @@ -19301,6 +19314,7 @@ module Google def update!(**args) @guest_flush = args[:guest_flush] if args.key?(:guest_flush) @labels = args[:labels] if args.key?(:labels) + @storage_locations = args[:storage_locations] if args.key?(:storage_locations) end end @@ -21576,7 +21590,7 @@ module Google class ShieldedVmIdentity include Google::Apis::Core::Hashable - # A Shielded VM Identity Entry. + # A Shielded Instance Identity Entry. # Corresponds to the JSON property `encryptionKey` # @return [Google::Apis::ComputeBeta::ShieldedVmIdentityEntry] attr_accessor :encryption_key @@ -21587,7 +21601,7 @@ module Google # @return [String] attr_accessor :kind - # A Shielded VM Identity Entry. + # A Shielded Instance Identity Entry. # Corresponds to the JSON property `signingKey` # @return [Google::Apis::ComputeBeta::ShieldedVmIdentityEntry] attr_accessor :signing_key @@ -21604,7 +21618,7 @@ module Google end end - # A Shielded VM Identity Entry. + # A Shielded Instance Identity Entry. class ShieldedVmIdentityEntry include Google::Apis::Core::Hashable diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index d4e224bdd..3f0bdbba1 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -8232,6 +8232,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :limit, as: 'limit' property :metric, as: 'metric' + property :owner, as: 'owner' property :usage, as: 'usage' end end @@ -8694,6 +8695,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :guest_flush, as: 'guestFlush' hash :labels, as: 'labels' + collection :storage_locations, as: 'storageLocations' end end diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index e07144cd7..24d5a83eb 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -8137,8 +8137,8 @@ module Google end # Deletes the specified instance template. Deleting an instance template is - # permanent and cannot be undone. It's not possible to delete templates which - # are in use by an instance group. + # permanent and cannot be undone. It is not possible to delete templates that + # are already in use by a managed instance group. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -8312,7 +8312,7 @@ module Google end # Retrieves a list of instance templates that are contained within the specified - # project and zone. + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -11573,6 +11573,43 @@ module Google execute_or_queue_command(command, &block) end + # Gets the access control policy for a resource. May be empty if no such policy + # or resource exists. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name or id of the resource for this request. + # @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::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Policy] + # + # @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_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', options) + command.response_representation = Google::Apis::ComputeBeta::Policy::Representation + command.response_class = Google::Apis::ComputeBeta::Policy + 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 + # Create a License resource in the specified project. # @param [String] project # Project ID for this request. @@ -13605,7 +13642,7 @@ module Google # @param [String] zone # The name of the zone for this request. # @param [String] node_group - # Name of the NodeGroup resource to delete. + # Name of the NodeGroup resource to update. # @param [Google::Apis::ComputeBeta::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object # @param [String] request_id # An optional request ID to identify requests. Specify a unique request ID so diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index 70b3d589a..8d8bc02f0 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeV1 VERSION = 'V1' - REVISION = '20181130' + REVISION = '20181217' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index 9364e9f1e..2a25f9374 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -33,8 +33,10 @@ module Google attr_accessor :accelerator_count # Full or partial URL of the accelerator type resource to attach to this - # instance. If you are creating an instance template, specify only the - # accelerator name. + # instance. For example: projects/my-project/zones/us-central1-c/ + # acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, + # specify only the accelerator name. See GPUs on Compute Engine for a full list + # of accelerator types. # Corresponds to the JSON property `acceleratorType` # @return [String] attr_accessor :accelerator_type @@ -1043,7 +1045,7 @@ module Google # instance. This name can be used to reference the device for mounting, resizing, # and so on, from within the instance. # If not specified, the server chooses a default device name to apply to this - # disk, in the form persistent-disks-x, where x is a number assigned by Google + # disk, in the form persistent-disk-x, where x is a number assigned by Google # Compute Engine. This field is only applicable for persistent disks. # Corresponds to the JSON property `deviceName` # @return [String] @@ -1911,7 +1913,7 @@ module Google class AutoscalingPolicyLoadBalancingUtilization include Google::Apis::Core::Hashable - # Fraction of backend capacity utilization (set in HTTP(s) load balancing + # Fraction of backend capacity utilization (set in HTTP(S) load balancing # configuration) that autoscaler should maintain. Must be a positive float value. # If not defined, the default is 0.8. # Corresponds to the JSON property `utilizationTarget` @@ -7151,6 +7153,11 @@ module Google # @return [Array] attr_accessor :guest_accelerators + # + # Corresponds to the JSON property `hostname` + # @return [String] + attr_accessor :hostname + # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` @@ -7289,6 +7296,7 @@ module Google @description = args[:description] if args.key?(:description) @disks = args[:disks] if args.key?(:disks) @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators) + @hostname = args[:hostname] if args.key?(:hostname) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint) @@ -7778,6 +7786,12 @@ module Google class InstanceGroupManager include Google::Apis::Core::Hashable + # The autohealing policy for this managed instance group. You can specify only + # one value. + # Corresponds to the JSON property `autoHealingPolicies` + # @return [Array] + attr_accessor :auto_healing_policies + # The base instance name to use for instances in this group. The value must be 1- # 58 characters long. Instances are named by appending a hyphen and a random # four-character string to the base instance name. The base instance name must @@ -7895,6 +7909,7 @@ module Google # Update properties of this object def update!(**args) + @auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies) @base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @current_actions = args[:current_actions] if args.key?(:current_actions) @@ -8121,6 +8136,36 @@ module Google end end + # + class InstanceGroupManagerAutoHealingPolicy + include Google::Apis::Core::Hashable + + # The URL for the health check that signals autohealing. + # Corresponds to the JSON property `healthCheck` + # @return [String] + attr_accessor :health_check + + # The number of seconds that the managed instance group waits before it applies + # autohealing policies to new instances or recently recreated instances. This + # initial delay allows instances to initialize and run their startup scripts + # before the instance group determines that they are UNHEALTHY. This prevents + # the managed instance group from recreating its instances prematurely. This + # value must be from range [0, 3600]. + # Corresponds to the JSON property `initialDelaySec` + # @return [Fixnum] + attr_accessor :initial_delay_sec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @health_check = args[:health_check] if args.key?(:health_check) + @initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec) + end + end + # [Output Only] A list of managed instance groups. class InstanceGroupManagerList include Google::Apis::Core::Hashable @@ -9694,8 +9739,7 @@ module Google attr_accessor :kind # Type of link requested. This field indicates speed of each of the links in the - # bundle, not the entire bundle. Only 10G per link is allowed for a dedicated - # interconnect. Options: Ethernet_10G_LR + # bundle, not the entire bundle. # Corresponds to the JSON property `linkType` # @return [String] attr_accessor :link_type @@ -10784,6 +10828,13 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] The status of this InterconnectLocation. If the status is + # AVAILABLE, new Interconnects may be provisioned in this InterconnectLocation. + # Otherwise, no new Interconnects may be provisioned. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + def initialize(**args) update!(**args) end @@ -10804,6 +10855,7 @@ module Google @peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id) @region_infos = args[:region_infos] if args.key?(:region_infos) @self_link = args[:self_link] if args.key?(:self_link) + @status = args[:status] if args.key?(:status) end end @@ -15158,6 +15210,12 @@ module Google # @return [String] attr_accessor :metric + # [Output Only] Owning resource. This is the resource on which this quota is + # applied. + # Corresponds to the JSON property `owner` + # @return [String] + attr_accessor :owner + # [Output Only] Current usage of this metric. # Corresponds to the JSON property `usage` # @return [Float] @@ -15171,6 +15229,7 @@ module Google def update!(**args) @limit = args[:limit] if args.key?(:limit) @metric = args[:metric] if args.key?(:metric) + @owner = args[:owner] if args.key?(:owner) @usage = args[:usage] if args.key?(:usage) end end diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index ed3b1ae99..b7722d4cf 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -1006,6 +1006,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InstanceGroupManagerAutoHealingPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InstanceGroupManagerList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5007,6 +5013,7 @@ module Google collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation + property :hostname, as: 'hostname' property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :label_fingerprint, :base64 => true, as: 'labelFingerprint' @@ -5151,6 +5158,8 @@ module Google class InstanceGroupManager # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy::Representation + property :base_instance_name, as: 'baseInstanceName' property :creation_timestamp, as: 'creationTimestamp' property :current_actions, as: 'currentActions', class: Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary, decorator: Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary::Representation @@ -5221,6 +5230,14 @@ module Google end end + class InstanceGroupManagerAutoHealingPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :health_check, as: 'healthCheck' + property :initial_delay_sec, as: 'initialDelaySec' + end + end + class InstanceGroupManagerList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -5935,6 +5952,7 @@ module Google collection :region_infos, as: 'regionInfos', class: Google::Apis::ComputeV1::InterconnectLocationRegionInfo, decorator: Google::Apis::ComputeV1::InterconnectLocationRegionInfo::Representation property :self_link, as: 'selfLink' + property :status, as: 'status' end end @@ -7065,6 +7083,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :limit, as: 'limit' property :metric, as: 'metric' + property :owner, as: 'owner' property :usage, as: 'usage' end end diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index 0ededace9..08228da83 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -6765,8 +6765,8 @@ module Google end # Deletes the specified instance template. Deleting an instance template is - # permanent and cannot be undone. It's not possible to delete templates which - # are in use by an instance group. + # permanent and cannot be undone. It is not possible to delete templates that + # are already in use by a managed instance group. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -6940,7 +6940,7 @@ module Google end # Retrieves a list of instance templates that are contained within the specified - # project and zone. + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -11097,7 +11097,7 @@ module Google # @param [String] zone # The name of the zone for this request. # @param [String] node_group - # Name of the NodeGroup resource to delete. + # Name of the NodeGroup resource to update. # @param [Google::Apis::ComputeV1::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object # @param [String] request_id # An optional request ID to identify requests. Specify a unique request ID so diff --git a/generated/google/apis/container_v1.rb b/generated/google/apis/container_v1.rb index cf4712c89..5f9486204 100644 --- a/generated/google/apis/container_v1.rb +++ b/generated/google/apis/container_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1 VERSION = 'V1' - REVISION = '20181109' + REVISION = '20181211' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb index 4127c968d..1239be814 100644 --- a/generated/google/apis/container_v1/classes.rb +++ b/generated/google/apis/container_v1/classes.rb @@ -829,6 +829,82 @@ module Google end end + # GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517 + class GetJsonWebKeysResponse + include Google::Apis::Core::Hashable + + # The public component of the keys used by the cluster to sign token + # requests. + # Corresponds to the JSON property `keys` + # @return [Array] + attr_accessor :keys + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @keys = args[:keys] if args.key?(:keys) + end + end + + # GetOpenIDConfigResponse is an OIDC discovery document for the cluster. + # See the OpenID Connect Discovery 1.0 specification for details. + class GetOpenIdConfigResponse + include Google::Apis::Core::Hashable + + # NOLINT + # Corresponds to the JSON property `claims_supported` + # @return [Array] + attr_accessor :claims_supported + + # NOLINT + # Corresponds to the JSON property `grant_types` + # @return [Array] + attr_accessor :grant_types + + # NOLINT + # Corresponds to the JSON property `id_token_signing_alg_values_supported` + # @return [Array] + attr_accessor :id_token_signing_alg_values_supported + + # NOLINT + # Corresponds to the JSON property `issuer` + # @return [String] + attr_accessor :issuer + + # NOLINT + # Corresponds to the JSON property `jwks_uri` + # @return [String] + attr_accessor :jwks_uri + + # NOLINT + # Corresponds to the JSON property `response_types_supported` + # @return [Array] + attr_accessor :response_types_supported + + # NOLINT + # Corresponds to the JSON property `subject_types_supported` + # @return [Array] + attr_accessor :subject_types_supported + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @claims_supported = args[:claims_supported] if args.key?(:claims_supported) + @grant_types = args[:grant_types] if args.key?(:grant_types) + @id_token_signing_alg_values_supported = args[:id_token_signing_alg_values_supported] if args.key?(:id_token_signing_alg_values_supported) + @issuer = args[:issuer] if args.key?(:issuer) + @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri) + @response_types_supported = args[:response_types_supported] if args.key?(:response_types_supported) + @subject_types_supported = args[:subject_types_supported] if args.key?(:subject_types_supported) + end + end + # Configuration options for the horizontal pod autoscaling feature, which # increases or decreases the number of replica pods a replication controller # has based on the resource usage of the existing pods. @@ -999,6 +1075,75 @@ module Google end end + # Jwk is a JSON Web Key as specified in RFC 7517 + class Jwk + include Google::Apis::Core::Hashable + + # NOLINT + # Corresponds to the JSON property `alg` + # @return [String] + attr_accessor :alg + + # NOLINT + # Corresponds to the JSON property `crv` + # @return [String] + attr_accessor :crv + + # NOLINT + # Corresponds to the JSON property `e` + # @return [String] + attr_accessor :e + + # NOLINT + # Corresponds to the JSON property `kid` + # @return [String] + attr_accessor :kid + + # NOLINT + # Corresponds to the JSON property `kty` + # @return [String] + attr_accessor :kty + + # Fields for RSA keys. + # NOLINT + # Corresponds to the JSON property `n` + # @return [String] + attr_accessor :n + + # NOLINT + # Corresponds to the JSON property `use` + # @return [String] + attr_accessor :use + + # Fields for ECDSA keys. + # NOLINT + # Corresponds to the JSON property `x` + # @return [String] + attr_accessor :x + + # NOLINT + # Corresponds to the JSON property `y` + # @return [String] + attr_accessor :y + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alg = args[:alg] if args.key?(:alg) + @crv = args[:crv] if args.key?(:crv) + @e = args[:e] if args.key?(:e) + @kid = args[:kid] if args.key?(:kid) + @kty = args[:kty] if args.key?(:kty) + @n = args[:n] if args.key?(:n) + @use = args[:use] if args.key?(:use) + @x = args[:x] if args.key?(:x) + @y = args[:y] if args.key?(:y) + end + end + # Configuration for the Kubernetes Dashboard. class KubernetesDashboard include Google::Apis::Core::Hashable diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb index ea71f5c66..bab7334e7 100644 --- a/generated/google/apis/container_v1/representations.rb +++ b/generated/google/apis/container_v1/representations.rb @@ -100,6 +100,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GetJsonWebKeysResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetOpenIdConfigResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class HorizontalPodAutoscaling class Representation < Google::Apis::Core::JsonRepresentation; end @@ -118,6 +130,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Jwk + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class KubernetesDashboard class Representation < Google::Apis::Core::JsonRepresentation; end @@ -523,6 +541,27 @@ module Google end end + class GetJsonWebKeysResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :keys, as: 'keys', class: Google::Apis::ContainerV1::Jwk, decorator: Google::Apis::ContainerV1::Jwk::Representation + + end + end + + class GetOpenIdConfigResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :claims_supported, as: 'claims_supported' + collection :grant_types, as: 'grant_types' + collection :id_token_signing_alg_values_supported, as: 'id_token_signing_alg_values_supported' + property :issuer, as: 'issuer' + property :jwks_uri, as: 'jwks_uri' + collection :response_types_supported, as: 'response_types_supported' + collection :subject_types_supported, as: 'subject_types_supported' + end + end + class HorizontalPodAutoscaling # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -554,6 +593,21 @@ module Google end end + class Jwk + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alg, as: 'alg' + property :crv, as: 'crv' + property :e, as: 'e' + property :kid, as: 'kid' + property :kty, as: 'kty' + property :n, as: 'n' + property :use, as: 'use' + property :x, as: 'x' + property :y, as: 'y' + end + end + class KubernetesDashboard # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/container_v1/service.rb b/generated/google/apis/container_v1/service.rb index 58d1a9eda..b5dba9c34 100644 --- a/generated/google/apis/container_v1/service.rb +++ b/generated/google/apis/container_v1/service.rb @@ -264,6 +264,40 @@ module Google execute_or_queue_command(command, &block) end + # GetJSONWebKeys gets the public component of the cluster signing keys in + # JSON Web Key format. + # This API is not yet intended for general use, and is not available for all + # clusters. + # @param [String] parent + # The cluster (project, location, cluster id) to get keys for. Specified in + # the format 'projects/*/locations/*/clusters/*'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContainerV1::GetJsonWebKeysResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::GetJsonWebKeysResponse] + # + # @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_project_location_cluster_jwks(parent, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/jwks', options) + command.response_representation = Google::Apis::ContainerV1::GetJsonWebKeysResponse::Representation + command.response_class = Google::Apis::ContainerV1::GetJsonWebKeysResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Lists all clusters owned by a project in either the specified zone or all # zones. # @param [String] parent @@ -1078,6 +1112,41 @@ module Google execute_or_queue_command(command, &block) end + # GetOpenIDConfig gets the OIDC discovery document for the cluster. + # See the OpenID Connect Discovery 1.0 specification for details. + # https://openid.net/specs/openid-connect-discovery-1_0.html + # This API is not yet intended for general use, and is not available for all + # clusters. + # @param [String] parent + # The cluster (project, location, cluster id) to get the discovery document + # for. Specified in the format 'projects/*/locations/*/clusters/*'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContainerV1::GetOpenIdConfigResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::GetOpenIdConfigResponse] + # + # @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_project_location_cluster_well_known_openid_configuration(parent, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/.well-known/openid-configuration', options) + command.response_representation = Google::Apis::ContainerV1::GetOpenIdConfigResponse::Representation + command.response_class = Google::Apis::ContainerV1::GetOpenIdConfigResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Cancels the specified operation. # @param [String] name # The name (project, location, operation id) of the operation to cancel. diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 149e17767..bc3db7f00 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2 VERSION = 'V2' - REVISION = '20181215' + REVISION = '20190107' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index adc264cab..c07528bd9 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -552,10 +552,10 @@ module Google # @return [String] attr_accessor :kind - # Required for all methods except `create` (`create` populates the name - # automatically. - # The unique identifier of the entity type. Format: - # `projects//agent/entityTypes/`. + # The unique identifier of the entity type. + # Required for EntityTypes.UpdateEntityType and + # EntityTypes.BatchUpdateEntityTypes methods. + # Format: `projects//agent/entityTypes/`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -880,9 +880,9 @@ module Google attr_accessor :ml_disabled alias_method :ml_disabled?, :ml_disabled - # Required for all methods except `create` (`create` populates the name - # automatically. # The unique identifier of this intent. + # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents + # methods. # Format: `projects//agent/intents/`. # Corresponds to the JSON property `name` # @return [String] @@ -935,7 +935,7 @@ module Google # @return [String] attr_accessor :root_followup_intent_name - # Optional. The collection of examples/templates that the agent is + # Optional. The collection of examples that the agent is # trained on. # Corresponds to the JSON property `trainingPhrases` # @return [Array] @@ -1676,7 +1676,7 @@ module Google end end - # Represents an example or template that the agent is trained on. + # Represents an example that the agent is trained on. class GoogleCloudDialogflowV2IntentTrainingPhrase include Google::Apis::Core::Hashable @@ -1692,7 +1692,7 @@ module Google # @return [Array] attr_accessor :parts - # Optional. Indicates how many times this example or template was added to + # Optional. Indicates how many times this example was added to # the intent. Each time a developer adds an existing sample by editing an # intent or training, this counter is increased. # Corresponds to the JSON property `timesAddedCount` @@ -1734,7 +1734,7 @@ module Google # @return [String] attr_accessor :entity_type - # Required. The text corresponding to the example or template, + # Required. The text corresponding to the example, # if there are no annotations. For # annotated examples, it is the text for one of the example's parts. # Corresponds to the JSON property `text` @@ -2522,10 +2522,10 @@ module Google # @return [String] attr_accessor :kind - # Required for all methods except `create` (`create` populates the name - # automatically. - # The unique identifier of the entity type. Format: - # `projects//agent/entityTypes/`. + # The unique identifier of the entity type. + # Required for EntityTypes.UpdateEntityType and + # EntityTypes.BatchUpdateEntityTypes methods. + # Format: `projects//agent/entityTypes/`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2741,9 +2741,9 @@ module Google attr_accessor :ml_enabled alias_method :ml_enabled?, :ml_enabled - # Required for all methods except `create` (`create` populates the name - # automatically. # The unique identifier of this intent. + # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents + # methods. # Format: `projects//agent/intents/`. # Corresponds to the JSON property `name` # @return [String] @@ -2796,7 +2796,7 @@ module Google # @return [String] attr_accessor :root_followup_intent_name - # Optional. The collection of examples/templates that the agent is + # Optional. The collection of examples that the agent is # trained on. # Corresponds to the JSON property `trainingPhrases` # @return [Array] @@ -3622,7 +3622,7 @@ module Google end end - # Represents an example or template that the agent is trained on. + # Represents an example that the agent is trained on. class GoogleCloudDialogflowV2beta1IntentTrainingPhrase include Google::Apis::Core::Hashable @@ -3638,7 +3638,7 @@ module Google # @return [Array] attr_accessor :parts - # Optional. Indicates how many times this example or template was added to + # Optional. Indicates how many times this example was added to # the intent. Each time a developer adds an existing sample by editing an # intent or training, this counter is increased. # Corresponds to the JSON property `timesAddedCount` @@ -3680,7 +3680,7 @@ module Google # @return [String] attr_accessor :entity_type - # Required. The text corresponding to the example or template, + # Required. The text corresponding to the example, # if there are no annotations. For # annotated examples, it is the text for one of the example's parts. # Corresponds to the JSON property `text` diff --git a/generated/google/apis/dialogflow_v2/service.rb b/generated/google/apis/dialogflow_v2/service.rb index e81133526..4450e89ac 100644 --- a/generated/google/apis/dialogflow_v2/service.rb +++ b/generated/google/apis/dialogflow_v2/service.rb @@ -501,10 +501,10 @@ module Google # Updates the specified entity type. # @param [String] name - # Required for all methods except `create` (`create` populates the name - # automatically. - # The unique identifier of the entity type. Format: - # `projects//agent/entityTypes/`. + # The unique identifier of the entity type. + # Required for EntityTypes.UpdateEntityType and + # EntityTypes.BatchUpdateEntityTypes methods. + # Format: `projects//agent/entityTypes/`. # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object # @param [String] language_code # Optional. The language of entity synonyms defined in `entity_type`. If not @@ -891,9 +891,9 @@ module Google # Updates the specified intent. # @param [String] name - # Required for all methods except `create` (`create` populates the name - # automatically. # The unique identifier of this intent. + # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents + # methods. # Format: `projects//agent/intents/`. # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object # @param [String] intent_view diff --git a/generated/google/apis/dns_v1.rb b/generated/google/apis/dns_v1.rb index 74aad02b3..63b6dd839 100644 --- a/generated/google/apis/dns_v1.rb +++ b/generated/google/apis/dns_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1 VERSION = 'V1' - REVISION = '20180813' + REVISION = '20181212' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dns_v1/classes.rb b/generated/google/apis/dns_v1/classes.rb index c6b0d0049..9e0acb690 100644 --- a/generated/google/apis/dns_v1/classes.rb +++ b/generated/google/apis/dns_v1/classes.rb @@ -22,7 +22,13 @@ module Google module Apis module DnsV1 - # An atomic update to a collection of ResourceRecordSets. + # A Change represents a set of ResourceRecordSet additions and deletions applied + # atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are + # modified by creating a new Change element in the Changes collection. In turn + # the Changes collection also records the past modifications to the + # ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is + # the sum effect of applying all Change elements in the Changes collection in + # sequence. class Change include Google::Apis::Core::Hashable @@ -58,7 +64,9 @@ module Google # @return [String] attr_accessor :start_time - # Status of the operation (output only). + # Status of the operation (output only). A status of "done" means that the + # request to update the authoritative servers has been sent, but the servers + # might not be updated yet. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -261,11 +269,11 @@ module Google # @return [Fixnum] attr_accessor :key_length - # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the - # Secure Entry Point flag set and, when active, will be used to sign only - # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag - # will be cleared and this key will be used to sign only resource record sets of - # other types. + # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). + # Key signing keys have the Secure Entry Point flag set and, when active, will + # only be used to sign resource record sets of type DNSKEY. Zone signing keys do + # not have the Secure Entry Point flag set and will be used to sign all other + # types of resource record sets. # Corresponds to the JSON property `keyType` # @return [String] attr_accessor :key_type @@ -579,7 +587,8 @@ module Google attr_accessor :start_time # Status of the operation. Can be one of the following: "PENDING" or "DONE" ( - # output only). + # output only). A status of "DONE" means that the request to update the + # authoritative servers has been sent, but the servers might not be updated yet. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -811,8 +820,8 @@ module Google # @return [Fixnum] attr_accessor :ttl - # The identifier of a supported record type, for example, A, AAAA, MX, TXT, and - # so on. + # The identifier of a supported record type. See the list of Supported DNS + # record types. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type diff --git a/generated/google/apis/dns_v1beta2.rb b/generated/google/apis/dns_v1beta2.rb index 60e7ac840..f770b06ed 100644 --- a/generated/google/apis/dns_v1beta2.rb +++ b/generated/google/apis/dns_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1beta2 VERSION = 'V1beta2' - REVISION = '20181115' + REVISION = '20181212' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dns_v1beta2/classes.rb b/generated/google/apis/dns_v1beta2/classes.rb index a20fea037..2712e4c13 100644 --- a/generated/google/apis/dns_v1beta2/classes.rb +++ b/generated/google/apis/dns_v1beta2/classes.rb @@ -22,7 +22,13 @@ module Google module Apis module DnsV1beta2 - # An atomic update to a collection of ResourceRecordSets. + # A Change represents a set of ResourceRecordSet additions and deletions applied + # atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are + # modified by creating a new Change element in the Changes collection. In turn + # the Changes collection also records the past modifications to the + # ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is + # the sum effect of applying all Change elements in the Changes collection in + # sequence. class Change include Google::Apis::Core::Hashable @@ -58,7 +64,9 @@ module Google # @return [String] attr_accessor :start_time - # Status of the operation (output only). + # Status of the operation (output only). A status of "done" means that the + # request to update the authoritative servers has been sent, but the servers + # might not be updated yet. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -261,11 +269,11 @@ module Google # @return [Fixnum] attr_accessor :key_length - # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the - # Secure Entry Point flag set and, when active, will be used to sign only - # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag - # will be cleared and this key will be used to sign only resource record sets of - # other types. + # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). + # Key signing keys have the Secure Entry Point flag set and, when active, will + # only be used to sign resource record sets of type DNSKEY. Zone signing keys do + # not have the Secure Entry Point flag set and will be used to sign all other + # types of resource record sets. # Corresponds to the JSON property `keyType` # @return [String] attr_accessor :key_type @@ -404,14 +412,14 @@ module Google # @return [Array] attr_accessor :name_servers - # For privately visible zones, the set of GCP resources that the zone is visible - # from. + # For privately visible zones, the set of Virtual Private Cloud resources that + # the zone is visible from. # Corresponds to the JSON property `privateVisibilityConfig` # @return [Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig] attr_accessor :private_visibility_config # The zone's visibility: public zones are exposed to the Internet, while private - # zones are visible only to GCP resources. + # zones are visible only to Virtual Private Cloud resources. # Corresponds to the JSON property `visibility` # @return [String] attr_accessor :visibility @@ -586,7 +594,7 @@ module Google # @return [String] attr_accessor :kind - # The list of GCE private network IDs that can see this zone. + # The list of VPC networks that can see this zone. # Corresponds to the JSON property `networks` # @return [Array] attr_accessor :networks @@ -612,7 +620,7 @@ module Google # @return [String] attr_accessor :kind - # The fully qualified URL of the GCE private network to bind to. This should be + # The fully qualified URL of the VPC network to bind to. This should be # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/ # networks/`network` # Corresponds to the JSON property `networkUrl` @@ -708,7 +716,8 @@ module Google attr_accessor :start_time # Status of the operation. Can be one of the following: "PENDING" or "DONE" ( - # output only). + # output only). A status of "DONE" means that the request to update the + # authoritative servers has been sent, but the servers might not be updated yet. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -855,8 +864,8 @@ module Google # @return [Google::Apis::DnsV1beta2::ResponseHeader] attr_accessor :header - # A policy is a collection of rules applied to one or more networks that specify - # forwarding behavior for that network. + # A policy is a collection of DNS rules applied to one or more Virtual Private + # Cloud resources. # Corresponds to the JSON property `policy` # @return [Google::Apis::DnsV1beta2::Policy] attr_accessor :policy @@ -881,8 +890,8 @@ module Google # @return [Google::Apis::DnsV1beta2::ResponseHeader] attr_accessor :header - # A policy is a collection of rules applied to one or more networks that specify - # forwarding behavior for that network. + # A policy is a collection of DNS rules applied to one or more Virtual Private + # Cloud resources. # Corresponds to the JSON property `policy` # @return [Google::Apis::DnsV1beta2::Policy] attr_accessor :policy @@ -898,8 +907,8 @@ module Google end end - # A policy is a collection of rules applied to one or more networks that specify - # forwarding behavior for that network. + # A policy is a collection of DNS rules applied to one or more Virtual Private + # Cloud resources. class Policy include Google::Apis::Core::Hashable @@ -1024,7 +1033,7 @@ module Google # @return [String] attr_accessor :kind - # The fully qualified URL of the GCE private network to bind to. This should be + # The fully qualified URL of the VPC network to bind to. This should be # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/ # networks/`network` # Corresponds to the JSON property `networkUrl` @@ -1218,8 +1227,8 @@ module Google # @return [Fixnum] attr_accessor :ttl - # The identifier of a supported record type, for example, A, AAAA, MX, TXT, and - # so on. + # The identifier of a supported record type. See the list of Supported DNS + # record types. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type diff --git a/generated/google/apis/dns_v2beta1.rb b/generated/google/apis/dns_v2beta1.rb index 076d27c39..424d81e64 100644 --- a/generated/google/apis/dns_v2beta1.rb +++ b/generated/google/apis/dns_v2beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV2beta1 VERSION = 'V2beta1' - REVISION = '20180813' + REVISION = '20181212' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dns_v2beta1/classes.rb b/generated/google/apis/dns_v2beta1/classes.rb index a4bf38b1e..9a63728b5 100644 --- a/generated/google/apis/dns_v2beta1/classes.rb +++ b/generated/google/apis/dns_v2beta1/classes.rb @@ -22,7 +22,13 @@ module Google module Apis module DnsV2beta1 - # An atomic update to a collection of ResourceRecordSets. + # A Change represents a set of ResourceRecordSet additions and deletions applied + # atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are + # modified by creating a new Change element in the Changes collection. In turn + # the Changes collection also records the past modifications to the + # ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is + # the sum effect of applying all Change elements in the Changes collection in + # sequence. class Change include Google::Apis::Core::Hashable @@ -58,7 +64,9 @@ module Google # @return [String] attr_accessor :start_time - # Status of the operation (output only). + # Status of the operation (output only). A status of "done" means that the + # request to update the authoritative servers has been sent, but the servers + # might not be updated yet. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -261,11 +269,11 @@ module Google # @return [Fixnum] attr_accessor :key_length - # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the - # Secure Entry Point flag set and, when active, will be used to sign only - # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag - # will be cleared and this key will be used to sign only resource record sets of - # other types. + # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). + # Key signing keys have the Secure Entry Point flag set and, when active, will + # only be used to sign resource record sets of type DNSKEY. Zone signing keys do + # not have the Secure Entry Point flag set and will be used to sign all other + # types of resource record sets. # Corresponds to the JSON property `keyType` # @return [String] attr_accessor :key_type @@ -579,7 +587,8 @@ module Google attr_accessor :start_time # Status of the operation. Can be one of the following: "PENDING" or "DONE" ( - # output only). + # output only). A status of "DONE" means that the request to update the + # authoritative servers has been sent, but the servers might not be updated yet. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -811,8 +820,8 @@ module Google # @return [Fixnum] attr_accessor :ttl - # The identifier of a supported record type, for example, A, AAAA, MX, TXT, and - # so on. + # The identifier of a supported record type. See the list of Supported DNS + # record types. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type diff --git a/generated/google/apis/doubleclickbidmanager_v1.rb b/generated/google/apis/doubleclickbidmanager_v1.rb index b142dc954..7ee2e7829 100644 --- a/generated/google/apis/doubleclickbidmanager_v1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1 VERSION = 'V1' - REVISION = '20180821' + REVISION = '20190103' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/doubleclickbidmanager_v1/classes.rb b/generated/google/apis/doubleclickbidmanager_v1/classes.rb index 71620d63e..496e36569 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/classes.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/classes.rb @@ -81,8 +81,8 @@ module Google end end - # Request to fetch stored campaigns, insertion orders, line items, TrueView ad - # groups and ads. + # Request to fetch stored inventory sources, campaigns, insertion orders, line + # items, TrueView ad groups and ads. class DownloadRequest include Google::Apis::Core::Hashable @@ -93,6 +93,7 @@ module Google # - "CAMPAIGN" # - "INSERTION_ORDER" # - "LINE_ITEM" + # - "INVENTORY_SOURCE" # Corresponds to the JSON property `fileTypes` # @return [Array] attr_accessor :file_types @@ -151,6 +152,11 @@ module Google # @return [String] attr_accessor :insertion_orders + # + # Corresponds to the JSON property `inventorySources` + # @return [String] + attr_accessor :inventory_sources + # Retrieved line items in SDF format. # Corresponds to the JSON property `lineItems` # @return [String] @@ -166,6 +172,7 @@ module Google @ads = args[:ads] if args.key?(:ads) @campaigns = args[:campaigns] if args.key?(:campaigns) @insertion_orders = args[:insertion_orders] if args.key?(:insertion_orders) + @inventory_sources = args[:inventory_sources] if args.key?(:inventory_sources) @line_items = args[:line_items] if args.key?(:line_items) end end diff --git a/generated/google/apis/doubleclickbidmanager_v1/representations.rb b/generated/google/apis/doubleclickbidmanager_v1/representations.rb index 78a5624ad..b1a1ca7fb 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/representations.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/representations.rb @@ -182,6 +182,7 @@ module Google property :ads, as: 'ads' property :campaigns, as: 'campaigns' property :insertion_orders, as: 'insertionOrders' + property :inventory_sources, as: 'inventorySources' property :line_items, as: 'lineItems' end end diff --git a/generated/google/apis/firestore_v1.rb b/generated/google/apis/firestore_v1.rb index 8d4f16374..9dbb484ec 100644 --- a/generated/google/apis/firestore_v1.rb +++ b/generated/google/apis/firestore_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/firestore module FirestoreV1 VERSION = 'V1' - REVISION = '20181121' + REVISION = '20181222' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/firestore_v1/classes.rb b/generated/google/apis/firestore_v1/classes.rb index 6a3c0ab6c..b4a25b134 100644 --- a/generated/google/apis/firestore_v1/classes.rb +++ b/generated/google/apis/firestore_v1/classes.rb @@ -671,6 +671,21 @@ module Google # @return [String] attr_accessor :field_path + # A message that can hold any of the supported value types. + # Corresponds to the JSON property `increment` + # @return [Google::Apis::FirestoreV1::Value] + attr_accessor :increment + + # A message that can hold any of the supported value types. + # Corresponds to the JSON property `maximum` + # @return [Google::Apis::FirestoreV1::Value] + attr_accessor :maximum + + # A message that can hold any of the supported value types. + # Corresponds to the JSON property `minimum` + # @return [Google::Apis::FirestoreV1::Value] + attr_accessor :minimum + # An array value. # Corresponds to the JSON property `removeAllFromArray` # @return [Google::Apis::FirestoreV1::ArrayValue] @@ -689,6 +704,9 @@ module Google def update!(**args) @append_missing_elements = args[:append_missing_elements] if args.key?(:append_missing_elements) @field_path = args[:field_path] if args.key?(:field_path) + @increment = args[:increment] if args.key?(:increment) + @maximum = args[:maximum] if args.key?(:maximum) + @minimum = args[:minimum] if args.key?(:minimum) @remove_all_from_array = args[:remove_all_from_array] if args.key?(:remove_all_from_array) @set_to_server_value = args[:set_to_server_value] if args.key?(:set_to_server_value) end diff --git a/generated/google/apis/firestore_v1/representations.rb b/generated/google/apis/firestore_v1/representations.rb index 980a31e2e..66c8c4a4c 100644 --- a/generated/google/apis/firestore_v1/representations.rb +++ b/generated/google/apis/firestore_v1/representations.rb @@ -639,6 +639,12 @@ module Google property :append_missing_elements, as: 'appendMissingElements', class: Google::Apis::FirestoreV1::ArrayValue, decorator: Google::Apis::FirestoreV1::ArrayValue::Representation property :field_path, as: 'fieldPath' + property :increment, as: 'increment', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation + + property :maximum, as: 'maximum', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation + + property :minimum, as: 'minimum', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation + property :remove_all_from_array, as: 'removeAllFromArray', class: Google::Apis::FirestoreV1::ArrayValue, decorator: Google::Apis::FirestoreV1::ArrayValue::Representation property :set_to_server_value, as: 'setToServerValue' diff --git a/generated/google/apis/firestore_v1beta1.rb b/generated/google/apis/firestore_v1beta1.rb index 1b7e86673..23981a392 100644 --- a/generated/google/apis/firestore_v1beta1.rb +++ b/generated/google/apis/firestore_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/firestore module FirestoreV1beta1 VERSION = 'V1beta1' - REVISION = '20180814' + REVISION = '20181222' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/firestore_v1beta1/classes.rb b/generated/google/apis/firestore_v1beta1/classes.rb index 230d54eeb..0166fd99d 100644 --- a/generated/google/apis/firestore_v1beta1/classes.rb +++ b/generated/google/apis/firestore_v1beta1/classes.rb @@ -671,6 +671,21 @@ module Google # @return [String] attr_accessor :field_path + # A message that can hold any of the supported value types. + # Corresponds to the JSON property `increment` + # @return [Google::Apis::FirestoreV1beta1::Value] + attr_accessor :increment + + # A message that can hold any of the supported value types. + # Corresponds to the JSON property `maximum` + # @return [Google::Apis::FirestoreV1beta1::Value] + attr_accessor :maximum + + # A message that can hold any of the supported value types. + # Corresponds to the JSON property `minimum` + # @return [Google::Apis::FirestoreV1beta1::Value] + attr_accessor :minimum + # An array value. # Corresponds to the JSON property `removeAllFromArray` # @return [Google::Apis::FirestoreV1beta1::ArrayValue] @@ -689,6 +704,9 @@ module Google def update!(**args) @append_missing_elements = args[:append_missing_elements] if args.key?(:append_missing_elements) @field_path = args[:field_path] if args.key?(:field_path) + @increment = args[:increment] if args.key?(:increment) + @maximum = args[:maximum] if args.key?(:maximum) + @minimum = args[:minimum] if args.key?(:minimum) @remove_all_from_array = args[:remove_all_from_array] if args.key?(:remove_all_from_array) @set_to_server_value = args[:set_to_server_value] if args.key?(:set_to_server_value) end diff --git a/generated/google/apis/firestore_v1beta1/representations.rb b/generated/google/apis/firestore_v1beta1/representations.rb index dc2236940..cf1bcdf1c 100644 --- a/generated/google/apis/firestore_v1beta1/representations.rb +++ b/generated/google/apis/firestore_v1beta1/representations.rb @@ -585,6 +585,12 @@ module Google property :append_missing_elements, as: 'appendMissingElements', class: Google::Apis::FirestoreV1beta1::ArrayValue, decorator: Google::Apis::FirestoreV1beta1::ArrayValue::Representation property :field_path, as: 'fieldPath' + property :increment, as: 'increment', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation + + property :maximum, as: 'maximum', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation + + property :minimum, as: 'minimum', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation + property :remove_all_from_array, as: 'removeAllFromArray', class: Google::Apis::FirestoreV1beta1::ArrayValue, decorator: Google::Apis::FirestoreV1beta1::ArrayValue::Representation property :set_to_server_value, as: 'setToServerValue' diff --git a/generated/google/apis/fitness_v1.rb b/generated/google/apis/fitness_v1.rb index 26e44a2bd..cd6aec1de 100644 --- a/generated/google/apis/fitness_v1.rb +++ b/generated/google/apis/fitness_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/fit/rest/ module FitnessV1 VERSION = 'V1' - REVISION = '20181112' + REVISION = '20190101' # View your activity information in Google Fit AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read' diff --git a/generated/google/apis/fitness_v1/classes.rb b/generated/google/apis/fitness_v1/classes.rb index 952a87638..89541a4ac 100644 --- a/generated/google/apis/fitness_v1/classes.rb +++ b/generated/google/apis/fitness_v1/classes.rb @@ -449,7 +449,8 @@ module Google # @return [Google::Apis::FitnessV1::Application] attr_accessor :application - # + # DO NOT USE THIS FIELD. It is never populated in responses from the platform, + # and is ignored in queries. # Corresponds to the JSON property `dataQualityStandard` # @return [Array] attr_accessor :data_quality_standard diff --git a/generated/google/apis/jobs_v3p1beta1.rb b/generated/google/apis/jobs_v3p1beta1.rb index a5a80d594..04fe058ab 100644 --- a/generated/google/apis/jobs_v3p1beta1.rb +++ b/generated/google/apis/jobs_v3p1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV3p1beta1 VERSION = 'V3p1beta1' - REVISION = '20181114' + REVISION = '20190107' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/jobs_v3p1beta1/classes.rb b/generated/google/apis/jobs_v3p1beta1/classes.rb index 1e2647adf..06fbca2e4 100644 --- a/generated/google/apis/jobs_v3p1beta1/classes.rb +++ b/generated/google/apis/jobs_v3p1beta1/classes.rb @@ -2209,6 +2209,103 @@ module Google end end + # This resource represents a long-running operation that is the result of a + # network API call. + class Operation + include Google::Apis::Core::Hashable + + # If the value is `false`, it means the operation is still in progress. + # If `true`, the operation is completed, and either `error` or `response` is + # available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by + # [gRPC](https://github.com/grpc). The error model is designed to be: + # - Simple to use and understand for most users + # - Flexible enough to meet unexpected needs + # # Overview + # The `Status` message contains three pieces of data: error code, error message, + # and error details. The error code should be an enum value of + # google.rpc.Code, but it may accept additional error codes if needed. The + # error message should be a developer-facing English message that helps + # developers *understand* and *resolve* the error. If a localized user-facing + # error message is needed, put the localized message in the error details or + # localize it in the client. The optional error details may contain arbitrary + # information about the error. There is a predefined set of error detail types + # in the package `google.rpc` that can be used for common error conditions. + # # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. + # # Other uses + # The error model and the `Status` message can be used in a variety of + # environments, either with or without APIs, to provide a + # consistent developer experience across different environments. + # Example uses of this error model include: + # - Partial errors. If a service needs to return partial errors to the client, + # it may embed the `Status` in the normal response to indicate the partial + # errors. + # - Workflow errors. A typical workflow has multiple steps. Each step may + # have a `Status` message for error reporting. + # - Batch operations. If a client uses batch request and batch response, the + # `Status` message should be used directly inside batch response, one for + # each error sub-response. + # - Asynchronous operations. If an API call embeds asynchronous operation + # results in its response, the status of those operations should be + # represented directly using the `Status` message. + # - Logging. If some API errors are stored in logs, the message `Status` could + # be used directly after any stripping needed for security/privacy reasons. + # Corresponds to the JSON property `error` + # @return [Google::Apis::JobsV3p1beta1::Status] + attr_accessor :error + + # Service-specific metadata associated with the operation. It typically + # contains progress information and common metadata such as create time. + # Some services might not provide such metadata. Any method that returns a + # long-running operation should document the metadata type, if any. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The server-assigned name, which is only unique within the same service that + # originally returns it. If you use the default HTTP mapping, the + # `name` should have the format of `operations/some/unique/name`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is + # `google.protobuf.Empty`. If the original method is standard + # `Get`/`Create`/`Update`, the response should be the resource. For other + # methods, the response should have the type `XxxResponse`, where `Xxx` + # is the original method name. For example, if the original method name + # is `TakeSnapshot()`, the inferred response type is + # `TakeSnapshotResponse`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + # Represents a postal address, e.g. for postal delivery or payments addresses. # Given a postal address, a postal service can deliver items to a premise, P.O. # Box or similar. @@ -2799,6 +2896,78 @@ module Google end end + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by + # [gRPC](https://github.com/grpc). The error model is designed to be: + # - Simple to use and understand for most users + # - Flexible enough to meet unexpected needs + # # Overview + # The `Status` message contains three pieces of data: error code, error message, + # and error details. The error code should be an enum value of + # google.rpc.Code, but it may accept additional error codes if needed. The + # error message should be a developer-facing English message that helps + # developers *understand* and *resolve* the error. If a localized user-facing + # error message is needed, put the localized message in the error details or + # localize it in the client. The optional error details may contain arbitrary + # information about the error. There is a predefined set of error detail types + # in the package `google.rpc` that can be used for common error conditions. + # # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. + # # Other uses + # The error model and the `Status` message can be used in a variety of + # environments, either with or without APIs, to provide a + # consistent developer experience across different environments. + # Example uses of this error model include: + # - Partial errors. If a service needs to return partial errors to the client, + # it may embed the `Status` in the normal response to indicate the partial + # errors. + # - Workflow errors. A typical workflow has multiple steps. Each step may + # have a `Status` message for error reporting. + # - Batch operations. If a client uses batch request and batch response, the + # `Status` message should be used directly inside batch response, one for + # each error sub-response. + # - Asynchronous operations. If an API call embeds asynchronous operation + # results in its response, the status of those operations should be + # represented directly using the `Status` message. + # - Logging. If some API errors are stored in logs, the message `Status` could + # be used directly after any stripping needed for security/privacy reasons. + class Status + include Google::Apis::Core::Hashable + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + # 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) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) + end + end + # Represents a time of day. The date and time zone are either not significant # or are specified elsewhere. An API may choose to allow leap seconds. Related # types are google.type.Date and `google.protobuf.Timestamp`. diff --git a/generated/google/apis/jobs_v3p1beta1/representations.rb b/generated/google/apis/jobs_v3p1beta1/representations.rb index e942a1f9d..1460b28e9 100644 --- a/generated/google/apis/jobs_v3p1beta1/representations.rb +++ b/generated/google/apis/jobs_v3p1beta1/representations.rb @@ -286,6 +286,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PostalAddress class Representation < Google::Apis::Core::JsonRepresentation; end @@ -328,6 +334,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TimeOfDay class Representation < Google::Apis::Core::JsonRepresentation; end @@ -829,6 +841,18 @@ module Google end end + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::JobsV3p1beta1::Status, decorator: Google::Apis::JobsV3p1beta1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + class PostalAddress # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -928,6 +952,15 @@ module Google end end + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + class TimeOfDay # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/jobs_v3p1beta1/service.rb b/generated/google/apis/jobs_v3p1beta1/service.rb index 292aeb6db..32bfd8333 100644 --- a/generated/google/apis/jobs_v3p1beta1/service.rb +++ b/generated/google/apis/jobs_v3p1beta1/service.rb @@ -697,6 +697,38 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Gets the latest state of a long-running operation. Clients can use this + # method to poll the operation result at intervals as recommended by the API + # service. + # @param [String] name + # The name of the operation resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::JobsV3p1beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::JobsV3p1beta1::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 get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3p1beta1/{+name}', options) + command.response_representation = Google::Apis::JobsV3p1beta1::Operation::Representation + command.response_class = Google::Apis::JobsV3p1beta1::Operation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index fa3af7847..501b9c7c3 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1 VERSION = 'V1' - REVISION = '20181229' + REVISION = '20190109' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceconsumermanagement_v1/classes.rb b/generated/google/apis/serviceconsumermanagement_v1/classes.rb index 2a47679e5..8711daf38 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/classes.rb @@ -470,6 +470,11 @@ module Google # @return [Float] attr_accessor :deadline + # The JWT audience is used when generating a JWT id token for the backend. + # Corresponds to the JSON property `jwtAudience` + # @return [String] + attr_accessor :jwt_audience + # Minimum deadline in seconds needed for this method. Calls having deadline # value lower than this will be rejected. # Corresponds to the JSON property `minDeadline` @@ -482,6 +487,11 @@ module Google # @return [Float] attr_accessor :operation_deadline + # + # Corresponds to the JSON property `pathTranslation` + # @return [String] + attr_accessor :path_translation + # Selects the methods to which this rule applies. # Refer to selector for syntax details. # Corresponds to the JSON property `selector` @@ -496,8 +506,10 @@ module Google def update!(**args) @address = args[:address] if args.key?(:address) @deadline = args[:deadline] if args.key?(:deadline) + @jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience) @min_deadline = args[:min_deadline] if args.key?(:min_deadline) @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline) + @path_translation = args[:path_translation] if args.key?(:path_translation) @selector = args[:selector] if args.key?(:selector) end end diff --git a/generated/google/apis/serviceconsumermanagement_v1/representations.rb b/generated/google/apis/serviceconsumermanagement_v1/representations.rb index a2b6a7772..832bf4d85 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/representations.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/representations.rb @@ -547,8 +547,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' property :deadline, as: 'deadline' + property :jwt_audience, as: 'jwtAudience' property :min_deadline, as: 'minDeadline' property :operation_deadline, as: 'operationDeadline' + property :path_translation, as: 'pathTranslation' property :selector, as: 'selector' end end diff --git a/generated/google/apis/servicenetworking_v1beta.rb b/generated/google/apis/servicenetworking_v1beta.rb index 810188ae5..614223d55 100644 --- a/generated/google/apis/servicenetworking_v1beta.rb +++ b/generated/google/apis/servicenetworking_v1beta.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1beta VERSION = 'V1beta' - REVISION = '20181229' + REVISION = '20190109' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicenetworking_v1beta/classes.rb b/generated/google/apis/servicenetworking_v1beta/classes.rb index 363fe8a9b..2cde5d429 100644 --- a/generated/google/apis/servicenetworking_v1beta/classes.rb +++ b/generated/google/apis/servicenetworking_v1beta/classes.rb @@ -456,6 +456,11 @@ module Google # @return [Float] attr_accessor :deadline + # The JWT audience is used when generating a JWT id token for the backend. + # Corresponds to the JSON property `jwtAudience` + # @return [String] + attr_accessor :jwt_audience + # Minimum deadline in seconds needed for this method. Calls having deadline # value lower than this will be rejected. # Corresponds to the JSON property `minDeadline` @@ -468,6 +473,11 @@ module Google # @return [Float] attr_accessor :operation_deadline + # + # Corresponds to the JSON property `pathTranslation` + # @return [String] + attr_accessor :path_translation + # Selects the methods to which this rule applies. # Refer to selector for syntax details. # Corresponds to the JSON property `selector` @@ -482,8 +492,10 @@ module Google def update!(**args) @address = args[:address] if args.key?(:address) @deadline = args[:deadline] if args.key?(:deadline) + @jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience) @min_deadline = args[:min_deadline] if args.key?(:min_deadline) @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline) + @path_translation = args[:path_translation] if args.key?(:path_translation) @selector = args[:selector] if args.key?(:selector) end end diff --git a/generated/google/apis/servicenetworking_v1beta/representations.rb b/generated/google/apis/servicenetworking_v1beta/representations.rb index ad94719b5..4c2776df8 100644 --- a/generated/google/apis/servicenetworking_v1beta/representations.rb +++ b/generated/google/apis/servicenetworking_v1beta/representations.rb @@ -462,8 +462,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' property :deadline, as: 'deadline' + property :jwt_audience, as: 'jwtAudience' property :min_deadline, as: 'minDeadline' property :operation_deadline, as: 'operationDeadline' + property :path_translation, as: 'pathTranslation' property :selector, as: 'selector' end end diff --git a/generated/google/apis/serviceusage_v1.rb b/generated/google/apis/serviceusage_v1.rb index 0ab3010ca..6e1879b06 100644 --- a/generated/google/apis/serviceusage_v1.rb +++ b/generated/google/apis/serviceusage_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-usage/ module ServiceusageV1 VERSION = 'V1' - REVISION = '20181230' + REVISION = '20190109' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceusage_v1/classes.rb b/generated/google/apis/serviceusage_v1/classes.rb index 56abd6f48..22d97303c 100644 --- a/generated/google/apis/serviceusage_v1/classes.rb +++ b/generated/google/apis/serviceusage_v1/classes.rb @@ -375,6 +375,11 @@ module Google # @return [Float] attr_accessor :deadline + # The JWT audience is used when generating a JWT id token for the backend. + # Corresponds to the JSON property `jwtAudience` + # @return [String] + attr_accessor :jwt_audience + # Minimum deadline in seconds needed for this method. Calls having deadline # value lower than this will be rejected. # Corresponds to the JSON property `minDeadline` @@ -387,6 +392,11 @@ module Google # @return [Float] attr_accessor :operation_deadline + # + # Corresponds to the JSON property `pathTranslation` + # @return [String] + attr_accessor :path_translation + # Selects the methods to which this rule applies. # Refer to selector for syntax details. # Corresponds to the JSON property `selector` @@ -401,8 +411,10 @@ module Google def update!(**args) @address = args[:address] if args.key?(:address) @deadline = args[:deadline] if args.key?(:deadline) + @jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience) @min_deadline = args[:min_deadline] if args.key?(:min_deadline) @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline) + @path_translation = args[:path_translation] if args.key?(:path_translation) @selector = args[:selector] if args.key?(:selector) end end diff --git a/generated/google/apis/serviceusage_v1/representations.rb b/generated/google/apis/serviceusage_v1/representations.rb index dfff0930f..62931de91 100644 --- a/generated/google/apis/serviceusage_v1/representations.rb +++ b/generated/google/apis/serviceusage_v1/representations.rb @@ -508,8 +508,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' property :deadline, as: 'deadline' + property :jwt_audience, as: 'jwtAudience' property :min_deadline, as: 'minDeadline' property :operation_deadline, as: 'operationDeadline' + property :path_translation, as: 'pathTranslation' property :selector, as: 'selector' end end diff --git a/generated/google/apis/serviceusage_v1beta1.rb b/generated/google/apis/serviceusage_v1beta1.rb index 651ce7276..8fa45e27e 100644 --- a/generated/google/apis/serviceusage_v1beta1.rb +++ b/generated/google/apis/serviceusage_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-usage/ module ServiceusageV1beta1 VERSION = 'V1beta1' - REVISION = '20181230' + REVISION = '20190109' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceusage_v1beta1/classes.rb b/generated/google/apis/serviceusage_v1beta1/classes.rb index 7bac98c3b..b27665ab7 100644 --- a/generated/google/apis/serviceusage_v1beta1/classes.rb +++ b/generated/google/apis/serviceusage_v1beta1/classes.rb @@ -375,6 +375,11 @@ module Google # @return [Float] attr_accessor :deadline + # The JWT audience is used when generating a JWT id token for the backend. + # Corresponds to the JSON property `jwtAudience` + # @return [String] + attr_accessor :jwt_audience + # Minimum deadline in seconds needed for this method. Calls having deadline # value lower than this will be rejected. # Corresponds to the JSON property `minDeadline` @@ -387,6 +392,11 @@ module Google # @return [Float] attr_accessor :operation_deadline + # + # Corresponds to the JSON property `pathTranslation` + # @return [String] + attr_accessor :path_translation + # Selects the methods to which this rule applies. # Refer to selector for syntax details. # Corresponds to the JSON property `selector` @@ -401,8 +411,10 @@ module Google def update!(**args) @address = args[:address] if args.key?(:address) @deadline = args[:deadline] if args.key?(:deadline) + @jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience) @min_deadline = args[:min_deadline] if args.key?(:min_deadline) @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline) + @path_translation = args[:path_translation] if args.key?(:path_translation) @selector = args[:selector] if args.key?(:selector) end end diff --git a/generated/google/apis/serviceusage_v1beta1/representations.rb b/generated/google/apis/serviceusage_v1beta1/representations.rb index a4f78e941..94d6154ff 100644 --- a/generated/google/apis/serviceusage_v1beta1/representations.rb +++ b/generated/google/apis/serviceusage_v1beta1/representations.rb @@ -514,8 +514,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' property :deadline, as: 'deadline' + property :jwt_audience, as: 'jwtAudience' property :min_deadline, as: 'minDeadline' property :operation_deadline, as: 'operationDeadline' + property :path_translation, as: 'pathTranslation' property :selector, as: 'selector' end end diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb index ecda4497e..bee30ff03 100644 --- a/generated/google/apis/sheets_v4.rb +++ b/generated/google/apis/sheets_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/sheets/ module SheetsV4 VERSION = 'V4' - REVISION = '20181116' + REVISION = '20190109' # See, edit, create, and delete all of your Google Drive files AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/sheets_v4/classes.rb b/generated/google/apis/sheets_v4/classes.rb index dd280a6ac..ebbc316af 100644 --- a/generated/google/apis/sheets_v4/classes.rb +++ b/generated/google/apis/sheets_v4/classes.rb @@ -2297,8 +2297,8 @@ module Google end end - # A candlestick chart< - # /a>. + # A candlestick + # chart. class CandlestickChartSpec include Google::Apis::Core::Hashable @@ -2847,8 +2847,8 @@ module Google # @return [Google::Apis::SheetsV4::BubbleChartSpec] attr_accessor :bubble_chart - # A candlestick chart< - # /a>. + # A candlestick + # chart. # Corresponds to the JSON property `candlestickChart` # @return [Google::Apis::SheetsV4::CandlestickChartSpec] attr_accessor :candlestick_chart diff --git a/generated/google/apis/slides_v1.rb b/generated/google/apis/slides_v1.rb index 811779fca..1225f0307 100644 --- a/generated/google/apis/slides_v1.rb +++ b/generated/google/apis/slides_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/slides/ module SlidesV1 VERSION = 'V1' - REVISION = '20181127' + REVISION = '20190109' # See, edit, create, and delete all of your Google Drive files AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/slides_v1/classes.rb b/generated/google/apis/slides_v1/classes.rb index e86b5f2b5..a5b678e4d 100644 --- a/generated/google/apis/slides_v1/classes.rb +++ b/generated/google/apis/slides_v1/classes.rb @@ -1830,7 +1830,7 @@ module Google # A table range with location = (0, 0), row span = 3 and column span = 2 # specifies the following cells: # x x - # [ x ] + # [ x x x ] # Corresponds to the JSON property `tableRange` # @return [Google::Apis::SlidesV1::TableRange] attr_accessor :table_range @@ -4095,7 +4095,7 @@ module Google # A table range with location = (0, 0), row span = 3 and column span = 2 # specifies the following cells: # x x - # [ x ] + # [ x x x ] class TableRange include Google::Apis::Core::Hashable @@ -4510,7 +4510,7 @@ module Google # A table range with location = (0, 0), row span = 3 and column span = 2 # specifies the following cells: # x x - # [ x ] + # [ x x x ] # Corresponds to the JSON property `tableRange` # @return [Google::Apis::SlidesV1::TableRange] attr_accessor :table_range @@ -4965,7 +4965,7 @@ module Google # A table range with location = (0, 0), row span = 3 and column span = 2 # specifies the following cells: # x x - # [ x ] + # [ x x x ] # Corresponds to the JSON property `tableRange` # @return [Google::Apis::SlidesV1::TableRange] attr_accessor :table_range @@ -5020,7 +5020,7 @@ module Google # A table range with location = (0, 0), row span = 3 and column span = 2 # specifies the following cells: # x x - # [ x ] + # [ x x x ] # Corresponds to the JSON property `tableRange` # @return [Google::Apis::SlidesV1::TableRange] attr_accessor :table_range diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index a1d4cacfb..6b549bd13 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20181217' + REVISION = '20190106' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'