From 5930fb13db9a0d9d806f4ee98b0563f50bde349d Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 14 Sep 2017 00:36:39 +0000 Subject: [PATCH] Autogenerated update (2017-09-14) Add: - cloudtasks_v2beta2 Delete: - testing_v1 Update: - androiddeviceprovisioning_v1 - androidpublisher_v2 - bigquerydatatransfer_v1 - compute_alpha - compute_beta - compute_v1 - dlp_v2beta1 - youtube_v3 --- api_names_out.yaml | 1019 ++++ .../apis/androiddeviceprovisioning_v1.rb | 6 +- .../androiddeviceprovisioning_v1/service.rb | 6 +- generated/google/apis/androidpublisher_v2.rb | 2 +- .../apis/androidpublisher_v2/classes.rb | 1 + .../google/apis/bigquerydatatransfer_v1.rb | 4 +- .../apis/bigquerydatatransfer_v1/classes.rb | 88 +- .../representations.rb | 44 +- .../apis/bigquerydatatransfer_v1/service.rb | 166 +- .../{testing_v1.rb => cloudtasks_v2beta2.rb} | 23 +- .../google/apis/cloudtasks_v2beta2/classes.rb | 1761 ++++++ .../cloudtasks_v2beta2/representations.rb | 554 ++ .../google/apis/cloudtasks_v2beta2/service.rb | 947 ++++ generated/google/apis/compute_alpha.rb | 2 +- .../google/apis/compute_alpha/classes.rb | 977 +++- .../apis/compute_alpha/representations.rb | 315 +- .../google/apis/compute_alpha/service.rb | 696 ++- generated/google/apis/compute_beta.rb | 2 +- generated/google/apis/compute_beta/classes.rb | 4901 ++++++++++++++++- .../apis/compute_beta/representations.rb | 2231 +++++++- generated/google/apis/compute_beta/service.rb | 8 +- generated/google/apis/compute_v1.rb | 2 +- generated/google/apis/compute_v1/classes.rb | 9 +- generated/google/apis/dlp_v2beta1.rb | 2 +- generated/google/apis/dlp_v2beta1/classes.rb | 1556 ++++++ .../apis/dlp_v2beta1/representations.rb | 802 +++ generated/google/apis/dlp_v2beta1/service.rb | 62 + generated/google/apis/testing_v1/classes.rb | 1616 ------ .../google/apis/testing_v1/representations.rb | 688 --- generated/google/apis/testing_v1/service.rb | 221 - generated/google/apis/youtube_v3.rb | 2 +- generated/google/apis/youtube_v3/classes.rb | 107 +- .../google/apis/youtube_v3/representations.rb | 49 +- generated/google/apis/youtube_v3/service.rb | 12 +- 34 files changed, 15693 insertions(+), 3188 deletions(-) rename generated/google/apis/{testing_v1.rb => cloudtasks_v2beta2.rb} (58%) create mode 100644 generated/google/apis/cloudtasks_v2beta2/classes.rb create mode 100644 generated/google/apis/cloudtasks_v2beta2/representations.rb create mode 100644 generated/google/apis/cloudtasks_v2beta2/service.rb delete mode 100644 generated/google/apis/testing_v1/classes.rb delete mode 100644 generated/google/apis/testing_v1/representations.rb delete mode 100644 generated/google/apis/testing_v1/service.rb diff --git a/api_names_out.yaml b/api_names_out.yaml index 818b45493..8e90fdabd 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -9139,11 +9139,15 @@ "/bigquerydatatransfer:v1/Location/metadata/metadatum": metadatum "/bigquerydatatransfer:v1/Location/name": name "/bigquerydatatransfer:v1/ScheduleTransferRunsRequest": schedule_transfer_runs_request +"/bigquerydatatransfer:v1/ScheduleTransferRunsRequest/endTime": end_time "/bigquerydatatransfer:v1/ScheduleTransferRunsRequest/rangeEndTime": range_end_time "/bigquerydatatransfer:v1/ScheduleTransferRunsRequest/rangeStartTime": range_start_time +"/bigquerydatatransfer:v1/ScheduleTransferRunsRequest/startTime": start_time "/bigquerydatatransfer:v1/ScheduleTransferRunsResponse": schedule_transfer_runs_response "/bigquerydatatransfer:v1/ScheduleTransferRunsResponse/createdRuns": created_runs "/bigquerydatatransfer:v1/ScheduleTransferRunsResponse/createdRuns/created_run": created_run +"/bigquerydatatransfer:v1/ScheduleTransferRunsResponse/runs": runs +"/bigquerydatatransfer:v1/ScheduleTransferRunsResponse/runs/run": run "/bigquerydatatransfer:v1/SetEnabledRequest": set_enabled_request "/bigquerydatatransfer:v1/SetEnabledRequest/enabled": enabled "/bigquerydatatransfer:v1/TransferConfig": transfer_config @@ -13075,6 +13079,188 @@ "/cloudresourcemanager:v2beta1/fields": fields "/cloudresourcemanager:v2beta1/key": key "/cloudresourcemanager:v2beta1/quotaUser": quota_user +"/cloudtasks:v2beta2/AcknowledgeTaskRequest": acknowledge_task_request +"/cloudtasks:v2beta2/AcknowledgeTaskRequest/scheduleTime": schedule_time +"/cloudtasks:v2beta2/AppEngineHttpRequest": app_engine_http_request +"/cloudtasks:v2beta2/AppEngineHttpRequest/appEngineRouting": app_engine_routing +"/cloudtasks:v2beta2/AppEngineHttpRequest/headers": headers +"/cloudtasks:v2beta2/AppEngineHttpRequest/headers/header": header +"/cloudtasks:v2beta2/AppEngineHttpRequest/httpMethod": http_method +"/cloudtasks:v2beta2/AppEngineHttpRequest/payload": payload +"/cloudtasks:v2beta2/AppEngineHttpRequest/relativeUrl": relative_url +"/cloudtasks:v2beta2/AppEngineHttpTarget": app_engine_http_target +"/cloudtasks:v2beta2/AppEngineHttpTarget/appEngineRoutingOverride": app_engine_routing_override +"/cloudtasks:v2beta2/AppEngineQueueConfig": app_engine_queue_config +"/cloudtasks:v2beta2/AppEngineQueueConfig/appEngineRoutingOverride": app_engine_routing_override +"/cloudtasks:v2beta2/AppEngineRouting": app_engine_routing +"/cloudtasks:v2beta2/AppEngineRouting/host": host +"/cloudtasks:v2beta2/AppEngineRouting/instance": instance +"/cloudtasks:v2beta2/AppEngineRouting/service": service +"/cloudtasks:v2beta2/AppEngineRouting/version": version +"/cloudtasks:v2beta2/AppEngineTaskTarget": app_engine_task_target +"/cloudtasks:v2beta2/AppEngineTaskTarget/appEngineRouting": app_engine_routing +"/cloudtasks:v2beta2/AppEngineTaskTarget/headers": headers +"/cloudtasks:v2beta2/AppEngineTaskTarget/headers/header": header +"/cloudtasks:v2beta2/AppEngineTaskTarget/httpMethod": http_method +"/cloudtasks:v2beta2/AppEngineTaskTarget/payload": payload +"/cloudtasks:v2beta2/AppEngineTaskTarget/relativeUrl": relative_url +"/cloudtasks:v2beta2/AttemptStatus": attempt_status +"/cloudtasks:v2beta2/AttemptStatus/dispatchTime": dispatch_time +"/cloudtasks:v2beta2/AttemptStatus/responseStatus": response_status +"/cloudtasks:v2beta2/AttemptStatus/responseTime": response_time +"/cloudtasks:v2beta2/AttemptStatus/scheduleTime": schedule_time +"/cloudtasks:v2beta2/Binding": binding +"/cloudtasks:v2beta2/Binding/members": members +"/cloudtasks:v2beta2/Binding/members/member": member +"/cloudtasks:v2beta2/Binding/role": role +"/cloudtasks:v2beta2/CancelLeaseRequest": cancel_lease_request +"/cloudtasks:v2beta2/CancelLeaseRequest/responseView": response_view +"/cloudtasks:v2beta2/CancelLeaseRequest/scheduleTime": schedule_time +"/cloudtasks:v2beta2/CreateTaskRequest": create_task_request +"/cloudtasks:v2beta2/CreateTaskRequest/responseView": response_view +"/cloudtasks:v2beta2/CreateTaskRequest/task": task +"/cloudtasks:v2beta2/Empty": empty +"/cloudtasks:v2beta2/GetIamPolicyRequest": get_iam_policy_request +"/cloudtasks:v2beta2/ListQueuesResponse": list_queues_response +"/cloudtasks:v2beta2/ListQueuesResponse/nextPageToken": next_page_token +"/cloudtasks:v2beta2/ListQueuesResponse/queues": queues +"/cloudtasks:v2beta2/ListQueuesResponse/queues/queue": queue +"/cloudtasks:v2beta2/ListTasksResponse": list_tasks_response +"/cloudtasks:v2beta2/ListTasksResponse/nextPageToken": next_page_token +"/cloudtasks:v2beta2/ListTasksResponse/tasks": tasks +"/cloudtasks:v2beta2/ListTasksResponse/tasks/task": task +"/cloudtasks:v2beta2/PauseQueueRequest": pause_queue_request +"/cloudtasks:v2beta2/Policy": policy +"/cloudtasks:v2beta2/Policy/bindings": bindings +"/cloudtasks:v2beta2/Policy/bindings/binding": binding +"/cloudtasks:v2beta2/Policy/etag": etag +"/cloudtasks:v2beta2/Policy/version": version +"/cloudtasks:v2beta2/PullMessage": pull_message +"/cloudtasks:v2beta2/PullMessage/payload": payload +"/cloudtasks:v2beta2/PullMessage/tag": tag +"/cloudtasks:v2beta2/PullQueueConfig": pull_queue_config +"/cloudtasks:v2beta2/PullTarget": pull_target +"/cloudtasks:v2beta2/PullTaskTarget": pull_task_target +"/cloudtasks:v2beta2/PullTaskTarget/payload": payload +"/cloudtasks:v2beta2/PullTaskTarget/tag": tag +"/cloudtasks:v2beta2/PullTasksRequest": pull_tasks_request +"/cloudtasks:v2beta2/PullTasksRequest/filter": filter +"/cloudtasks:v2beta2/PullTasksRequest/leaseDuration": lease_duration +"/cloudtasks:v2beta2/PullTasksRequest/maxTasks": max_tasks +"/cloudtasks:v2beta2/PullTasksRequest/responseView": response_view +"/cloudtasks:v2beta2/PullTasksResponse": pull_tasks_response +"/cloudtasks:v2beta2/PullTasksResponse/tasks": tasks +"/cloudtasks:v2beta2/PullTasksResponse/tasks/task": task +"/cloudtasks:v2beta2/PurgeQueueRequest": purge_queue_request +"/cloudtasks:v2beta2/Queue": queue +"/cloudtasks:v2beta2/Queue/appEngineHttpTarget": app_engine_http_target +"/cloudtasks:v2beta2/Queue/appEngineQueueConfig": app_engine_queue_config +"/cloudtasks:v2beta2/Queue/name": name +"/cloudtasks:v2beta2/Queue/pullQueueConfig": pull_queue_config +"/cloudtasks:v2beta2/Queue/pullTarget": pull_target +"/cloudtasks:v2beta2/Queue/purgeTime": purge_time +"/cloudtasks:v2beta2/Queue/queueState": queue_state +"/cloudtasks:v2beta2/Queue/retryConfig": retry_config +"/cloudtasks:v2beta2/Queue/throttleConfig": throttle_config +"/cloudtasks:v2beta2/RenewLeaseRequest": renew_lease_request +"/cloudtasks:v2beta2/RenewLeaseRequest/newLeaseDuration": new_lease_duration +"/cloudtasks:v2beta2/RenewLeaseRequest/responseView": response_view +"/cloudtasks:v2beta2/RenewLeaseRequest/scheduleTime": schedule_time +"/cloudtasks:v2beta2/ResumeQueueRequest": resume_queue_request +"/cloudtasks:v2beta2/RetryConfig": retry_config +"/cloudtasks:v2beta2/RetryConfig/maxAttempts": max_attempts +"/cloudtasks:v2beta2/RetryConfig/maxBackoff": max_backoff +"/cloudtasks:v2beta2/RetryConfig/maxDoublings": max_doublings +"/cloudtasks:v2beta2/RetryConfig/minBackoff": min_backoff +"/cloudtasks:v2beta2/RetryConfig/taskAgeLimit": task_age_limit +"/cloudtasks:v2beta2/RetryConfig/unlimitedAttempts": unlimited_attempts +"/cloudtasks:v2beta2/RunTaskRequest": run_task_request +"/cloudtasks:v2beta2/RunTaskRequest/responseView": response_view +"/cloudtasks:v2beta2/SetIamPolicyRequest": set_iam_policy_request +"/cloudtasks:v2beta2/SetIamPolicyRequest/policy": policy +"/cloudtasks:v2beta2/Status": status +"/cloudtasks:v2beta2/Status/code": code +"/cloudtasks:v2beta2/Status/details": details +"/cloudtasks:v2beta2/Status/details/detail": detail +"/cloudtasks:v2beta2/Status/details/detail/detail": detail +"/cloudtasks:v2beta2/Status/message": message +"/cloudtasks:v2beta2/Task": task +"/cloudtasks:v2beta2/Task/appEngineHttpRequest": app_engine_http_request +"/cloudtasks:v2beta2/Task/appEngineTaskTarget": app_engine_task_target +"/cloudtasks:v2beta2/Task/createTime": create_time +"/cloudtasks:v2beta2/Task/name": name +"/cloudtasks:v2beta2/Task/pullMessage": pull_message +"/cloudtasks:v2beta2/Task/pullTaskTarget": pull_task_target +"/cloudtasks:v2beta2/Task/scheduleTime": schedule_time +"/cloudtasks:v2beta2/Task/taskStatus": task_status +"/cloudtasks:v2beta2/Task/view": view +"/cloudtasks:v2beta2/TaskStatus": task_status +"/cloudtasks:v2beta2/TaskStatus/attemptDispatchCount": attempt_dispatch_count +"/cloudtasks:v2beta2/TaskStatus/attemptResponseCount": attempt_response_count +"/cloudtasks:v2beta2/TaskStatus/firstAttemptStatus": first_attempt_status +"/cloudtasks:v2beta2/TaskStatus/lastAttemptStatus": last_attempt_status +"/cloudtasks:v2beta2/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudtasks:v2beta2/TestIamPermissionsRequest/permissions": permissions +"/cloudtasks:v2beta2/TestIamPermissionsRequest/permissions/permission": permission +"/cloudtasks:v2beta2/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudtasks:v2beta2/TestIamPermissionsResponse/permissions": permissions +"/cloudtasks:v2beta2/TestIamPermissionsResponse/permissions/permission": permission +"/cloudtasks:v2beta2/ThrottleConfig": throttle_config +"/cloudtasks:v2beta2/ThrottleConfig/maxBurstSize": max_burst_size +"/cloudtasks:v2beta2/ThrottleConfig/maxOutstandingTasks": max_outstanding_tasks +"/cloudtasks:v2beta2/ThrottleConfig/maxTasksDispatchedPerSecond": max_tasks_dispatched_per_second +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.create": create_project_location_queue +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.create/parent": parent +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.delete": delete_project_location_queue +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.delete/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.get": get_project_location_queue +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.get/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.getIamPolicy": get_queue_iam_policy +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.getIamPolicy/resource": resource +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.list": list_project_location_queues +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.list/filter": filter +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.list/pageSize": page_size +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.list/pageToken": page_token +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.list/parent": parent +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.patch": patch_project_location_queue +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.patch/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.patch/updateMask": update_mask +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.pause": pause_queue +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.pause/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.purge": purge_queue +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.purge/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.resume": resume_queue +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.resume/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.setIamPolicy": set_queue_iam_policy +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.setIamPolicy/resource": resource +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.acknowledge": acknowledge_task +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.acknowledge/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.cancelLease": cancel_task_lease +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.cancelLease/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.create": create_task +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.create/parent": parent +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.delete": delete_project_location_queue_task +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.delete/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.get": get_project_location_queue_task +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.get/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.get/responseView": response_view +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.list": list_project_location_queue_tasks +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.list/orderBy": order_by +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.list/pageSize": page_size +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.list/pageToken": page_token +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.list/parent": parent +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.list/responseView": response_view +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.pull": pull_tasks +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.pull/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.renewLease": renew_task_lease +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.renewLease/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.run": run_task +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.tasks.run/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.testIamPermissions": test_queue_iam_permissions +"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.testIamPermissions/resource": resource +"/cloudtasks:v2beta2/fields": fields +"/cloudtasks:v2beta2/key": key +"/cloudtasks:v2beta2/quotaUser": quota_user "/cloudtrace:v1/Empty": empty "/cloudtrace:v1/ListTracesResponse": list_traces_response "/cloudtrace:v1/ListTracesResponse/nextPageToken": next_page_token @@ -14351,8 +14537,10 @@ "/compute:alpha/Backend/failover": failover "/compute:alpha/Backend/group": group "/compute:alpha/Backend/maxConnections": max_connections +"/compute:alpha/Backend/maxConnectionsPerEndpoint": max_connections_per_endpoint "/compute:alpha/Backend/maxConnectionsPerInstance": max_connections_per_instance "/compute:alpha/Backend/maxRate": max_rate +"/compute:alpha/Backend/maxRatePerEndpoint": max_rate_per_endpoint "/compute:alpha/Backend/maxRatePerInstance": max_rate_per_instance "/compute:alpha/Backend/maxUtilization": max_utilization "/compute:alpha/BackendBucket": backend_bucket @@ -14394,6 +14582,7 @@ "/compute:alpha/BackendService/customRequestHeaders/custom_request_header": custom_request_header "/compute:alpha/BackendService/description": description "/compute:alpha/BackendService/enableCDN": enable_cdn +"/compute:alpha/BackendService/failoverPolicy": failover_policy "/compute:alpha/BackendService/failoverRatio": failover_ratio "/compute:alpha/BackendService/fingerprint": fingerprint "/compute:alpha/BackendService/healthChecks": health_checks @@ -14430,6 +14619,10 @@ "/compute:alpha/BackendServiceCdnPolicy/signedUrlCacheMaxAgeSec": signed_url_cache_max_age_sec "/compute:alpha/BackendServiceCdnPolicy/signedUrlKeyNames": signed_url_key_names "/compute:alpha/BackendServiceCdnPolicy/signedUrlKeyNames/signed_url_key_name": signed_url_key_name +"/compute:alpha/BackendServiceFailoverPolicy": backend_service_failover_policy +"/compute:alpha/BackendServiceFailoverPolicy/disableConnectionDrainOnFailover": disable_connection_drain_on_failover +"/compute:alpha/BackendServiceFailoverPolicy/dropTrafficIfUnhealthy": drop_traffic_if_unhealthy +"/compute:alpha/BackendServiceFailoverPolicy/failoverRatio": failover_ratio "/compute:alpha/BackendServiceGroupHealth": backend_service_group_health "/compute:alpha/BackendServiceGroupHealth/healthStatus": health_status "/compute:alpha/BackendServiceGroupHealth/healthStatus/health_status": health_status @@ -14752,6 +14945,7 @@ "/compute:alpha/ForwardingRule/backendService": backend_service "/compute:alpha/ForwardingRule/creationTimestamp": creation_timestamp "/compute:alpha/ForwardingRule/description": description +"/compute:alpha/ForwardingRule/fingerprint": fingerprint "/compute:alpha/ForwardingRule/id": id "/compute:alpha/ForwardingRule/ipVersion": ip_version "/compute:alpha/ForwardingRule/kind": kind @@ -14826,6 +15020,7 @@ "/compute:alpha/HTTP2HealthCheck/host": host "/compute:alpha/HTTP2HealthCheck/port": port "/compute:alpha/HTTP2HealthCheck/portName": port_name +"/compute:alpha/HTTP2HealthCheck/portSpecification": port_specification "/compute:alpha/HTTP2HealthCheck/proxyHeader": proxy_header "/compute:alpha/HTTP2HealthCheck/requestPath": request_path "/compute:alpha/HTTP2HealthCheck/response": response @@ -14833,6 +15028,7 @@ "/compute:alpha/HTTPHealthCheck/host": host "/compute:alpha/HTTPHealthCheck/port": port "/compute:alpha/HTTPHealthCheck/portName": port_name +"/compute:alpha/HTTPHealthCheck/portSpecification": port_specification "/compute:alpha/HTTPHealthCheck/proxyHeader": proxy_header "/compute:alpha/HTTPHealthCheck/requestPath": request_path "/compute:alpha/HTTPHealthCheck/response": response @@ -14840,6 +15036,7 @@ "/compute:alpha/HTTPSHealthCheck/host": host "/compute:alpha/HTTPSHealthCheck/port": port "/compute:alpha/HTTPSHealthCheck/portName": port_name +"/compute:alpha/HTTPSHealthCheck/portSpecification": port_specification "/compute:alpha/HTTPSHealthCheck/proxyHeader": proxy_header "/compute:alpha/HTTPSHealthCheck/requestPath": request_path "/compute:alpha/HTTPSHealthCheck/response": response @@ -15104,6 +15301,7 @@ "/compute:alpha/Instance/canIpForward": can_ip_forward "/compute:alpha/Instance/cpuPlatform": cpu_platform "/compute:alpha/Instance/creationTimestamp": creation_timestamp +"/compute:alpha/Instance/deletionProtection": deletion_protection "/compute:alpha/Instance/description": description "/compute:alpha/Instance/disks": disks "/compute:alpha/Instance/disks/disk": disk @@ -16036,6 +16234,7 @@ "/compute:alpha/Project": project "/compute:alpha/Project/commonInstanceMetadata": common_instance_metadata "/compute:alpha/Project/creationTimestamp": creation_timestamp +"/compute:alpha/Project/defaultNetworkTier": default_network_tier "/compute:alpha/Project/defaultServiceAccount": default_service_account "/compute:alpha/Project/description": description "/compute:alpha/Project/enabledFeatures": enabled_features @@ -16059,6 +16258,8 @@ "/compute:alpha/ProjectsGetXpnResources/resources/resource": resource "/compute:alpha/ProjectsListXpnHostsRequest": projects_list_xpn_hosts_request "/compute:alpha/ProjectsListXpnHostsRequest/organization": organization +"/compute:alpha/ProjectsSetDefaultNetworkTierRequest": projects_set_default_network_tier_request +"/compute:alpha/ProjectsSetDefaultNetworkTierRequest/networkTier": network_tier "/compute:alpha/ProjectsSetDefaultServiceAccountRequest": projects_set_default_service_account_request "/compute:alpha/ProjectsSetDefaultServiceAccountRequest/email": email "/compute:alpha/Quota": quota @@ -16419,6 +16620,7 @@ "/compute:alpha/SSLHealthCheck": ssl_health_check "/compute:alpha/SSLHealthCheck/port": port "/compute:alpha/SSLHealthCheck/portName": port_name +"/compute:alpha/SSLHealthCheck/portSpecification": port_specification "/compute:alpha/SSLHealthCheck/proxyHeader": proxy_header "/compute:alpha/SSLHealthCheck/request": request "/compute:alpha/SSLHealthCheck/response": response @@ -16449,6 +16651,19 @@ "/compute:alpha/SecurityPolicy/rules": rules "/compute:alpha/SecurityPolicy/rules/rule": rule "/compute:alpha/SecurityPolicy/selfLink": self_link +"/compute:alpha/SecurityPolicyList": security_policy_list +"/compute:alpha/SecurityPolicyList/id": id +"/compute:alpha/SecurityPolicyList/items": items +"/compute:alpha/SecurityPolicyList/items/item": item +"/compute:alpha/SecurityPolicyList/kind": kind +"/compute:alpha/SecurityPolicyList/nextPageToken": next_page_token +"/compute:alpha/SecurityPolicyList/warning": warning +"/compute:alpha/SecurityPolicyList/warning/code": code +"/compute:alpha/SecurityPolicyList/warning/data": data +"/compute:alpha/SecurityPolicyList/warning/data/datum": datum +"/compute:alpha/SecurityPolicyList/warning/data/datum/key": key +"/compute:alpha/SecurityPolicyList/warning/data/datum/value": value +"/compute:alpha/SecurityPolicyList/warning/message": message "/compute:alpha/SecurityPolicyReference": security_policy_reference "/compute:alpha/SecurityPolicyReference/securityPolicy": security_policy "/compute:alpha/SecurityPolicyRule": security_policy_rule @@ -16540,6 +16755,47 @@ "/compute:alpha/SslCertificateList/warning/data/datum/key": key "/compute:alpha/SslCertificateList/warning/data/datum/value": value "/compute:alpha/SslCertificateList/warning/message": message +"/compute:alpha/SslPoliciesList": ssl_policies_list +"/compute:alpha/SslPoliciesList/id": id +"/compute:alpha/SslPoliciesList/items": items +"/compute:alpha/SslPoliciesList/items/item": item +"/compute:alpha/SslPoliciesList/kind": kind +"/compute:alpha/SslPoliciesList/nextPageToken": next_page_token +"/compute:alpha/SslPoliciesList/selfLink": self_link +"/compute:alpha/SslPoliciesList/warning": warning +"/compute:alpha/SslPoliciesList/warning/code": code +"/compute:alpha/SslPoliciesList/warning/data": data +"/compute:alpha/SslPoliciesList/warning/data/datum": datum +"/compute:alpha/SslPoliciesList/warning/data/datum/key": key +"/compute:alpha/SslPoliciesList/warning/data/datum/value": value +"/compute:alpha/SslPoliciesList/warning/message": message +"/compute:alpha/SslPoliciesListAvailableFeaturesResponse": ssl_policies_list_available_features_response +"/compute:alpha/SslPoliciesListAvailableFeaturesResponse/features": features +"/compute:alpha/SslPoliciesListAvailableFeaturesResponse/features/feature": feature +"/compute:alpha/SslPolicy": ssl_policy +"/compute:alpha/SslPolicy/creationTimestamp": creation_timestamp +"/compute:alpha/SslPolicy/customFeatures": custom_features +"/compute:alpha/SslPolicy/customFeatures/custom_feature": custom_feature +"/compute:alpha/SslPolicy/description": description +"/compute:alpha/SslPolicy/enabledFeatures": enabled_features +"/compute:alpha/SslPolicy/enabledFeatures/enabled_feature": enabled_feature +"/compute:alpha/SslPolicy/fingerprint": fingerprint +"/compute:alpha/SslPolicy/id": id +"/compute:alpha/SslPolicy/kind": kind +"/compute:alpha/SslPolicy/minTlsVersion": min_tls_version +"/compute:alpha/SslPolicy/name": name +"/compute:alpha/SslPolicy/profile": profile +"/compute:alpha/SslPolicy/selfLink": self_link +"/compute:alpha/SslPolicy/warnings": warnings +"/compute:alpha/SslPolicy/warnings/warning": warning +"/compute:alpha/SslPolicy/warnings/warning/code": code +"/compute:alpha/SslPolicy/warnings/warning/data": data +"/compute:alpha/SslPolicy/warnings/warning/data/datum": datum +"/compute:alpha/SslPolicy/warnings/warning/data/datum/key": key +"/compute:alpha/SslPolicy/warnings/warning/data/datum/value": value +"/compute:alpha/SslPolicy/warnings/warning/message": message +"/compute:alpha/SslPolicyReference": ssl_policy_reference +"/compute:alpha/SslPolicyReference/sslPolicy": ssl_policy "/compute:alpha/Subnetwork": subnetwork "/compute:alpha/Subnetwork/allowSubnetCidrRoutesOverlap": allow_subnet_cidr_routes_overlap "/compute:alpha/Subnetwork/creationTimestamp": creation_timestamp @@ -16604,6 +16860,7 @@ "/compute:alpha/TCPHealthCheck": tcp_health_check "/compute:alpha/TCPHealthCheck/port": port "/compute:alpha/TCPHealthCheck/portName": port_name +"/compute:alpha/TCPHealthCheck/portSpecification": port_specification "/compute:alpha/TCPHealthCheck/proxyHeader": proxy_header "/compute:alpha/TCPHealthCheck/request": request "/compute:alpha/TCPHealthCheck/response": response @@ -16649,6 +16906,7 @@ "/compute:alpha/TargetHttpsProxy/selfLink": self_link "/compute:alpha/TargetHttpsProxy/sslCertificates": ssl_certificates "/compute:alpha/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:alpha/TargetHttpsProxy/sslPolicy": ssl_policy "/compute:alpha/TargetHttpsProxy/urlMap": url_map "/compute:alpha/TargetHttpsProxyList": target_https_proxy_list "/compute:alpha/TargetHttpsProxyList/id": id @@ -16802,6 +17060,7 @@ "/compute:alpha/TargetSslProxy/service": service "/compute:alpha/TargetSslProxy/sslCertificates": ssl_certificates "/compute:alpha/TargetSslProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:alpha/TargetSslProxy/sslPolicy": ssl_policy "/compute:alpha/TargetSslProxyList": target_ssl_proxy_list "/compute:alpha/TargetSslProxyList/id": id "/compute:alpha/TargetSslProxyList/items": items @@ -16850,6 +17109,9 @@ "/compute:alpha/TargetVpnGateway/forwardingRules/forwarding_rule": forwarding_rule "/compute:alpha/TargetVpnGateway/id": id "/compute:alpha/TargetVpnGateway/kind": kind +"/compute:alpha/TargetVpnGateway/labelFingerprint": label_fingerprint +"/compute:alpha/TargetVpnGateway/labels": labels +"/compute:alpha/TargetVpnGateway/labels/label": label "/compute:alpha/TargetVpnGateway/name": name "/compute:alpha/TargetVpnGateway/network": network "/compute:alpha/TargetVpnGateway/region": region @@ -16958,6 +17220,22 @@ "/compute:alpha/UrlMapsValidateRequest/resource": resource "/compute:alpha/UrlMapsValidateResponse": url_maps_validate_response "/compute:alpha/UrlMapsValidateResponse/result": result +"/compute:alpha/UsableSubnetwork": usable_subnetwork +"/compute:alpha/UsableSubnetwork/subnetwork": subnetwork +"/compute:alpha/UsableSubnetworksAggregatedList": usable_subnetworks_aggregated_list +"/compute:alpha/UsableSubnetworksAggregatedList/id": id +"/compute:alpha/UsableSubnetworksAggregatedList/items": items +"/compute:alpha/UsableSubnetworksAggregatedList/items/item": item +"/compute:alpha/UsableSubnetworksAggregatedList/kind": kind +"/compute:alpha/UsableSubnetworksAggregatedList/nextPageToken": next_page_token +"/compute:alpha/UsableSubnetworksAggregatedList/selfLink": self_link +"/compute:alpha/UsableSubnetworksAggregatedList/warning": warning +"/compute:alpha/UsableSubnetworksAggregatedList/warning/code": code +"/compute:alpha/UsableSubnetworksAggregatedList/warning/data": data +"/compute:alpha/UsableSubnetworksAggregatedList/warning/data/datum": datum +"/compute:alpha/UsableSubnetworksAggregatedList/warning/data/datum/key": key +"/compute:alpha/UsableSubnetworksAggregatedList/warning/data/datum/value": value +"/compute:alpha/UsableSubnetworksAggregatedList/warning/message": message "/compute:alpha/UsageExportLocation": usage_export_location "/compute:alpha/UsageExportLocation/bucketName": bucket_name "/compute:alpha/UsageExportLocation/reportNamePrefix": report_name_prefix @@ -17903,6 +18181,12 @@ "/compute:alpha/compute.instances.reset/project": project "/compute:alpha/compute.instances.reset/requestId": request_id "/compute:alpha/compute.instances.reset/zone": zone +"/compute:alpha/compute.instances.setDeletionProtection": set_instance_deletion_protection +"/compute:alpha/compute.instances.setDeletionProtection/deletionProtection": deletion_protection +"/compute:alpha/compute.instances.setDeletionProtection/project": project +"/compute:alpha/compute.instances.setDeletionProtection/requestId": request_id +"/compute:alpha/compute.instances.setDeletionProtection/resource": resource +"/compute:alpha/compute.instances.setDeletionProtection/zone": zone "/compute:alpha/compute.instances.setDiskAutoDelete": set_instance_disk_auto_delete "/compute:alpha/compute.instances.setDiskAutoDelete/autoDelete": auto_delete "/compute:alpha/compute.instances.setDiskAutoDelete/deviceName": device_name @@ -18252,6 +18536,9 @@ "/compute:alpha/compute.projects.setCommonInstanceMetadata": set_project_common_instance_metadata "/compute:alpha/compute.projects.setCommonInstanceMetadata/project": project "/compute:alpha/compute.projects.setCommonInstanceMetadata/requestId": request_id +"/compute:alpha/compute.projects.setDefaultNetworkTier": set_project_default_network_tier +"/compute:alpha/compute.projects.setDefaultNetworkTier/project": project +"/compute:alpha/compute.projects.setDefaultNetworkTier/requestId": request_id "/compute:alpha/compute.projects.setDefaultServiceAccount": set_project_default_service_account "/compute:alpha/compute.projects.setDefaultServiceAccount/project": project "/compute:alpha/compute.projects.setDefaultServiceAccount/requestId": request_id @@ -18691,6 +18978,35 @@ "/compute:alpha/compute.sslCertificates.testIamPermissions": test_ssl_certificate_iam_permissions "/compute:alpha/compute.sslCertificates.testIamPermissions/project": project "/compute:alpha/compute.sslCertificates.testIamPermissions/resource": resource +"/compute:alpha/compute.sslPolicies.delete": delete_ssl_policy +"/compute:alpha/compute.sslPolicies.delete/project": project +"/compute:alpha/compute.sslPolicies.delete/requestId": request_id +"/compute:alpha/compute.sslPolicies.delete/sslPolicy": ssl_policy +"/compute:alpha/compute.sslPolicies.get": get_ssl_policy +"/compute:alpha/compute.sslPolicies.get/project": project +"/compute:alpha/compute.sslPolicies.get/sslPolicy": ssl_policy +"/compute:alpha/compute.sslPolicies.insert": insert_ssl_policy +"/compute:alpha/compute.sslPolicies.insert/project": project +"/compute:alpha/compute.sslPolicies.insert/requestId": request_id +"/compute:alpha/compute.sslPolicies.list": list_ssl_policies +"/compute:alpha/compute.sslPolicies.list/filter": filter +"/compute:alpha/compute.sslPolicies.list/maxResults": max_results +"/compute:alpha/compute.sslPolicies.list/orderBy": order_by +"/compute:alpha/compute.sslPolicies.list/pageToken": page_token +"/compute:alpha/compute.sslPolicies.list/project": project +"/compute:alpha/compute.sslPolicies.listAvailableFeatures": list_ssl_policy_available_features +"/compute:alpha/compute.sslPolicies.listAvailableFeatures/filter": filter +"/compute:alpha/compute.sslPolicies.listAvailableFeatures/maxResults": max_results +"/compute:alpha/compute.sslPolicies.listAvailableFeatures/orderBy": order_by +"/compute:alpha/compute.sslPolicies.listAvailableFeatures/pageToken": page_token +"/compute:alpha/compute.sslPolicies.listAvailableFeatures/project": project +"/compute:alpha/compute.sslPolicies.patch": patch_ssl_policy +"/compute:alpha/compute.sslPolicies.patch/project": project +"/compute:alpha/compute.sslPolicies.patch/requestId": request_id +"/compute:alpha/compute.sslPolicies.patch/sslPolicy": ssl_policy +"/compute:alpha/compute.sslPolicies.testIamPermissions": test_ssl_policy_iam_permissions +"/compute:alpha/compute.sslPolicies.testIamPermissions/project": project +"/compute:alpha/compute.sslPolicies.testIamPermissions/resource": resource "/compute:alpha/compute.subnetworks.aggregatedList": aggregated_subnetwork_list "/compute:alpha/compute.subnetworks.aggregatedList/filter": filter "/compute:alpha/compute.subnetworks.aggregatedList/maxResults": max_results @@ -18726,6 +19042,12 @@ "/compute:alpha/compute.subnetworks.list/pageToken": page_token "/compute:alpha/compute.subnetworks.list/project": project "/compute:alpha/compute.subnetworks.list/region": region +"/compute:alpha/compute.subnetworks.listUsable": list_subnetwork_usable +"/compute:alpha/compute.subnetworks.listUsable/filter": filter +"/compute:alpha/compute.subnetworks.listUsable/maxResults": max_results +"/compute:alpha/compute.subnetworks.listUsable/orderBy": order_by +"/compute:alpha/compute.subnetworks.listUsable/pageToken": page_token +"/compute:alpha/compute.subnetworks.listUsable/project": project "/compute:alpha/compute.subnetworks.patch": patch_subnetwork "/compute:alpha/compute.subnetworks.patch/project": project "/compute:alpha/compute.subnetworks.patch/region": region @@ -18791,6 +19113,10 @@ "/compute:alpha/compute.targetHttpsProxies.setSslCertificates/project": project "/compute:alpha/compute.targetHttpsProxies.setSslCertificates/requestId": request_id "/compute:alpha/compute.targetHttpsProxies.setSslCertificates/targetHttpsProxy": target_https_proxy +"/compute:alpha/compute.targetHttpsProxies.setSslPolicy": set_target_https_proxy_ssl_policy +"/compute:alpha/compute.targetHttpsProxies.setSslPolicy/project": project +"/compute:alpha/compute.targetHttpsProxies.setSslPolicy/requestId": request_id +"/compute:alpha/compute.targetHttpsProxies.setSslPolicy/targetHttpsProxy": target_https_proxy "/compute:alpha/compute.targetHttpsProxies.setUrlMap": set_target_https_proxy_url_map "/compute:alpha/compute.targetHttpsProxies.setUrlMap/project": project "/compute:alpha/compute.targetHttpsProxies.setUrlMap/requestId": request_id @@ -18916,6 +19242,10 @@ "/compute:alpha/compute.targetSslProxies.setSslCertificates/project": project "/compute:alpha/compute.targetSslProxies.setSslCertificates/requestId": request_id "/compute:alpha/compute.targetSslProxies.setSslCertificates/targetSslProxy": target_ssl_proxy +"/compute:alpha/compute.targetSslProxies.setSslPolicy": set_target_ssl_proxy_ssl_policy +"/compute:alpha/compute.targetSslProxies.setSslPolicy/project": project +"/compute:alpha/compute.targetSslProxies.setSslPolicy/requestId": request_id +"/compute:alpha/compute.targetSslProxies.setSslPolicy/targetSslProxy": target_ssl_proxy "/compute:alpha/compute.targetSslProxies.testIamPermissions": test_target_ssl_proxy_iam_permissions "/compute:alpha/compute.targetSslProxies.testIamPermissions/project": project "/compute:alpha/compute.targetSslProxies.testIamPermissions/resource": resource @@ -19093,6 +19423,13 @@ "/compute:beta/AcceleratorTypeAggregatedList/kind": kind "/compute:beta/AcceleratorTypeAggregatedList/nextPageToken": next_page_token "/compute:beta/AcceleratorTypeAggregatedList/selfLink": self_link +"/compute:beta/AcceleratorTypeAggregatedList/warning": warning +"/compute:beta/AcceleratorTypeAggregatedList/warning/code": code +"/compute:beta/AcceleratorTypeAggregatedList/warning/data": data +"/compute:beta/AcceleratorTypeAggregatedList/warning/data/datum": datum +"/compute:beta/AcceleratorTypeAggregatedList/warning/data/datum/key": key +"/compute:beta/AcceleratorTypeAggregatedList/warning/data/datum/value": value +"/compute:beta/AcceleratorTypeAggregatedList/warning/message": message "/compute:beta/AcceleratorTypeList": accelerator_type_list "/compute:beta/AcceleratorTypeList/id": id "/compute:beta/AcceleratorTypeList/items": items @@ -19100,6 +19437,13 @@ "/compute:beta/AcceleratorTypeList/kind": kind "/compute:beta/AcceleratorTypeList/nextPageToken": next_page_token "/compute:beta/AcceleratorTypeList/selfLink": self_link +"/compute:beta/AcceleratorTypeList/warning": warning +"/compute:beta/AcceleratorTypeList/warning/code": code +"/compute:beta/AcceleratorTypeList/warning/data": data +"/compute:beta/AcceleratorTypeList/warning/data/datum": datum +"/compute:beta/AcceleratorTypeList/warning/data/datum/key": key +"/compute:beta/AcceleratorTypeList/warning/data/datum/value": value +"/compute:beta/AcceleratorTypeList/warning/message": message "/compute:beta/AcceleratorTypesScopedList": accelerator_types_scoped_list "/compute:beta/AcceleratorTypesScopedList/acceleratorTypes": accelerator_types "/compute:beta/AcceleratorTypesScopedList/acceleratorTypes/accelerator_type": accelerator_type @@ -19140,6 +19484,13 @@ "/compute:beta/AddressAggregatedList/kind": kind "/compute:beta/AddressAggregatedList/nextPageToken": next_page_token "/compute:beta/AddressAggregatedList/selfLink": self_link +"/compute:beta/AddressAggregatedList/warning": warning +"/compute:beta/AddressAggregatedList/warning/code": code +"/compute:beta/AddressAggregatedList/warning/data": data +"/compute:beta/AddressAggregatedList/warning/data/datum": datum +"/compute:beta/AddressAggregatedList/warning/data/datum/key": key +"/compute:beta/AddressAggregatedList/warning/data/datum/value": value +"/compute:beta/AddressAggregatedList/warning/message": message "/compute:beta/AddressList": address_list "/compute:beta/AddressList/id": id "/compute:beta/AddressList/items": items @@ -19147,6 +19498,13 @@ "/compute:beta/AddressList/kind": kind "/compute:beta/AddressList/nextPageToken": next_page_token "/compute:beta/AddressList/selfLink": self_link +"/compute:beta/AddressList/warning": warning +"/compute:beta/AddressList/warning/code": code +"/compute:beta/AddressList/warning/data": data +"/compute:beta/AddressList/warning/data/datum": datum +"/compute:beta/AddressList/warning/data/datum/key": key +"/compute:beta/AddressList/warning/data/datum/value": value +"/compute:beta/AddressList/warning/message": message "/compute:beta/AddressesScopedList": addresses_scoped_list "/compute:beta/AddressesScopedList/addresses": addresses "/compute:beta/AddressesScopedList/addresses/address": address @@ -19214,6 +19572,13 @@ "/compute:beta/AutoscalerAggregatedList/kind": kind "/compute:beta/AutoscalerAggregatedList/nextPageToken": next_page_token "/compute:beta/AutoscalerAggregatedList/selfLink": self_link +"/compute:beta/AutoscalerAggregatedList/warning": warning +"/compute:beta/AutoscalerAggregatedList/warning/code": code +"/compute:beta/AutoscalerAggregatedList/warning/data": data +"/compute:beta/AutoscalerAggregatedList/warning/data/datum": datum +"/compute:beta/AutoscalerAggregatedList/warning/data/datum/key": key +"/compute:beta/AutoscalerAggregatedList/warning/data/datum/value": value +"/compute:beta/AutoscalerAggregatedList/warning/message": message "/compute:beta/AutoscalerList": autoscaler_list "/compute:beta/AutoscalerList/id": id "/compute:beta/AutoscalerList/items": items @@ -19221,6 +19586,13 @@ "/compute:beta/AutoscalerList/kind": kind "/compute:beta/AutoscalerList/nextPageToken": next_page_token "/compute:beta/AutoscalerList/selfLink": self_link +"/compute:beta/AutoscalerList/warning": warning +"/compute:beta/AutoscalerList/warning/code": code +"/compute:beta/AutoscalerList/warning/data": data +"/compute:beta/AutoscalerList/warning/data/datum": datum +"/compute:beta/AutoscalerList/warning/data/datum/key": key +"/compute:beta/AutoscalerList/warning/data/datum/value": value +"/compute:beta/AutoscalerList/warning/message": message "/compute:beta/AutoscalerStatusDetails": autoscaler_status_details "/compute:beta/AutoscalerStatusDetails/message": message "/compute:beta/AutoscalerStatusDetails/type": type @@ -19278,6 +19650,13 @@ "/compute:beta/BackendBucketList/kind": kind "/compute:beta/BackendBucketList/nextPageToken": next_page_token "/compute:beta/BackendBucketList/selfLink": self_link +"/compute:beta/BackendBucketList/warning": warning +"/compute:beta/BackendBucketList/warning/code": code +"/compute:beta/BackendBucketList/warning/data": data +"/compute:beta/BackendBucketList/warning/data/datum": datum +"/compute:beta/BackendBucketList/warning/data/datum/key": key +"/compute:beta/BackendBucketList/warning/data/datum/value": value +"/compute:beta/BackendBucketList/warning/message": message "/compute:beta/BackendService": backend_service "/compute:beta/BackendService/affinityCookieTtlSec": affinity_cookie_ttl_sec "/compute:beta/BackendService/backends": backends @@ -19310,6 +19689,13 @@ "/compute:beta/BackendServiceAggregatedList/kind": kind "/compute:beta/BackendServiceAggregatedList/nextPageToken": next_page_token "/compute:beta/BackendServiceAggregatedList/selfLink": self_link +"/compute:beta/BackendServiceAggregatedList/warning": warning +"/compute:beta/BackendServiceAggregatedList/warning/code": code +"/compute:beta/BackendServiceAggregatedList/warning/data": data +"/compute:beta/BackendServiceAggregatedList/warning/data/datum": datum +"/compute:beta/BackendServiceAggregatedList/warning/data/datum/key": key +"/compute:beta/BackendServiceAggregatedList/warning/data/datum/value": value +"/compute:beta/BackendServiceAggregatedList/warning/message": message "/compute:beta/BackendServiceCdnPolicy": backend_service_cdn_policy "/compute:beta/BackendServiceCdnPolicy/cacheKeyPolicy": cache_key_policy "/compute:beta/BackendServiceGroupHealth": backend_service_group_health @@ -19328,6 +19714,13 @@ "/compute:beta/BackendServiceList/kind": kind "/compute:beta/BackendServiceList/nextPageToken": next_page_token "/compute:beta/BackendServiceList/selfLink": self_link +"/compute:beta/BackendServiceList/warning": warning +"/compute:beta/BackendServiceList/warning/code": code +"/compute:beta/BackendServiceList/warning/data": data +"/compute:beta/BackendServiceList/warning/data/datum": datum +"/compute:beta/BackendServiceList/warning/data/datum/key": key +"/compute:beta/BackendServiceList/warning/data/datum/value": value +"/compute:beta/BackendServiceList/warning/message": message "/compute:beta/BackendServicesScopedList": backend_services_scoped_list "/compute:beta/BackendServicesScopedList/backendServices": backend_services "/compute:beta/BackendServicesScopedList/backendServices/backend_service": backend_service @@ -19376,6 +19769,13 @@ "/compute:beta/CommitmentAggregatedList/kind": kind "/compute:beta/CommitmentAggregatedList/nextPageToken": next_page_token "/compute:beta/CommitmentAggregatedList/selfLink": self_link +"/compute:beta/CommitmentAggregatedList/warning": warning +"/compute:beta/CommitmentAggregatedList/warning/code": code +"/compute:beta/CommitmentAggregatedList/warning/data": data +"/compute:beta/CommitmentAggregatedList/warning/data/datum": datum +"/compute:beta/CommitmentAggregatedList/warning/data/datum/key": key +"/compute:beta/CommitmentAggregatedList/warning/data/datum/value": value +"/compute:beta/CommitmentAggregatedList/warning/message": message "/compute:beta/CommitmentList": commitment_list "/compute:beta/CommitmentList/id": id "/compute:beta/CommitmentList/items": items @@ -19383,6 +19783,13 @@ "/compute:beta/CommitmentList/kind": kind "/compute:beta/CommitmentList/nextPageToken": next_page_token "/compute:beta/CommitmentList/selfLink": self_link +"/compute:beta/CommitmentList/warning": warning +"/compute:beta/CommitmentList/warning/code": code +"/compute:beta/CommitmentList/warning/data": data +"/compute:beta/CommitmentList/warning/data/datum": datum +"/compute:beta/CommitmentList/warning/data/datum/key": key +"/compute:beta/CommitmentList/warning/data/datum/value": value +"/compute:beta/CommitmentList/warning/message": message "/compute:beta/CommitmentsScopedList": commitments_scoped_list "/compute:beta/CommitmentsScopedList/commitments": commitments "/compute:beta/CommitmentsScopedList/commitments/commitment": commitment @@ -19452,6 +19859,13 @@ "/compute:beta/DiskAggregatedList/kind": kind "/compute:beta/DiskAggregatedList/nextPageToken": next_page_token "/compute:beta/DiskAggregatedList/selfLink": self_link +"/compute:beta/DiskAggregatedList/warning": warning +"/compute:beta/DiskAggregatedList/warning/code": code +"/compute:beta/DiskAggregatedList/warning/data": data +"/compute:beta/DiskAggregatedList/warning/data/datum": datum +"/compute:beta/DiskAggregatedList/warning/data/datum/key": key +"/compute:beta/DiskAggregatedList/warning/data/datum/value": value +"/compute:beta/DiskAggregatedList/warning/message": message "/compute:beta/DiskList": disk_list "/compute:beta/DiskList/id": id "/compute:beta/DiskList/items": items @@ -19459,6 +19873,13 @@ "/compute:beta/DiskList/kind": kind "/compute:beta/DiskList/nextPageToken": next_page_token "/compute:beta/DiskList/selfLink": self_link +"/compute:beta/DiskList/warning": warning +"/compute:beta/DiskList/warning/code": code +"/compute:beta/DiskList/warning/data": data +"/compute:beta/DiskList/warning/data/datum": datum +"/compute:beta/DiskList/warning/data/datum/key": key +"/compute:beta/DiskList/warning/data/datum/value": value +"/compute:beta/DiskList/warning/message": message "/compute:beta/DiskMoveRequest": disk_move_request "/compute:beta/DiskMoveRequest/destinationZone": destination_zone "/compute:beta/DiskMoveRequest/targetDisk": target_disk @@ -19480,6 +19901,13 @@ "/compute:beta/DiskTypeAggregatedList/kind": kind "/compute:beta/DiskTypeAggregatedList/nextPageToken": next_page_token "/compute:beta/DiskTypeAggregatedList/selfLink": self_link +"/compute:beta/DiskTypeAggregatedList/warning": warning +"/compute:beta/DiskTypeAggregatedList/warning/code": code +"/compute:beta/DiskTypeAggregatedList/warning/data": data +"/compute:beta/DiskTypeAggregatedList/warning/data/datum": datum +"/compute:beta/DiskTypeAggregatedList/warning/data/datum/key": key +"/compute:beta/DiskTypeAggregatedList/warning/data/datum/value": value +"/compute:beta/DiskTypeAggregatedList/warning/message": message "/compute:beta/DiskTypeList": disk_type_list "/compute:beta/DiskTypeList/id": id "/compute:beta/DiskTypeList/items": items @@ -19487,6 +19915,13 @@ "/compute:beta/DiskTypeList/kind": kind "/compute:beta/DiskTypeList/nextPageToken": next_page_token "/compute:beta/DiskTypeList/selfLink": self_link +"/compute:beta/DiskTypeList/warning": warning +"/compute:beta/DiskTypeList/warning/code": code +"/compute:beta/DiskTypeList/warning/data": data +"/compute:beta/DiskTypeList/warning/data/datum": datum +"/compute:beta/DiskTypeList/warning/data/datum/key": key +"/compute:beta/DiskTypeList/warning/data/datum/value": value +"/compute:beta/DiskTypeList/warning/message": message "/compute:beta/DiskTypesScopedList": disk_types_scoped_list "/compute:beta/DiskTypesScopedList/diskTypes": disk_types "/compute:beta/DiskTypesScopedList/diskTypes/disk_type": disk_type @@ -19509,6 +19944,11 @@ "/compute:beta/DisksScopedList/warning/data/datum/key": key "/compute:beta/DisksScopedList/warning/data/datum/value": value "/compute:beta/DisksScopedList/warning/message": message +"/compute:beta/DistributionPolicy": distribution_policy +"/compute:beta/DistributionPolicy/zones": zones +"/compute:beta/DistributionPolicy/zones/zone": zone +"/compute:beta/DistributionPolicyZoneConfiguration": distribution_policy_zone_configuration +"/compute:beta/DistributionPolicyZoneConfiguration/zone": zone "/compute:beta/Expr": expr "/compute:beta/Expr/description": description "/compute:beta/Expr/expression": expression @@ -19553,6 +19993,13 @@ "/compute:beta/FirewallList/kind": kind "/compute:beta/FirewallList/nextPageToken": next_page_token "/compute:beta/FirewallList/selfLink": self_link +"/compute:beta/FirewallList/warning": warning +"/compute:beta/FirewallList/warning/code": code +"/compute:beta/FirewallList/warning/data": data +"/compute:beta/FirewallList/warning/data/datum": datum +"/compute:beta/FirewallList/warning/data/datum/key": key +"/compute:beta/FirewallList/warning/data/datum/value": value +"/compute:beta/FirewallList/warning/message": message "/compute:beta/FixedOrPercent": fixed_or_percent "/compute:beta/FixedOrPercent/calculated": calculated "/compute:beta/FixedOrPercent/fixed": fixed @@ -19588,6 +20035,13 @@ "/compute:beta/ForwardingRuleAggregatedList/kind": kind "/compute:beta/ForwardingRuleAggregatedList/nextPageToken": next_page_token "/compute:beta/ForwardingRuleAggregatedList/selfLink": self_link +"/compute:beta/ForwardingRuleAggregatedList/warning": warning +"/compute:beta/ForwardingRuleAggregatedList/warning/code": code +"/compute:beta/ForwardingRuleAggregatedList/warning/data": data +"/compute:beta/ForwardingRuleAggregatedList/warning/data/datum": datum +"/compute:beta/ForwardingRuleAggregatedList/warning/data/datum/key": key +"/compute:beta/ForwardingRuleAggregatedList/warning/data/datum/value": value +"/compute:beta/ForwardingRuleAggregatedList/warning/message": message "/compute:beta/ForwardingRuleList": forwarding_rule_list "/compute:beta/ForwardingRuleList/id": id "/compute:beta/ForwardingRuleList/items": items @@ -19595,6 +20049,13 @@ "/compute:beta/ForwardingRuleList/kind": kind "/compute:beta/ForwardingRuleList/nextPageToken": next_page_token "/compute:beta/ForwardingRuleList/selfLink": self_link +"/compute:beta/ForwardingRuleList/warning": warning +"/compute:beta/ForwardingRuleList/warning/code": code +"/compute:beta/ForwardingRuleList/warning/data": data +"/compute:beta/ForwardingRuleList/warning/data/datum": datum +"/compute:beta/ForwardingRuleList/warning/data/datum/key": key +"/compute:beta/ForwardingRuleList/warning/data/datum/value": value +"/compute:beta/ForwardingRuleList/warning/message": message "/compute:beta/ForwardingRulesScopedList": forwarding_rules_scoped_list "/compute:beta/ForwardingRulesScopedList/forwardingRules": forwarding_rules "/compute:beta/ForwardingRulesScopedList/forwardingRules/forwarding_rule": forwarding_rule @@ -19647,6 +20108,13 @@ "/compute:beta/HealthCheckList/kind": kind "/compute:beta/HealthCheckList/nextPageToken": next_page_token "/compute:beta/HealthCheckList/selfLink": self_link +"/compute:beta/HealthCheckList/warning": warning +"/compute:beta/HealthCheckList/warning/code": code +"/compute:beta/HealthCheckList/warning/data": data +"/compute:beta/HealthCheckList/warning/data/datum": datum +"/compute:beta/HealthCheckList/warning/data/datum/key": key +"/compute:beta/HealthCheckList/warning/data/datum/value": value +"/compute:beta/HealthCheckList/warning/message": message "/compute:beta/HealthCheckReference": health_check_reference "/compute:beta/HealthCheckReference/healthCheck": health_check "/compute:beta/HealthStatus": health_status @@ -19680,6 +20148,13 @@ "/compute:beta/HttpHealthCheckList/kind": kind "/compute:beta/HttpHealthCheckList/nextPageToken": next_page_token "/compute:beta/HttpHealthCheckList/selfLink": self_link +"/compute:beta/HttpHealthCheckList/warning": warning +"/compute:beta/HttpHealthCheckList/warning/code": code +"/compute:beta/HttpHealthCheckList/warning/data": data +"/compute:beta/HttpHealthCheckList/warning/data/datum": datum +"/compute:beta/HttpHealthCheckList/warning/data/datum/key": key +"/compute:beta/HttpHealthCheckList/warning/data/datum/value": value +"/compute:beta/HttpHealthCheckList/warning/message": message "/compute:beta/HttpsHealthCheck": https_health_check "/compute:beta/HttpsHealthCheck/checkIntervalSec": check_interval_sec "/compute:beta/HttpsHealthCheck/creationTimestamp": creation_timestamp @@ -19701,6 +20176,13 @@ "/compute:beta/HttpsHealthCheckList/kind": kind "/compute:beta/HttpsHealthCheckList/nextPageToken": next_page_token "/compute:beta/HttpsHealthCheckList/selfLink": self_link +"/compute:beta/HttpsHealthCheckList/warning": warning +"/compute:beta/HttpsHealthCheckList/warning/code": code +"/compute:beta/HttpsHealthCheckList/warning/data": data +"/compute:beta/HttpsHealthCheckList/warning/data/datum": datum +"/compute:beta/HttpsHealthCheckList/warning/data/datum/key": key +"/compute:beta/HttpsHealthCheckList/warning/data/datum/value": value +"/compute:beta/HttpsHealthCheckList/warning/message": message "/compute:beta/Image": image "/compute:beta/Image/archiveSizeBytes": archive_size_bytes "/compute:beta/Image/creationTimestamp": creation_timestamp @@ -19739,6 +20221,13 @@ "/compute:beta/ImageList/kind": kind "/compute:beta/ImageList/nextPageToken": next_page_token "/compute:beta/ImageList/selfLink": self_link +"/compute:beta/ImageList/warning": warning +"/compute:beta/ImageList/warning/code": code +"/compute:beta/ImageList/warning/data": data +"/compute:beta/ImageList/warning/data/datum": datum +"/compute:beta/ImageList/warning/data/datum/key": key +"/compute:beta/ImageList/warning/data/datum/value": value +"/compute:beta/ImageList/warning/message": message "/compute:beta/Instance": instance "/compute:beta/Instance/canIpForward": can_ip_forward "/compute:beta/Instance/cpuPlatform": cpu_platform @@ -19775,6 +20264,13 @@ "/compute:beta/InstanceAggregatedList/kind": kind "/compute:beta/InstanceAggregatedList/nextPageToken": next_page_token "/compute:beta/InstanceAggregatedList/selfLink": self_link +"/compute:beta/InstanceAggregatedList/warning": warning +"/compute:beta/InstanceAggregatedList/warning/code": code +"/compute:beta/InstanceAggregatedList/warning/data": data +"/compute:beta/InstanceAggregatedList/warning/data/datum": datum +"/compute:beta/InstanceAggregatedList/warning/data/datum/key": key +"/compute:beta/InstanceAggregatedList/warning/data/datum/value": value +"/compute:beta/InstanceAggregatedList/warning/message": message "/compute:beta/InstanceGroup": instance_group "/compute:beta/InstanceGroup/creationTimestamp": creation_timestamp "/compute:beta/InstanceGroup/description": description @@ -19797,6 +20293,13 @@ "/compute:beta/InstanceGroupAggregatedList/kind": kind "/compute:beta/InstanceGroupAggregatedList/nextPageToken": next_page_token "/compute:beta/InstanceGroupAggregatedList/selfLink": self_link +"/compute:beta/InstanceGroupAggregatedList/warning": warning +"/compute:beta/InstanceGroupAggregatedList/warning/code": code +"/compute:beta/InstanceGroupAggregatedList/warning/data": data +"/compute:beta/InstanceGroupAggregatedList/warning/data/datum": datum +"/compute:beta/InstanceGroupAggregatedList/warning/data/datum/key": key +"/compute:beta/InstanceGroupAggregatedList/warning/data/datum/value": value +"/compute:beta/InstanceGroupAggregatedList/warning/message": message "/compute:beta/InstanceGroupList": instance_group_list "/compute:beta/InstanceGroupList/id": id "/compute:beta/InstanceGroupList/items": items @@ -19804,6 +20307,13 @@ "/compute:beta/InstanceGroupList/kind": kind "/compute:beta/InstanceGroupList/nextPageToken": next_page_token "/compute:beta/InstanceGroupList/selfLink": self_link +"/compute:beta/InstanceGroupList/warning": warning +"/compute:beta/InstanceGroupList/warning/code": code +"/compute:beta/InstanceGroupList/warning/data": data +"/compute:beta/InstanceGroupList/warning/data/datum": datum +"/compute:beta/InstanceGroupList/warning/data/datum/key": key +"/compute:beta/InstanceGroupList/warning/data/datum/value": value +"/compute:beta/InstanceGroupList/warning/message": message "/compute:beta/InstanceGroupManager": instance_group_manager "/compute:beta/InstanceGroupManager/autoHealingPolicies": auto_healing_policies "/compute:beta/InstanceGroupManager/autoHealingPolicies/auto_healing_policy": auto_healing_policy @@ -19811,6 +20321,7 @@ "/compute:beta/InstanceGroupManager/creationTimestamp": creation_timestamp "/compute:beta/InstanceGroupManager/currentActions": current_actions "/compute:beta/InstanceGroupManager/description": description +"/compute:beta/InstanceGroupManager/distributionPolicy": distribution_policy "/compute:beta/InstanceGroupManager/failoverAction": failover_action "/compute:beta/InstanceGroupManager/fingerprint": fingerprint "/compute:beta/InstanceGroupManager/id": id @@ -19848,6 +20359,13 @@ "/compute:beta/InstanceGroupManagerAggregatedList/kind": kind "/compute:beta/InstanceGroupManagerAggregatedList/nextPageToken": next_page_token "/compute:beta/InstanceGroupManagerAggregatedList/selfLink": self_link +"/compute:beta/InstanceGroupManagerAggregatedList/warning": warning +"/compute:beta/InstanceGroupManagerAggregatedList/warning/code": code +"/compute:beta/InstanceGroupManagerAggregatedList/warning/data": data +"/compute:beta/InstanceGroupManagerAggregatedList/warning/data/datum": datum +"/compute:beta/InstanceGroupManagerAggregatedList/warning/data/datum/key": key +"/compute:beta/InstanceGroupManagerAggregatedList/warning/data/datum/value": value +"/compute:beta/InstanceGroupManagerAggregatedList/warning/message": message "/compute:beta/InstanceGroupManagerAutoHealingPolicy": instance_group_manager_auto_healing_policy "/compute:beta/InstanceGroupManagerAutoHealingPolicy/healthCheck": health_check "/compute:beta/InstanceGroupManagerAutoHealingPolicy/initialDelaySec": initial_delay_sec @@ -19858,6 +20376,13 @@ "/compute:beta/InstanceGroupManagerList/kind": kind "/compute:beta/InstanceGroupManagerList/nextPageToken": next_page_token "/compute:beta/InstanceGroupManagerList/selfLink": self_link +"/compute:beta/InstanceGroupManagerList/warning": warning +"/compute:beta/InstanceGroupManagerList/warning/code": code +"/compute:beta/InstanceGroupManagerList/warning/data": data +"/compute:beta/InstanceGroupManagerList/warning/data/datum": datum +"/compute:beta/InstanceGroupManagerList/warning/data/datum/key": key +"/compute:beta/InstanceGroupManagerList/warning/data/datum/value": value +"/compute:beta/InstanceGroupManagerList/warning/message": message "/compute:beta/InstanceGroupManagerPendingActionsSummary": instance_group_manager_pending_actions_summary "/compute:beta/InstanceGroupManagerPendingActionsSummary/creating": creating "/compute:beta/InstanceGroupManagerPendingActionsSummary/deleting": deleting @@ -19918,6 +20443,13 @@ "/compute:beta/InstanceGroupsListInstances/kind": kind "/compute:beta/InstanceGroupsListInstances/nextPageToken": next_page_token "/compute:beta/InstanceGroupsListInstances/selfLink": self_link +"/compute:beta/InstanceGroupsListInstances/warning": warning +"/compute:beta/InstanceGroupsListInstances/warning/code": code +"/compute:beta/InstanceGroupsListInstances/warning/data": data +"/compute:beta/InstanceGroupsListInstances/warning/data/datum": datum +"/compute:beta/InstanceGroupsListInstances/warning/data/datum/key": key +"/compute:beta/InstanceGroupsListInstances/warning/data/datum/value": value +"/compute:beta/InstanceGroupsListInstances/warning/message": message "/compute:beta/InstanceGroupsListInstancesRequest": instance_groups_list_instances_request "/compute:beta/InstanceGroupsListInstancesRequest/instanceState": instance_state "/compute:beta/InstanceGroupsRemoveInstancesRequest": instance_groups_remove_instances_request @@ -19944,6 +20476,13 @@ "/compute:beta/InstanceList/kind": kind "/compute:beta/InstanceList/nextPageToken": next_page_token "/compute:beta/InstanceList/selfLink": self_link +"/compute:beta/InstanceList/warning": warning +"/compute:beta/InstanceList/warning/code": code +"/compute:beta/InstanceList/warning/data": data +"/compute:beta/InstanceList/warning/data/datum": datum +"/compute:beta/InstanceList/warning/data/datum/key": key +"/compute:beta/InstanceList/warning/data/datum/value": value +"/compute:beta/InstanceList/warning/message": message "/compute:beta/InstanceListReferrers": instance_list_referrers "/compute:beta/InstanceListReferrers/id": id "/compute:beta/InstanceListReferrers/items": items @@ -19951,6 +20490,13 @@ "/compute:beta/InstanceListReferrers/kind": kind "/compute:beta/InstanceListReferrers/nextPageToken": next_page_token "/compute:beta/InstanceListReferrers/selfLink": self_link +"/compute:beta/InstanceListReferrers/warning": warning +"/compute:beta/InstanceListReferrers/warning/code": code +"/compute:beta/InstanceListReferrers/warning/data": data +"/compute:beta/InstanceListReferrers/warning/data/datum": datum +"/compute:beta/InstanceListReferrers/warning/data/datum/key": key +"/compute:beta/InstanceListReferrers/warning/data/datum/value": value +"/compute:beta/InstanceListReferrers/warning/message": message "/compute:beta/InstanceMoveRequest": move_instance_request "/compute:beta/InstanceMoveRequest/destinationZone": destination_zone "/compute:beta/InstanceMoveRequest/targetInstance": target_instance @@ -19989,6 +20535,13 @@ "/compute:beta/InstanceTemplateList/kind": kind "/compute:beta/InstanceTemplateList/nextPageToken": next_page_token "/compute:beta/InstanceTemplateList/selfLink": self_link +"/compute:beta/InstanceTemplateList/warning": warning +"/compute:beta/InstanceTemplateList/warning/code": code +"/compute:beta/InstanceTemplateList/warning/data": data +"/compute:beta/InstanceTemplateList/warning/data/datum": datum +"/compute:beta/InstanceTemplateList/warning/data/datum/key": key +"/compute:beta/InstanceTemplateList/warning/data/datum/value": value +"/compute:beta/InstanceTemplateList/warning/message": message "/compute:beta/InstanceWithNamedPorts": instance_with_named_ports "/compute:beta/InstanceWithNamedPorts/instance": instance "/compute:beta/InstanceWithNamedPorts/namedPorts": named_ports @@ -20070,6 +20623,13 @@ "/compute:beta/InterconnectAttachmentAggregatedList/kind": kind "/compute:beta/InterconnectAttachmentAggregatedList/nextPageToken": next_page_token "/compute:beta/InterconnectAttachmentAggregatedList/selfLink": self_link +"/compute:beta/InterconnectAttachmentAggregatedList/warning": warning +"/compute:beta/InterconnectAttachmentAggregatedList/warning/code": code +"/compute:beta/InterconnectAttachmentAggregatedList/warning/data": data +"/compute:beta/InterconnectAttachmentAggregatedList/warning/data/datum": datum +"/compute:beta/InterconnectAttachmentAggregatedList/warning/data/datum/key": key +"/compute:beta/InterconnectAttachmentAggregatedList/warning/data/datum/value": value +"/compute:beta/InterconnectAttachmentAggregatedList/warning/message": message "/compute:beta/InterconnectAttachmentList": interconnect_attachment_list "/compute:beta/InterconnectAttachmentList/id": id "/compute:beta/InterconnectAttachmentList/items": items @@ -20077,6 +20637,13 @@ "/compute:beta/InterconnectAttachmentList/kind": kind "/compute:beta/InterconnectAttachmentList/nextPageToken": next_page_token "/compute:beta/InterconnectAttachmentList/selfLink": self_link +"/compute:beta/InterconnectAttachmentList/warning": warning +"/compute:beta/InterconnectAttachmentList/warning/code": code +"/compute:beta/InterconnectAttachmentList/warning/data": data +"/compute:beta/InterconnectAttachmentList/warning/data/datum": datum +"/compute:beta/InterconnectAttachmentList/warning/data/datum/key": key +"/compute:beta/InterconnectAttachmentList/warning/data/datum/value": value +"/compute:beta/InterconnectAttachmentList/warning/message": message "/compute:beta/InterconnectAttachmentPrivateInfo": interconnect_attachment_private_info "/compute:beta/InterconnectAttachmentPrivateInfo/tag8021q": tag8021q "/compute:beta/InterconnectAttachmentsScopedList": interconnect_attachments_scoped_list @@ -20100,6 +20667,13 @@ "/compute:beta/InterconnectList/kind": kind "/compute:beta/InterconnectList/nextPageToken": next_page_token "/compute:beta/InterconnectList/selfLink": self_link +"/compute:beta/InterconnectList/warning": warning +"/compute:beta/InterconnectList/warning/code": code +"/compute:beta/InterconnectList/warning/data": data +"/compute:beta/InterconnectList/warning/data/datum": datum +"/compute:beta/InterconnectList/warning/data/datum/key": key +"/compute:beta/InterconnectList/warning/data/datum/value": value +"/compute:beta/InterconnectList/warning/message": message "/compute:beta/InterconnectLocation": interconnect_location "/compute:beta/InterconnectLocation/address": address "/compute:beta/InterconnectLocation/availabilityZone": availability_zone @@ -20123,6 +20697,13 @@ "/compute:beta/InterconnectLocationList/kind": kind "/compute:beta/InterconnectLocationList/nextPageToken": next_page_token "/compute:beta/InterconnectLocationList/selfLink": self_link +"/compute:beta/InterconnectLocationList/warning": warning +"/compute:beta/InterconnectLocationList/warning/code": code +"/compute:beta/InterconnectLocationList/warning/data": data +"/compute:beta/InterconnectLocationList/warning/data/datum": datum +"/compute:beta/InterconnectLocationList/warning/data/datum/key": key +"/compute:beta/InterconnectLocationList/warning/data/datum/value": value +"/compute:beta/InterconnectLocationList/warning/message": message "/compute:beta/InterconnectLocationRegionInfo": interconnect_location_region_info "/compute:beta/InterconnectLocationRegionInfo/expectedRttMs": expected_rtt_ms "/compute:beta/InterconnectLocationRegionInfo/locationPresence": location_presence @@ -20176,6 +20757,13 @@ "/compute:beta/MachineTypeAggregatedList/kind": kind "/compute:beta/MachineTypeAggregatedList/nextPageToken": next_page_token "/compute:beta/MachineTypeAggregatedList/selfLink": self_link +"/compute:beta/MachineTypeAggregatedList/warning": warning +"/compute:beta/MachineTypeAggregatedList/warning/code": code +"/compute:beta/MachineTypeAggregatedList/warning/data": data +"/compute:beta/MachineTypeAggregatedList/warning/data/datum": datum +"/compute:beta/MachineTypeAggregatedList/warning/data/datum/key": key +"/compute:beta/MachineTypeAggregatedList/warning/data/datum/value": value +"/compute:beta/MachineTypeAggregatedList/warning/message": message "/compute:beta/MachineTypeList": machine_type_list "/compute:beta/MachineTypeList/id": id "/compute:beta/MachineTypeList/items": items @@ -20183,6 +20771,13 @@ "/compute:beta/MachineTypeList/kind": kind "/compute:beta/MachineTypeList/nextPageToken": next_page_token "/compute:beta/MachineTypeList/selfLink": self_link +"/compute:beta/MachineTypeList/warning": warning +"/compute:beta/MachineTypeList/warning/code": code +"/compute:beta/MachineTypeList/warning/data": data +"/compute:beta/MachineTypeList/warning/data/datum": datum +"/compute:beta/MachineTypeList/warning/data/datum/key": key +"/compute:beta/MachineTypeList/warning/data/datum/value": value +"/compute:beta/MachineTypeList/warning/message": message "/compute:beta/MachineTypesScopedList": machine_types_scoped_list "/compute:beta/MachineTypesScopedList/machineTypes": machine_types "/compute:beta/MachineTypesScopedList/machineTypes/machine_type": machine_type @@ -20252,6 +20847,13 @@ "/compute:beta/NetworkList/kind": kind "/compute:beta/NetworkList/nextPageToken": next_page_token "/compute:beta/NetworkList/selfLink": self_link +"/compute:beta/NetworkList/warning": warning +"/compute:beta/NetworkList/warning/code": code +"/compute:beta/NetworkList/warning/data": data +"/compute:beta/NetworkList/warning/data/datum": datum +"/compute:beta/NetworkList/warning/data/datum/key": key +"/compute:beta/NetworkList/warning/data/datum/value": value +"/compute:beta/NetworkList/warning/message": message "/compute:beta/NetworkPeering": network_peering "/compute:beta/NetworkPeering/autoCreateRoutes": auto_create_routes "/compute:beta/NetworkPeering/name": name @@ -20309,6 +20911,13 @@ "/compute:beta/OperationAggregatedList/kind": kind "/compute:beta/OperationAggregatedList/nextPageToken": next_page_token "/compute:beta/OperationAggregatedList/selfLink": self_link +"/compute:beta/OperationAggregatedList/warning": warning +"/compute:beta/OperationAggregatedList/warning/code": code +"/compute:beta/OperationAggregatedList/warning/data": data +"/compute:beta/OperationAggregatedList/warning/data/datum": datum +"/compute:beta/OperationAggregatedList/warning/data/datum/key": key +"/compute:beta/OperationAggregatedList/warning/data/datum/value": value +"/compute:beta/OperationAggregatedList/warning/message": message "/compute:beta/OperationList": operation_list "/compute:beta/OperationList/id": id "/compute:beta/OperationList/items": items @@ -20316,6 +20925,13 @@ "/compute:beta/OperationList/kind": kind "/compute:beta/OperationList/nextPageToken": next_page_token "/compute:beta/OperationList/selfLink": self_link +"/compute:beta/OperationList/warning": warning +"/compute:beta/OperationList/warning/code": code +"/compute:beta/OperationList/warning/data": data +"/compute:beta/OperationList/warning/data/datum": datum +"/compute:beta/OperationList/warning/data/datum/key": key +"/compute:beta/OperationList/warning/data/datum/value": value +"/compute:beta/OperationList/warning/message": message "/compute:beta/OperationsScopedList": operations_scoped_list "/compute:beta/OperationsScopedList/operations": operations "/compute:beta/OperationsScopedList/operations/operation": operation @@ -20401,6 +21017,13 @@ "/compute:beta/RegionAutoscalerList/kind": kind "/compute:beta/RegionAutoscalerList/nextPageToken": next_page_token "/compute:beta/RegionAutoscalerList/selfLink": self_link +"/compute:beta/RegionAutoscalerList/warning": warning +"/compute:beta/RegionAutoscalerList/warning/code": code +"/compute:beta/RegionAutoscalerList/warning/data": data +"/compute:beta/RegionAutoscalerList/warning/data/datum": datum +"/compute:beta/RegionAutoscalerList/warning/data/datum/key": key +"/compute:beta/RegionAutoscalerList/warning/data/datum/value": value +"/compute:beta/RegionAutoscalerList/warning/message": message "/compute:beta/RegionInstanceGroupList": region_instance_group_list "/compute:beta/RegionInstanceGroupList/id": id "/compute:beta/RegionInstanceGroupList/items": items @@ -20408,6 +21031,13 @@ "/compute:beta/RegionInstanceGroupList/kind": kind "/compute:beta/RegionInstanceGroupList/nextPageToken": next_page_token "/compute:beta/RegionInstanceGroupList/selfLink": self_link +"/compute:beta/RegionInstanceGroupList/warning": warning +"/compute:beta/RegionInstanceGroupList/warning/code": code +"/compute:beta/RegionInstanceGroupList/warning/data": data +"/compute:beta/RegionInstanceGroupList/warning/data/datum": datum +"/compute:beta/RegionInstanceGroupList/warning/data/datum/key": key +"/compute:beta/RegionInstanceGroupList/warning/data/datum/value": value +"/compute:beta/RegionInstanceGroupList/warning/message": message "/compute:beta/RegionInstanceGroupManagerList": region_instance_group_manager_list "/compute:beta/RegionInstanceGroupManagerList/id": id "/compute:beta/RegionInstanceGroupManagerList/items": items @@ -20415,6 +21045,13 @@ "/compute:beta/RegionInstanceGroupManagerList/kind": kind "/compute:beta/RegionInstanceGroupManagerList/nextPageToken": next_page_token "/compute:beta/RegionInstanceGroupManagerList/selfLink": self_link +"/compute:beta/RegionInstanceGroupManagerList/warning": warning +"/compute:beta/RegionInstanceGroupManagerList/warning/code": code +"/compute:beta/RegionInstanceGroupManagerList/warning/data": data +"/compute:beta/RegionInstanceGroupManagerList/warning/data/datum": datum +"/compute:beta/RegionInstanceGroupManagerList/warning/data/datum/key": key +"/compute:beta/RegionInstanceGroupManagerList/warning/data/datum/value": value +"/compute:beta/RegionInstanceGroupManagerList/warning/message": message "/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest": region_instance_group_managers_abandon_instances_request "/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest/instances": instances "/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest/instances/instance": instance @@ -20444,6 +21081,13 @@ "/compute:beta/RegionInstanceGroupsListInstances/kind": kind "/compute:beta/RegionInstanceGroupsListInstances/nextPageToken": next_page_token "/compute:beta/RegionInstanceGroupsListInstances/selfLink": self_link +"/compute:beta/RegionInstanceGroupsListInstances/warning": warning +"/compute:beta/RegionInstanceGroupsListInstances/warning/code": code +"/compute:beta/RegionInstanceGroupsListInstances/warning/data": data +"/compute:beta/RegionInstanceGroupsListInstances/warning/data/datum": datum +"/compute:beta/RegionInstanceGroupsListInstances/warning/data/datum/key": key +"/compute:beta/RegionInstanceGroupsListInstances/warning/data/datum/value": value +"/compute:beta/RegionInstanceGroupsListInstances/warning/message": message "/compute:beta/RegionInstanceGroupsListInstancesRequest": region_instance_groups_list_instances_request "/compute:beta/RegionInstanceGroupsListInstancesRequest/instanceState": instance_state "/compute:beta/RegionInstanceGroupsListInstancesRequest/portName": port_name @@ -20458,6 +21102,13 @@ "/compute:beta/RegionList/kind": kind "/compute:beta/RegionList/nextPageToken": next_page_token "/compute:beta/RegionList/selfLink": self_link +"/compute:beta/RegionList/warning": warning +"/compute:beta/RegionList/warning/code": code +"/compute:beta/RegionList/warning/data": data +"/compute:beta/RegionList/warning/data/datum": datum +"/compute:beta/RegionList/warning/data/datum/key": key +"/compute:beta/RegionList/warning/data/datum/value": value +"/compute:beta/RegionList/warning/message": message "/compute:beta/RegionSetLabelsRequest": region_set_labels_request "/compute:beta/RegionSetLabelsRequest/labelFingerprint": label_fingerprint "/compute:beta/RegionSetLabelsRequest/labels": labels @@ -20500,6 +21151,13 @@ "/compute:beta/RouteList/kind": kind "/compute:beta/RouteList/nextPageToken": next_page_token "/compute:beta/RouteList/selfLink": self_link +"/compute:beta/RouteList/warning": warning +"/compute:beta/RouteList/warning/code": code +"/compute:beta/RouteList/warning/data": data +"/compute:beta/RouteList/warning/data/datum": datum +"/compute:beta/RouteList/warning/data/datum/key": key +"/compute:beta/RouteList/warning/data/datum/value": value +"/compute:beta/RouteList/warning/message": message "/compute:beta/Router": router "/compute:beta/Router/bgp": bgp "/compute:beta/Router/bgpPeers": bgp_peers @@ -20521,6 +21179,13 @@ "/compute:beta/RouterAggregatedList/kind": kind "/compute:beta/RouterAggregatedList/nextPageToken": next_page_token "/compute:beta/RouterAggregatedList/selfLink": self_link +"/compute:beta/RouterAggregatedList/warning": warning +"/compute:beta/RouterAggregatedList/warning/code": code +"/compute:beta/RouterAggregatedList/warning/data": data +"/compute:beta/RouterAggregatedList/warning/data/datum": datum +"/compute:beta/RouterAggregatedList/warning/data/datum/key": key +"/compute:beta/RouterAggregatedList/warning/data/datum/value": value +"/compute:beta/RouterAggregatedList/warning/message": message "/compute:beta/RouterBgp": router_bgp "/compute:beta/RouterBgp/asn": asn "/compute:beta/RouterBgpPeer": router_bgp_peer @@ -20542,6 +21207,13 @@ "/compute:beta/RouterList/kind": kind "/compute:beta/RouterList/nextPageToken": next_page_token "/compute:beta/RouterList/selfLink": self_link +"/compute:beta/RouterList/warning": warning +"/compute:beta/RouterList/warning/code": code +"/compute:beta/RouterList/warning/data": data +"/compute:beta/RouterList/warning/data/datum": datum +"/compute:beta/RouterList/warning/data/datum/key": key +"/compute:beta/RouterList/warning/data/datum/value": value +"/compute:beta/RouterList/warning/message": message "/compute:beta/RouterStatus": router_status "/compute:beta/RouterStatus/bestRoutes": best_routes "/compute:beta/RouterStatus/bestRoutes/best_route": best_route @@ -20616,6 +21288,19 @@ "/compute:beta/SecurityPolicy/rules": rules "/compute:beta/SecurityPolicy/rules/rule": rule "/compute:beta/SecurityPolicy/selfLink": self_link +"/compute:beta/SecurityPolicyList": security_policy_list +"/compute:beta/SecurityPolicyList/id": id +"/compute:beta/SecurityPolicyList/items": items +"/compute:beta/SecurityPolicyList/items/item": item +"/compute:beta/SecurityPolicyList/kind": kind +"/compute:beta/SecurityPolicyList/nextPageToken": next_page_token +"/compute:beta/SecurityPolicyList/warning": warning +"/compute:beta/SecurityPolicyList/warning/code": code +"/compute:beta/SecurityPolicyList/warning/data": data +"/compute:beta/SecurityPolicyList/warning/data/datum": datum +"/compute:beta/SecurityPolicyList/warning/data/datum/key": key +"/compute:beta/SecurityPolicyList/warning/data/datum/value": value +"/compute:beta/SecurityPolicyList/warning/message": message "/compute:beta/SecurityPolicyReference": security_policy_reference "/compute:beta/SecurityPolicyReference/securityPolicy": security_policy "/compute:beta/SecurityPolicyRule": security_policy_rule @@ -20665,6 +21350,13 @@ "/compute:beta/SnapshotList/kind": kind "/compute:beta/SnapshotList/nextPageToken": next_page_token "/compute:beta/SnapshotList/selfLink": self_link +"/compute:beta/SnapshotList/warning": warning +"/compute:beta/SnapshotList/warning/code": code +"/compute:beta/SnapshotList/warning/data": data +"/compute:beta/SnapshotList/warning/data/datum": datum +"/compute:beta/SnapshotList/warning/data/datum/key": key +"/compute:beta/SnapshotList/warning/data/datum/value": value +"/compute:beta/SnapshotList/warning/message": message "/compute:beta/SslCertificate": ssl_certificate "/compute:beta/SslCertificate/certificate": certificate "/compute:beta/SslCertificate/creationTimestamp": creation_timestamp @@ -20681,6 +21373,13 @@ "/compute:beta/SslCertificateList/kind": kind "/compute:beta/SslCertificateList/nextPageToken": next_page_token "/compute:beta/SslCertificateList/selfLink": self_link +"/compute:beta/SslCertificateList/warning": warning +"/compute:beta/SslCertificateList/warning/code": code +"/compute:beta/SslCertificateList/warning/data": data +"/compute:beta/SslCertificateList/warning/data/datum": datum +"/compute:beta/SslCertificateList/warning/data/datum/key": key +"/compute:beta/SslCertificateList/warning/data/datum/value": value +"/compute:beta/SslCertificateList/warning/message": message "/compute:beta/Subnetwork": subnetwork "/compute:beta/Subnetwork/creationTimestamp": creation_timestamp "/compute:beta/Subnetwork/description": description @@ -20702,6 +21401,13 @@ "/compute:beta/SubnetworkAggregatedList/kind": kind "/compute:beta/SubnetworkAggregatedList/nextPageToken": next_page_token "/compute:beta/SubnetworkAggregatedList/selfLink": self_link +"/compute:beta/SubnetworkAggregatedList/warning": warning +"/compute:beta/SubnetworkAggregatedList/warning/code": code +"/compute:beta/SubnetworkAggregatedList/warning/data": data +"/compute:beta/SubnetworkAggregatedList/warning/data/datum": datum +"/compute:beta/SubnetworkAggregatedList/warning/data/datum/key": key +"/compute:beta/SubnetworkAggregatedList/warning/data/datum/value": value +"/compute:beta/SubnetworkAggregatedList/warning/message": message "/compute:beta/SubnetworkList": subnetwork_list "/compute:beta/SubnetworkList/id": id "/compute:beta/SubnetworkList/items": items @@ -20709,6 +21415,13 @@ "/compute:beta/SubnetworkList/kind": kind "/compute:beta/SubnetworkList/nextPageToken": next_page_token "/compute:beta/SubnetworkList/selfLink": self_link +"/compute:beta/SubnetworkList/warning": warning +"/compute:beta/SubnetworkList/warning/code": code +"/compute:beta/SubnetworkList/warning/data": data +"/compute:beta/SubnetworkList/warning/data/datum": datum +"/compute:beta/SubnetworkList/warning/data/datum/key": key +"/compute:beta/SubnetworkList/warning/data/datum/value": value +"/compute:beta/SubnetworkList/warning/message": message "/compute:beta/SubnetworkSecondaryRange": subnetwork_secondary_range "/compute:beta/SubnetworkSecondaryRange/ipCidrRange": ip_cidr_range "/compute:beta/SubnetworkSecondaryRange/rangeName": range_name @@ -20751,6 +21464,13 @@ "/compute:beta/TargetHttpProxyList/kind": kind "/compute:beta/TargetHttpProxyList/nextPageToken": next_page_token "/compute:beta/TargetHttpProxyList/selfLink": self_link +"/compute:beta/TargetHttpProxyList/warning": warning +"/compute:beta/TargetHttpProxyList/warning/code": code +"/compute:beta/TargetHttpProxyList/warning/data": data +"/compute:beta/TargetHttpProxyList/warning/data/datum": datum +"/compute:beta/TargetHttpProxyList/warning/data/datum/key": key +"/compute:beta/TargetHttpProxyList/warning/data/datum/value": value +"/compute:beta/TargetHttpProxyList/warning/message": message "/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest": target_https_proxies_set_ssl_certificates_request "/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates "/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate @@ -20771,6 +21491,13 @@ "/compute:beta/TargetHttpsProxyList/kind": kind "/compute:beta/TargetHttpsProxyList/nextPageToken": next_page_token "/compute:beta/TargetHttpsProxyList/selfLink": self_link +"/compute:beta/TargetHttpsProxyList/warning": warning +"/compute:beta/TargetHttpsProxyList/warning/code": code +"/compute:beta/TargetHttpsProxyList/warning/data": data +"/compute:beta/TargetHttpsProxyList/warning/data/datum": datum +"/compute:beta/TargetHttpsProxyList/warning/data/datum/key": key +"/compute:beta/TargetHttpsProxyList/warning/data/datum/value": value +"/compute:beta/TargetHttpsProxyList/warning/message": message "/compute:beta/TargetInstance": target_instance "/compute:beta/TargetInstance/creationTimestamp": creation_timestamp "/compute:beta/TargetInstance/description": description @@ -20788,6 +21515,13 @@ "/compute:beta/TargetInstanceAggregatedList/kind": kind "/compute:beta/TargetInstanceAggregatedList/nextPageToken": next_page_token "/compute:beta/TargetInstanceAggregatedList/selfLink": self_link +"/compute:beta/TargetInstanceAggregatedList/warning": warning +"/compute:beta/TargetInstanceAggregatedList/warning/code": code +"/compute:beta/TargetInstanceAggregatedList/warning/data": data +"/compute:beta/TargetInstanceAggregatedList/warning/data/datum": datum +"/compute:beta/TargetInstanceAggregatedList/warning/data/datum/key": key +"/compute:beta/TargetInstanceAggregatedList/warning/data/datum/value": value +"/compute:beta/TargetInstanceAggregatedList/warning/message": message "/compute:beta/TargetInstanceList": target_instance_list "/compute:beta/TargetInstanceList/id": id "/compute:beta/TargetInstanceList/items": items @@ -20795,6 +21529,13 @@ "/compute:beta/TargetInstanceList/kind": kind "/compute:beta/TargetInstanceList/nextPageToken": next_page_token "/compute:beta/TargetInstanceList/selfLink": self_link +"/compute:beta/TargetInstanceList/warning": warning +"/compute:beta/TargetInstanceList/warning/code": code +"/compute:beta/TargetInstanceList/warning/data": data +"/compute:beta/TargetInstanceList/warning/data/datum": datum +"/compute:beta/TargetInstanceList/warning/data/datum/key": key +"/compute:beta/TargetInstanceList/warning/data/datum/value": value +"/compute:beta/TargetInstanceList/warning/message": message "/compute:beta/TargetInstancesScopedList": target_instances_scoped_list "/compute:beta/TargetInstancesScopedList/targetInstances": target_instances "/compute:beta/TargetInstancesScopedList/targetInstances/target_instance": target_instance @@ -20827,6 +21568,13 @@ "/compute:beta/TargetPoolAggregatedList/kind": kind "/compute:beta/TargetPoolAggregatedList/nextPageToken": next_page_token "/compute:beta/TargetPoolAggregatedList/selfLink": self_link +"/compute:beta/TargetPoolAggregatedList/warning": warning +"/compute:beta/TargetPoolAggregatedList/warning/code": code +"/compute:beta/TargetPoolAggregatedList/warning/data": data +"/compute:beta/TargetPoolAggregatedList/warning/data/datum": datum +"/compute:beta/TargetPoolAggregatedList/warning/data/datum/key": key +"/compute:beta/TargetPoolAggregatedList/warning/data/datum/value": value +"/compute:beta/TargetPoolAggregatedList/warning/message": message "/compute:beta/TargetPoolInstanceHealth": target_pool_instance_health "/compute:beta/TargetPoolInstanceHealth/healthStatus": health_status "/compute:beta/TargetPoolInstanceHealth/healthStatus/health_status": health_status @@ -20838,6 +21586,13 @@ "/compute:beta/TargetPoolList/kind": kind "/compute:beta/TargetPoolList/nextPageToken": next_page_token "/compute:beta/TargetPoolList/selfLink": self_link +"/compute:beta/TargetPoolList/warning": warning +"/compute:beta/TargetPoolList/warning/code": code +"/compute:beta/TargetPoolList/warning/data": data +"/compute:beta/TargetPoolList/warning/data/datum": datum +"/compute:beta/TargetPoolList/warning/data/datum/key": key +"/compute:beta/TargetPoolList/warning/data/datum/value": value +"/compute:beta/TargetPoolList/warning/message": message "/compute:beta/TargetPoolsAddHealthCheckRequest": add_target_pools_health_check_request "/compute:beta/TargetPoolsAddHealthCheckRequest/healthChecks": health_checks "/compute:beta/TargetPoolsAddHealthCheckRequest/healthChecks/health_check": health_check @@ -20887,6 +21642,13 @@ "/compute:beta/TargetSslProxyList/kind": kind "/compute:beta/TargetSslProxyList/nextPageToken": next_page_token "/compute:beta/TargetSslProxyList/selfLink": self_link +"/compute:beta/TargetSslProxyList/warning": warning +"/compute:beta/TargetSslProxyList/warning/code": code +"/compute:beta/TargetSslProxyList/warning/data": data +"/compute:beta/TargetSslProxyList/warning/data/datum": datum +"/compute:beta/TargetSslProxyList/warning/data/datum/key": key +"/compute:beta/TargetSslProxyList/warning/data/datum/value": value +"/compute:beta/TargetSslProxyList/warning/message": message "/compute:beta/TargetTcpProxiesSetBackendServiceRequest": target_tcp_proxies_set_backend_service_request "/compute:beta/TargetTcpProxiesSetBackendServiceRequest/service": service "/compute:beta/TargetTcpProxiesSetProxyHeaderRequest": target_tcp_proxies_set_proxy_header_request @@ -20907,6 +21669,13 @@ "/compute:beta/TargetTcpProxyList/kind": kind "/compute:beta/TargetTcpProxyList/nextPageToken": next_page_token "/compute:beta/TargetTcpProxyList/selfLink": self_link +"/compute:beta/TargetTcpProxyList/warning": warning +"/compute:beta/TargetTcpProxyList/warning/code": code +"/compute:beta/TargetTcpProxyList/warning/data": data +"/compute:beta/TargetTcpProxyList/warning/data/datum": datum +"/compute:beta/TargetTcpProxyList/warning/data/datum/key": key +"/compute:beta/TargetTcpProxyList/warning/data/datum/value": value +"/compute:beta/TargetTcpProxyList/warning/message": message "/compute:beta/TargetVpnGateway": target_vpn_gateway "/compute:beta/TargetVpnGateway/creationTimestamp": creation_timestamp "/compute:beta/TargetVpnGateway/description": description @@ -20928,6 +21697,13 @@ "/compute:beta/TargetVpnGatewayAggregatedList/kind": kind "/compute:beta/TargetVpnGatewayAggregatedList/nextPageToken": next_page_token "/compute:beta/TargetVpnGatewayAggregatedList/selfLink": self_link +"/compute:beta/TargetVpnGatewayAggregatedList/warning": warning +"/compute:beta/TargetVpnGatewayAggregatedList/warning/code": code +"/compute:beta/TargetVpnGatewayAggregatedList/warning/data": data +"/compute:beta/TargetVpnGatewayAggregatedList/warning/data/datum": datum +"/compute:beta/TargetVpnGatewayAggregatedList/warning/data/datum/key": key +"/compute:beta/TargetVpnGatewayAggregatedList/warning/data/datum/value": value +"/compute:beta/TargetVpnGatewayAggregatedList/warning/message": message "/compute:beta/TargetVpnGatewayList": target_vpn_gateway_list "/compute:beta/TargetVpnGatewayList/id": id "/compute:beta/TargetVpnGatewayList/items": items @@ -20935,6 +21711,13 @@ "/compute:beta/TargetVpnGatewayList/kind": kind "/compute:beta/TargetVpnGatewayList/nextPageToken": next_page_token "/compute:beta/TargetVpnGatewayList/selfLink": self_link +"/compute:beta/TargetVpnGatewayList/warning": warning +"/compute:beta/TargetVpnGatewayList/warning/code": code +"/compute:beta/TargetVpnGatewayList/warning/data": data +"/compute:beta/TargetVpnGatewayList/warning/data/datum": datum +"/compute:beta/TargetVpnGatewayList/warning/data/datum/key": key +"/compute:beta/TargetVpnGatewayList/warning/data/datum/value": value +"/compute:beta/TargetVpnGatewayList/warning/message": message "/compute:beta/TargetVpnGatewaysScopedList": target_vpn_gateways_scoped_list "/compute:beta/TargetVpnGatewaysScopedList/targetVpnGateways": target_vpn_gateways "/compute:beta/TargetVpnGatewaysScopedList/targetVpnGateways/target_vpn_gateway": target_vpn_gateway @@ -20983,6 +21766,13 @@ "/compute:beta/UrlMapList/kind": kind "/compute:beta/UrlMapList/nextPageToken": next_page_token "/compute:beta/UrlMapList/selfLink": self_link +"/compute:beta/UrlMapList/warning": warning +"/compute:beta/UrlMapList/warning/code": code +"/compute:beta/UrlMapList/warning/data": data +"/compute:beta/UrlMapList/warning/data/datum": datum +"/compute:beta/UrlMapList/warning/data/datum/key": key +"/compute:beta/UrlMapList/warning/data/datum/value": value +"/compute:beta/UrlMapList/warning/message": message "/compute:beta/UrlMapReference": url_map_reference "/compute:beta/UrlMapReference/urlMap": url_map "/compute:beta/UrlMapTest": url_map_test @@ -21031,6 +21821,13 @@ "/compute:beta/VpnTunnelAggregatedList/kind": kind "/compute:beta/VpnTunnelAggregatedList/nextPageToken": next_page_token "/compute:beta/VpnTunnelAggregatedList/selfLink": self_link +"/compute:beta/VpnTunnelAggregatedList/warning": warning +"/compute:beta/VpnTunnelAggregatedList/warning/code": code +"/compute:beta/VpnTunnelAggregatedList/warning/data": data +"/compute:beta/VpnTunnelAggregatedList/warning/data/datum": datum +"/compute:beta/VpnTunnelAggregatedList/warning/data/datum/key": key +"/compute:beta/VpnTunnelAggregatedList/warning/data/datum/value": value +"/compute:beta/VpnTunnelAggregatedList/warning/message": message "/compute:beta/VpnTunnelList": vpn_tunnel_list "/compute:beta/VpnTunnelList/id": id "/compute:beta/VpnTunnelList/items": items @@ -21038,6 +21835,13 @@ "/compute:beta/VpnTunnelList/kind": kind "/compute:beta/VpnTunnelList/nextPageToken": next_page_token "/compute:beta/VpnTunnelList/selfLink": self_link +"/compute:beta/VpnTunnelList/warning": warning +"/compute:beta/VpnTunnelList/warning/code": code +"/compute:beta/VpnTunnelList/warning/data": data +"/compute:beta/VpnTunnelList/warning/data/datum": datum +"/compute:beta/VpnTunnelList/warning/data/datum/key": key +"/compute:beta/VpnTunnelList/warning/data/datum/value": value +"/compute:beta/VpnTunnelList/warning/message": message "/compute:beta/VpnTunnelsScopedList": vpn_tunnels_scoped_list "/compute:beta/VpnTunnelsScopedList/vpnTunnels": vpn_tunnels "/compute:beta/VpnTunnelsScopedList/vpnTunnels/vpn_tunnel": vpn_tunnel @@ -21055,6 +21859,13 @@ "/compute:beta/XpnHostList/kind": kind "/compute:beta/XpnHostList/nextPageToken": next_page_token "/compute:beta/XpnHostList/selfLink": self_link +"/compute:beta/XpnHostList/warning": warning +"/compute:beta/XpnHostList/warning/code": code +"/compute:beta/XpnHostList/warning/data": data +"/compute:beta/XpnHostList/warning/data/datum": datum +"/compute:beta/XpnHostList/warning/data/datum/key": key +"/compute:beta/XpnHostList/warning/data/datum/value": value +"/compute:beta/XpnHostList/warning/message": message "/compute:beta/XpnResourceId": xpn_resource_id "/compute:beta/XpnResourceId/id": id "/compute:beta/XpnResourceId/type": type @@ -21077,6 +21888,13 @@ "/compute:beta/ZoneList/kind": kind "/compute:beta/ZoneList/nextPageToken": next_page_token "/compute:beta/ZoneList/selfLink": self_link +"/compute:beta/ZoneList/warning": warning +"/compute:beta/ZoneList/warning/code": code +"/compute:beta/ZoneList/warning/data": data +"/compute:beta/ZoneList/warning/data/datum": datum +"/compute:beta/ZoneList/warning/data/datum/key": key +"/compute:beta/ZoneList/warning/data/datum/value": value +"/compute:beta/ZoneList/warning/message": message "/compute:beta/ZoneSetLabelsRequest": zone_set_labels_request "/compute:beta/ZoneSetLabelsRequest/labelFingerprint": label_fingerprint "/compute:beta/ZoneSetLabelsRequest/labels": labels @@ -36853,6 +37671,9 @@ "/dlp:v2beta1/GoogleLongrunningOperation/name": name "/dlp:v2beta1/GoogleLongrunningOperation/response": response "/dlp:v2beta1/GoogleLongrunningOperation/response/response": response +"/dlp:v2beta1/GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest": google_privacy_dlp_v2beta1_analyze_data_source_risk_request +"/dlp:v2beta1/GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest/privacyMetric": privacy_metric +"/dlp:v2beta1/GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest/sourceTable": source_table "/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryOptions": google_privacy_dlp_v2beta1_big_query_options "/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryOptions/identifyingFields": identifying_fields "/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryOptions/identifyingFields/identifying_field": identifying_field @@ -36861,9 +37682,36 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryTable/datasetId": dataset_id "/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryTable/projectId": project_id "/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryTable/tableId": table_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Bucket": google_privacy_dlp_v2beta1_bucket +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Bucket/max": max +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Bucket/min": min +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Bucket/replacementValue": replacement_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BucketingConfig": google_privacy_dlp_v2beta1_bucketing_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BucketingConfig/buckets": buckets +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BucketingConfig/buckets/bucket": bucket +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsConfig": google_privacy_dlp_v2beta1_categorical_stats_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsConfig/field": field +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket": google_privacy_dlp_v2beta1_categorical_stats_histogram_bucket +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket/valueFrequencyLowerBound": value_frequency_lower_bound +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket/valueFrequencyUpperBound": value_frequency_upper_bound +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsResult": google_privacy_dlp_v2beta1_categorical_stats_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsResult/valueFrequencyHistogramBuckets": value_frequency_histogram_buckets +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoricalStatsResult/valueFrequencyHistogramBuckets/value_frequency_histogram_bucket": value_frequency_histogram_bucket "/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoryDescription": google_privacy_dlp_v2beta1_category_description "/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoryDescription/displayName": display_name "/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoryDescription/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CharacterMaskConfig": google_privacy_dlp_v2beta1_character_mask_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CharacterMaskConfig/charactersToIgnore": characters_to_ignore +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CharacterMaskConfig/charactersToIgnore/characters_to_ignore": characters_to_ignore +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CharacterMaskConfig/maskingCharacter": masking_character +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CharacterMaskConfig/numberToMask": number_to_mask +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CharacterMaskConfig/reverseOrder": reverse_order +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CharsToIgnore": google_privacy_dlp_v2beta1_chars_to_ignore +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CharsToIgnore/charactersToSkip": characters_to_skip +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CharsToIgnore/commonCharactersToIgnore": common_characters_to_ignore "/dlp:v2beta1/GooglePrivacyDlpV2beta1CloudStorageKey": google_privacy_dlp_v2beta1_cloud_storage_key "/dlp:v2beta1/GooglePrivacyDlpV2beta1CloudStorageKey/filePath": file_path "/dlp:v2beta1/GooglePrivacyDlpV2beta1CloudStorageKey/startOffset": start_offset @@ -36875,6 +37723,13 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1Color/blue": blue "/dlp:v2beta1/GooglePrivacyDlpV2beta1Color/green": green "/dlp:v2beta1/GooglePrivacyDlpV2beta1Color/red": red +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Condition": google_privacy_dlp_v2beta1_condition +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Condition/field": field +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Condition/operator": operator +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Condition/value": value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Conditions": google_privacy_dlp_v2beta1_conditions +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Conditions/conditions": conditions +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Conditions/conditions/condition": condition "/dlp:v2beta1/GooglePrivacyDlpV2beta1ContentItem": google_privacy_dlp_v2beta1_content_item "/dlp:v2beta1/GooglePrivacyDlpV2beta1ContentItem/data": data "/dlp:v2beta1/GooglePrivacyDlpV2beta1ContentItem/table": table @@ -36885,6 +37740,18 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1CreateInspectOperationRequest/operationConfig": operation_config "/dlp:v2beta1/GooglePrivacyDlpV2beta1CreateInspectOperationRequest/outputConfig": output_config "/dlp:v2beta1/GooglePrivacyDlpV2beta1CreateInspectOperationRequest/storageConfig": storage_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoHashConfig": google_privacy_dlp_v2beta1_crypto_hash_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoHashConfig/cryptoKey": crypto_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoKey": google_privacy_dlp_v2beta1_crypto_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoKey/kmsWrapped": kms_wrapped +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoKey/transient": transient +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoKey/unwrapped": unwrapped +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig": google_privacy_dlp_v2beta1_crypto_replace_ffx_fpe_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig/commonAlphabet": common_alphabet +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig/context": context +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig/cryptoKey": crypto_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig/customAlphabet": custom_alphabet +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig/radix": radix "/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreKey": google_privacy_dlp_v2beta1_datastore_key "/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreKey/entityKey": entity_key "/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreOptions": google_privacy_dlp_v2beta1_datastore_options @@ -36892,8 +37759,36 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreOptions/partitionId": partition_id "/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreOptions/projection": projection "/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreOptions/projection/projection": projection +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentificationSummary": google_privacy_dlp_v2beta1_deidentification_summary +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentificationSummary/transformationSummaries": transformation_summaries +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentificationSummary/transformationSummaries/transformation_summary": transformation_summary +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentificationSummary/transformedBytes": transformed_bytes +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyConfig": google_privacy_dlp_v2beta1_deidentify_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyConfig/infoTypeTransformations": info_type_transformations +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyConfig/recordTransformations": record_transformations +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentRequest": google_privacy_dlp_v2beta1_deidentify_content_request +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentRequest/deidentifyConfig": deidentify_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentRequest/inspectConfig": inspect_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentRequest/items": items +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentRequest/items/item": item +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentResponse": google_privacy_dlp_v2beta1_deidentify_content_response +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentResponse/items": items +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentResponse/items/item": item +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentResponse/summaries": summaries +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DeidentifyContentResponse/summaries/summary": summary +"/dlp:v2beta1/GooglePrivacyDlpV2beta1EntityId": google_privacy_dlp_v2beta1_entity_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1EntityId/field": field +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Expressions": google_privacy_dlp_v2beta1_expressions +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Expressions/conditions": conditions +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Expressions/logicalOperator": logical_operator "/dlp:v2beta1/GooglePrivacyDlpV2beta1FieldId": google_privacy_dlp_v2beta1_field_id "/dlp:v2beta1/GooglePrivacyDlpV2beta1FieldId/columnName": column_name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FieldTransformation": google_privacy_dlp_v2beta1_field_transformation +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FieldTransformation/condition": condition +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FieldTransformation/fields": fields +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FieldTransformation/fields/field": field +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FieldTransformation/infoTypeTransformations": info_type_transformations +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FieldTransformation/primitiveTransformation": primitive_transformation "/dlp:v2beta1/GooglePrivacyDlpV2beta1FileSet": google_privacy_dlp_v2beta1_file_set "/dlp:v2beta1/GooglePrivacyDlpV2beta1FileSet/url": url "/dlp:v2beta1/GooglePrivacyDlpV2beta1Finding": google_privacy_dlp_v2beta1_finding @@ -36902,6 +37797,10 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1Finding/likelihood": likelihood "/dlp:v2beta1/GooglePrivacyDlpV2beta1Finding/location": location "/dlp:v2beta1/GooglePrivacyDlpV2beta1Finding/quote": quote +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FixedSizeBucketingConfig": google_privacy_dlp_v2beta1_fixed_size_bucketing_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FixedSizeBucketingConfig/bucketSize": bucket_size +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FixedSizeBucketingConfig/lowerBound": lower_bound +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FixedSizeBucketingConfig/upperBound": upper_bound "/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageLocation": google_privacy_dlp_v2beta1_image_location "/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageLocation/height": height "/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageLocation/left": left @@ -36924,6 +37823,13 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeStatistics": google_privacy_dlp_v2beta1_info_type_statistics "/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeStatistics/count": count "/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeStatistics/infoType": info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeTransformation": google_privacy_dlp_v2beta1_info_type_transformation +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeTransformation/infoTypes": info_types +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeTransformation/infoTypes/info_type": info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeTransformation/primitiveTransformation": primitive_transformation +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeTransformations": google_privacy_dlp_v2beta1_info_type_transformations +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeTransformations/transformations": transformations +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeTransformations/transformations/transformation": transformation "/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig": google_privacy_dlp_v2beta1_inspect_config "/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/excludeTypes": exclude_types "/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/includeQuote": include_quote @@ -36955,12 +37861,53 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectResult/findings": findings "/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectResult/findings/finding": finding "/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectResult/findingsTruncated": findings_truncated +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityConfig": google_privacy_dlp_v2beta1_k_anonymity_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityConfig/entityId": entity_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityConfig/quasiIds": quasi_ids +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityConfig/quasiIds/quasi_id": quasi_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass": google_privacy_dlp_v2beta1_k_anonymity_equivalence_class +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass/equivalenceClassSize": equivalence_class_size +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass/quasiIdsValues": quasi_ids_values +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass/quasiIdsValues/quasi_ids_value": quasi_ids_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket": google_privacy_dlp_v2beta1_k_anonymity_histogram_bucket +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket/equivalenceClassSizeLowerBound": equivalence_class_size_lower_bound +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket/equivalenceClassSizeUpperBound": equivalence_class_size_upper_bound +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityResult": google_privacy_dlp_v2beta1_k_anonymity_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityResult/equivalenceClassHistogramBuckets": equivalence_class_histogram_buckets +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KAnonymityResult/equivalenceClassHistogramBuckets/equivalence_class_histogram_bucket": equivalence_class_histogram_bucket "/dlp:v2beta1/GooglePrivacyDlpV2beta1Key": google_privacy_dlp_v2beta1_key "/dlp:v2beta1/GooglePrivacyDlpV2beta1Key/partitionId": partition_id "/dlp:v2beta1/GooglePrivacyDlpV2beta1Key/path": path "/dlp:v2beta1/GooglePrivacyDlpV2beta1Key/path/path": path "/dlp:v2beta1/GooglePrivacyDlpV2beta1KindExpression": google_privacy_dlp_v2beta1_kind_expression "/dlp:v2beta1/GooglePrivacyDlpV2beta1KindExpression/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KmsWrappedCryptoKey": google_privacy_dlp_v2beta1_kms_wrapped_crypto_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KmsWrappedCryptoKey/cryptoKeyName": crypto_key_name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KmsWrappedCryptoKey/wrappedKey": wrapped_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityConfig": google_privacy_dlp_v2beta1_l_diversity_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityConfig/quasiIds": quasi_ids +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityConfig/quasiIds/quasi_id": quasi_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityConfig/sensitiveAttribute": sensitive_attribute +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass": google_privacy_dlp_v2beta1_l_diversity_equivalence_class +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/equivalenceClassSize": equivalence_class_size +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/numDistinctSensitiveValues": num_distinct_sensitive_values +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/quasiIdsValues": quasi_ids_values +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/quasiIdsValues/quasi_ids_value": quasi_ids_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/topSensitiveValues": top_sensitive_values +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/topSensitiveValues/top_sensitive_value": top_sensitive_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityHistogramBucket": google_privacy_dlp_v2beta1_l_diversity_histogram_bucket +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityHistogramBucket/sensitiveValueFrequencyLowerBound": sensitive_value_frequency_lower_bound +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityHistogramBucket/sensitiveValueFrequencyUpperBound": sensitive_value_frequency_upper_bound +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityResult": google_privacy_dlp_v2beta1_l_diversity_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityResult/sensitiveValueFrequencyHistogramBuckets": sensitive_value_frequency_histogram_buckets +? "/dlp:v2beta1/GooglePrivacyDlpV2beta1LDiversityResult/sensitiveValueFrequencyHistogramBuckets/sensitive_value_frequency_histogram_bucket" +: sensitive_value_frequency_histogram_bucket "/dlp:v2beta1/GooglePrivacyDlpV2beta1ListInfoTypesResponse": google_privacy_dlp_v2beta1_list_info_types_response "/dlp:v2beta1/GooglePrivacyDlpV2beta1ListInfoTypesResponse/infoTypes": info_types "/dlp:v2beta1/GooglePrivacyDlpV2beta1ListInfoTypesResponse/infoTypes/info_type": info_type @@ -36978,6 +37925,13 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1Location/imageBoxes/image_box": image_box "/dlp:v2beta1/GooglePrivacyDlpV2beta1Location/recordKey": record_key "/dlp:v2beta1/GooglePrivacyDlpV2beta1Location/tableLocation": table_location +"/dlp:v2beta1/GooglePrivacyDlpV2beta1NumericalStatsConfig": google_privacy_dlp_v2beta1_numerical_stats_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1NumericalStatsConfig/field": field +"/dlp:v2beta1/GooglePrivacyDlpV2beta1NumericalStatsResult": google_privacy_dlp_v2beta1_numerical_stats_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1NumericalStatsResult/maxValue": max_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1NumericalStatsResult/minValue": min_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1NumericalStatsResult/quantileValues": quantile_values +"/dlp:v2beta1/GooglePrivacyDlpV2beta1NumericalStatsResult/quantileValues/quantile_value": quantile_value "/dlp:v2beta1/GooglePrivacyDlpV2beta1OperationConfig": google_privacy_dlp_v2beta1_operation_config "/dlp:v2beta1/GooglePrivacyDlpV2beta1OperationConfig/maxItemFindings": max_item_findings "/dlp:v2beta1/GooglePrivacyDlpV2beta1OutputStorageConfig": google_privacy_dlp_v2beta1_output_storage_config @@ -36990,6 +37944,21 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1PathElement/id": id "/dlp:v2beta1/GooglePrivacyDlpV2beta1PathElement/kind": kind "/dlp:v2beta1/GooglePrivacyDlpV2beta1PathElement/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrimitiveTransformation": google_privacy_dlp_v2beta1_primitive_transformation +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrimitiveTransformation/bucketingConfig": bucketing_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrimitiveTransformation/characterMaskConfig": character_mask_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrimitiveTransformation/cryptoHashConfig": crypto_hash_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrimitiveTransformation/cryptoReplaceFfxFpeConfig": crypto_replace_ffx_fpe_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrimitiveTransformation/fixedSizeBucketingConfig": fixed_size_bucketing_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrimitiveTransformation/redactConfig": redact_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrimitiveTransformation/replaceConfig": replace_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrimitiveTransformation/replaceWithInfoTypeConfig": replace_with_info_type_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrimitiveTransformation/timePartConfig": time_part_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrivacyMetric": google_privacy_dlp_v2beta1_privacy_metric +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrivacyMetric/categoricalStatsConfig": categorical_stats_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrivacyMetric/kAnonymityConfig": k_anonymity_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrivacyMetric/lDiversityConfig": l_diversity_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PrivacyMetric/numericalStatsConfig": numerical_stats_config "/dlp:v2beta1/GooglePrivacyDlpV2beta1Projection": google_privacy_dlp_v2beta1_projection "/dlp:v2beta1/GooglePrivacyDlpV2beta1Projection/property": property "/dlp:v2beta1/GooglePrivacyDlpV2beta1PropertyReference": google_privacy_dlp_v2beta1_property_reference @@ -36997,9 +37966,19 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1Range": google_privacy_dlp_v2beta1_range "/dlp:v2beta1/GooglePrivacyDlpV2beta1Range/end": end "/dlp:v2beta1/GooglePrivacyDlpV2beta1Range/start": start +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordCondition": google_privacy_dlp_v2beta1_record_condition +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordCondition/expressions": expressions "/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordKey": google_privacy_dlp_v2beta1_record_key "/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordKey/cloudStorageKey": cloud_storage_key "/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordKey/datastoreKey": datastore_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordSuppression": google_privacy_dlp_v2beta1_record_suppression +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordSuppression/condition": condition +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordTransformations": google_privacy_dlp_v2beta1_record_transformations +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordTransformations/fieldTransformations": field_transformations +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordTransformations/fieldTransformations/field_transformation": field_transformation +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordTransformations/recordSuppressions": record_suppressions +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordTransformations/recordSuppressions/record_suppression": record_suppression +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactConfig": google_privacy_dlp_v2beta1_redact_config "/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest": google_privacy_dlp_v2beta1_redact_content_request "/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest/imageRedactionConfigs": image_redaction_configs "/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest/imageRedactionConfigs/image_redaction_config": image_redaction_config @@ -37014,6 +37993,18 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1ReplaceConfig": google_privacy_dlp_v2beta1_replace_config "/dlp:v2beta1/GooglePrivacyDlpV2beta1ReplaceConfig/infoType": info_type "/dlp:v2beta1/GooglePrivacyDlpV2beta1ReplaceConfig/replaceWith": replace_with +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ReplaceValueConfig": google_privacy_dlp_v2beta1_replace_value_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ReplaceValueConfig/newValue": new_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ReplaceWithInfoTypeConfig": google_privacy_dlp_v2beta1_replace_with_info_type_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata": google_privacy_dlp_v2beta1_risk_analysis_operation_metadata +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata/createTime": create_time +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata/requestedPrivacyMetric": requested_privacy_metric +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata/requestedSourceTable": requested_source_table +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult": google_privacy_dlp_v2beta1_risk_analysis_operation_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult/categoricalStatsResult": categorical_stats_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult/kAnonymityResult": k_anonymity_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult/lDiversityResult": l_diversity_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult/numericalStatsResult": numerical_stats_result "/dlp:v2beta1/GooglePrivacyDlpV2beta1Row": google_privacy_dlp_v2beta1_row "/dlp:v2beta1/GooglePrivacyDlpV2beta1Row/values": values "/dlp:v2beta1/GooglePrivacyDlpV2beta1Row/values/value": value @@ -37021,6 +38012,10 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1StorageConfig/bigQueryOptions": big_query_options "/dlp:v2beta1/GooglePrivacyDlpV2beta1StorageConfig/cloudStorageOptions": cloud_storage_options "/dlp:v2beta1/GooglePrivacyDlpV2beta1StorageConfig/datastoreOptions": datastore_options +"/dlp:v2beta1/GooglePrivacyDlpV2beta1SummaryResult": google_privacy_dlp_v2beta1_summary_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1SummaryResult/code": code +"/dlp:v2beta1/GooglePrivacyDlpV2beta1SummaryResult/count": count +"/dlp:v2beta1/GooglePrivacyDlpV2beta1SummaryResult/details": details "/dlp:v2beta1/GooglePrivacyDlpV2beta1Table": google_privacy_dlp_v2beta1_table "/dlp:v2beta1/GooglePrivacyDlpV2beta1Table/headers": headers "/dlp:v2beta1/GooglePrivacyDlpV2beta1Table/headers/header": header @@ -37028,6 +38023,21 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1Table/rows/row": row "/dlp:v2beta1/GooglePrivacyDlpV2beta1TableLocation": google_privacy_dlp_v2beta1_table_location "/dlp:v2beta1/GooglePrivacyDlpV2beta1TableLocation/rowIndex": row_index +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TimePartConfig": google_privacy_dlp_v2beta1_time_part_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TimePartConfig/partToExtract": part_to_extract +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary": google_privacy_dlp_v2beta1_transformation_summary +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/field": field +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/fieldTransformations": field_transformations +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/fieldTransformations/field_transformation": field_transformation +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/infoType": info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/recordSuppress": record_suppress +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/results": results +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/results/result": result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransformationSummary/transformation": transformation +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransientCryptoKey": google_privacy_dlp_v2beta1_transient_crypto_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TransientCryptoKey/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1UnwrappedCryptoKey": google_privacy_dlp_v2beta1_unwrapped_crypto_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1UnwrappedCryptoKey/key": key "/dlp:v2beta1/GooglePrivacyDlpV2beta1Value": google_privacy_dlp_v2beta1_value "/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/booleanValue": boolean_value "/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/dateValue": date_value @@ -37036,6 +38046,9 @@ "/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/stringValue": string_value "/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/timeValue": time_value "/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/timestampValue": timestamp_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ValueFrequency": google_privacy_dlp_v2beta1_value_frequency +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ValueFrequency/count": count +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ValueFrequency/value": value "/dlp:v2beta1/GoogleProtobufEmpty": google_protobuf_empty "/dlp:v2beta1/GoogleRpcStatus": google_rpc_status "/dlp:v2beta1/GoogleRpcStatus/code": code @@ -37052,8 +38065,10 @@ "/dlp:v2beta1/GoogleTypeTimeOfDay/minutes": minutes "/dlp:v2beta1/GoogleTypeTimeOfDay/nanos": nanos "/dlp:v2beta1/GoogleTypeTimeOfDay/seconds": seconds +"/dlp:v2beta1/dlp.content.deidentify": deidentify_content "/dlp:v2beta1/dlp.content.inspect": inspect_content "/dlp:v2beta1/dlp.content.redact": redact_content +"/dlp:v2beta1/dlp.dataSource.analyze": analyze_data_source "/dlp:v2beta1/dlp.inspect.operations.cancel": cancel_inspect_operation "/dlp:v2beta1/dlp.inspect.operations.cancel/name": name "/dlp:v2beta1/dlp.inspect.operations.create": create_inspect_operation @@ -57908,10 +58923,12 @@ "/youtube:v3/ContentRating/mdaRating": mda_rating "/youtube:v3/ContentRating/medietilsynetRating": medietilsynet_rating "/youtube:v3/ContentRating/mekuRating": meku_rating +"/youtube:v3/ContentRating/menaMpaaRating": mena_mpaa_rating "/youtube:v3/ContentRating/mibacRating": mibac_rating "/youtube:v3/ContentRating/mocRating": moc_rating "/youtube:v3/ContentRating/moctwRating": moctw_rating "/youtube:v3/ContentRating/mpaaRating": mpaa_rating +"/youtube:v3/ContentRating/mpaatRating": mpaat_rating "/youtube:v3/ContentRating/mtrcbRating": mtrcb_rating "/youtube:v3/ContentRating/nbcRating": nbc_rating "/youtube:v3/ContentRating/nbcplRating": nbcpl_rating @@ -58072,6 +59089,7 @@ "/youtube:v3/LiveBroadcastContentDetails/enableDvr": enable_dvr "/youtube:v3/LiveBroadcastContentDetails/enableEmbed": enable_embed "/youtube:v3/LiveBroadcastContentDetails/enableLowLatency": enable_low_latency +"/youtube:v3/LiveBroadcastContentDetails/mesh": mesh "/youtube:v3/LiveBroadcastContentDetails/monitorStream": monitor_stream "/youtube:v3/LiveBroadcastContentDetails/projection": projection "/youtube:v3/LiveBroadcastContentDetails/recordFromStart": record_from_start @@ -58767,6 +59785,7 @@ "/youtube:v3/youtube.captions.update/part": part "/youtube:v3/youtube.captions.update/sync": sync "/youtube:v3/youtube.channelBanners.insert": insert_channel_banner +"/youtube:v3/youtube.channelBanners.insert/channelId": channel_id "/youtube:v3/youtube.channelBanners.insert/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtube:v3/youtube.channelSections.delete": delete_channel_section "/youtube:v3/youtube.channelSections.delete/id": id diff --git a/generated/google/apis/androiddeviceprovisioning_v1.rb b/generated/google/apis/androiddeviceprovisioning_v1.rb index fc6b0c7c7..81c11713c 100644 --- a/generated/google/apis/androiddeviceprovisioning_v1.rb +++ b/generated/google/apis/androiddeviceprovisioning_v1.rb @@ -20,13 +20,13 @@ module Google module Apis # Android Device Provisioning Partner API # - # Automates reseller integration into Zero Touch Provisioning by assigning - # devices to customers and creating device reports. + # Automates reseller integration into zero-touch enrollment by assigning devices + # to customers and creating device reports. # # @see https://developers.google.com/zero-touch/ module AndroiddeviceprovisioningV1 VERSION = 'V1' - REVISION = '20170903' + REVISION = '20170909' end end end diff --git a/generated/google/apis/androiddeviceprovisioning_v1/service.rb b/generated/google/apis/androiddeviceprovisioning_v1/service.rb index a82852105..82b91f709 100644 --- a/generated/google/apis/androiddeviceprovisioning_v1/service.rb +++ b/generated/google/apis/androiddeviceprovisioning_v1/service.rb @@ -22,8 +22,8 @@ module Google module AndroiddeviceprovisioningV1 # Android Device Provisioning Partner API # - # Automates reseller integration into Zero Touch Provisioning by assigning - # devices to customers and creating device reports. + # Automates reseller integration into zero-touch enrollment by assigning devices + # to customers and creating device reports. # # @example # require 'google/apis/androiddeviceprovisioning_v1' @@ -80,7 +80,7 @@ module Google execute_or_queue_command(command, &block) end - # A customer for Zero Touch Provisioning will be created. + # A customer for zero-touch enrollment will be created. # After a Customer is created, their admins and owners will be able to manage # devices on partner.android.com/zerotouch or via their API. # @param [String] parent diff --git a/generated/google/apis/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb index 4b225df08..77c6f7945 100644 --- a/generated/google/apis/androidpublisher_v2.rb +++ b/generated/google/apis/androidpublisher_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV2 VERSION = 'V2' - REVISION = '20170815' + REVISION = '20170913' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v2/classes.rb b/generated/google/apis/androidpublisher_v2/classes.rb index 8b4a18484..2fcca7fc0 100644 --- a/generated/google/apis/androidpublisher_v2/classes.rb +++ b/generated/google/apis/androidpublisher_v2/classes.rb @@ -1544,6 +1544,7 @@ module Google # - User cancelled the subscription # - Subscription was cancelled by the system, for example because of a billing # problem + # - Subscription was replaced with a new subscription # Corresponds to the JSON property `cancelReason` # @return [Fixnum] attr_accessor :cancel_reason diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb index 6cf6ec757..41a8181bc 100644 --- a/generated/google/apis/bigquerydatatransfer_v1.rb +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -18,7 +18,7 @@ require 'google/apis/bigquerydatatransfer_v1/representations.rb' module Google module Apis - # BigQuery Data Transfer Service API + # BigQuery Data Transfer API # # Transfers data from partner SaaS applications to Google BigQuery on a # scheduled, managed basis. @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigquerydatatransferV1 VERSION = 'V1' - REVISION = '20170904' + REVISION = '20170912' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb index 35dda81a3..73d25ffd9 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/classes.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -337,39 +337,6 @@ module Google end end - # A request to determine whether data transfer is enabled for the project. - class IsEnabledRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # A response to indicate whether data transfer is enabled for the project. - class IsEnabledResponse - include Google::Apis::Core::Hashable - - # Indicates whether the project is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @enabled = args[:enabled] if args.key?(:enabled) - end - end - # Returns list of supported data sources and their metadata. class ListDataSourcesResponse include Google::Apis::Core::Hashable @@ -383,7 +350,7 @@ module Google # this token can be used as the # `ListDataSourcesRequest.page_token` # to request the next page of list results. - # @OutputOnly + # Output only. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -559,14 +526,14 @@ module Google include Google::Apis::Core::Hashable # End time of the range of transfer runs. - # Corresponds to the JSON property `rangeEndTime` + # Corresponds to the JSON property `endTime` # @return [String] - attr_accessor :range_end_time + attr_accessor :end_time # Start time of the range of transfer runs. - # Corresponds to the JSON property `rangeStartTime` + # Corresponds to the JSON property `startTime` # @return [String] - attr_accessor :range_start_time + attr_accessor :start_time def initialize(**args) update!(**args) @@ -574,8 +541,8 @@ module Google # Update properties of this object def update!(**args) - @range_end_time = args[:range_end_time] if args.key?(:range_end_time) - @range_start_time = args[:range_start_time] if args.key?(:range_start_time) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) end end @@ -583,10 +550,10 @@ module Google class ScheduleTransferRunsResponse include Google::Apis::Core::Hashable - # The transfer runs that were created. - # Corresponds to the JSON property `createdRuns` + # The transfer runs that were scheduled. + # Corresponds to the JSON property `runs` # @return [Array] - attr_accessor :created_runs + attr_accessor :runs def initialize(**args) update!(**args) @@ -594,27 +561,7 @@ module Google # Update properties of this object def update!(**args) - @created_runs = args[:created_runs] if args.key?(:created_runs) - end - end - - # A request to set whether data transfer is enabled or disabled for a project. - class SetEnabledRequest - include Google::Apis::Core::Hashable - - # Whether data transfer should be enabled or disabled for the project. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @enabled = args[:enabled] if args.key?(:enabled) + @runs = args[:runs] if args.key?(:runs) end end @@ -666,11 +613,12 @@ module Google # @return [String] attr_accessor :display_name - # The resource name of the transfer run. - # Transfer run names have the form + # The resource name of the transfer config. + # Transfer config names have the form # `projects/`project_id`/transferConfigs/`config_id``. # Where `config_id` is usually a uuid, even though it is not - # guaranteed or required. The name is ignored when creating a transfer run. + # guaranteed or required. The name is ignored when creating a transfer + # config. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -715,7 +663,7 @@ module Google # @return [String] attr_accessor :update_time - # GaiaID of the user on whose behalf transfer is done. Applicable only + # Unique ID of the user on whose behalf transfer is done. Applicable only # to data sources that do not support service accounts. When set to 0, # the data source service account credentials are used. # Output only. @@ -859,7 +807,9 @@ module Google # @return [String] attr_accessor :update_time - # The user id for this transfer run. + # Unique ID of the user on whose behalf transfer is done. Applicable only + # to data sources that do not support service accounts. When set to 0, + # the data source service account credentials are used. # Output only. # Corresponds to the JSON property `userId` # @return [Fixnum] diff --git a/generated/google/apis/bigquerydatatransfer_v1/representations.rb b/generated/google/apis/bigquerydatatransfer_v1/representations.rb index fdfb09d5d..b9229aefa 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/representations.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/representations.rb @@ -52,18 +52,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class IsEnabledRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class IsEnabledResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListDataSourcesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -112,12 +100,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SetEnabledRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class TransferConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -202,19 +184,6 @@ module Google end end - class IsEnabledRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class IsEnabledResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :enabled, as: 'enabled' - end - end - class ListDataSourcesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -273,26 +242,19 @@ module Google class ScheduleTransferRunsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :range_end_time, as: 'rangeEndTime' - property :range_start_time, as: 'rangeStartTime' + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' end end class ScheduleTransferRunsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :created_runs, as: 'createdRuns', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation + collection :runs, as: 'runs', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation end end - class SetEnabledRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :enabled, as: 'enabled' - end - end - class TransferConfig # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/bigquerydatatransfer_v1/service.rb b/generated/google/apis/bigquerydatatransfer_v1/service.rb index 71fa35811..e628b1810 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/service.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module BigquerydatatransferV1 - # BigQuery Data Transfer Service API + # BigQuery Data Transfer API # # Transfers data from partner SaaS applications to Google BigQuery on a # scheduled, managed basis. @@ -48,79 +48,12 @@ module Google @batch_path = 'batch' end - # Returns true if data transfer is enabled for a project. - # @param [String] name - # The name of the project resource in the form: - # `projects/`project_id`` - # @param [Google::Apis::BigquerydatatransferV1::IsEnabledRequest] is_enabled_request_object - # @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::BigquerydatatransferV1::IsEnabledResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::BigquerydatatransferV1::IsEnabledResponse] - # - # @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 is_project_enabled(name, is_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:isEnabled', options) - command.request_representation = Google::Apis::BigquerydatatransferV1::IsEnabledRequest::Representation - command.request_object = is_enabled_request_object - command.response_representation = Google::Apis::BigquerydatatransferV1::IsEnabledResponse::Representation - command.response_class = Google::Apis::BigquerydatatransferV1::IsEnabledResponse - 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 - - # Enables or disables data transfer for a project. This - # method requires the additional scope of - # 'https://www.googleapis.com/auth/cloudplatformprojects' - # to manage the cloud project permissions. - # @param [String] name - # The name of the project resource in the form: - # `projects/`project_id`` - # @param [Google::Apis::BigquerydatatransferV1::SetEnabledRequest] set_enabled_request_object - # @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::BigquerydatatransferV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::BigquerydatatransferV1::Empty] - # - # @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_project_enabled(name, set_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:setEnabled', options) - command.request_representation = Google::Apis::BigquerydatatransferV1::SetEnabledRequest::Representation - command.request_object = set_enabled_request_object - command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation - command.response_class = Google::Apis::BigquerydatatransferV1::Empty - 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 - # Returns true if valid credentials exist for the given data source and # requesting user. + # Some data sources doesn't support service account, so we need to talk to + # them on behalf of the end user. This API just checks whether we have OAuth + # token for the particular user, which is a pre-requisite before user can + # create a transfer config. # @param [String] name # The data source in the form: # `projects/`project_id`/dataSources/`data_source_id`` @@ -258,40 +191,6 @@ module Google execute_or_queue_command(command, &block) end - # Returns true if data transfer is enabled for a project. - # @param [String] name - # The name of the project resource in the form: - # `projects/`project_id`` - # @param [Google::Apis::BigquerydatatransferV1::IsEnabledRequest] is_enabled_request_object - # @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::BigquerydatatransferV1::IsEnabledResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::BigquerydatatransferV1::IsEnabledResponse] - # - # @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 is_location_enabled(name, is_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:isEnabled', options) - command.request_representation = Google::Apis::BigquerydatatransferV1::IsEnabledRequest::Representation - command.request_object = is_enabled_request_object - command.response_representation = Google::Apis::BigquerydatatransferV1::IsEnabledResponse::Representation - command.response_class = Google::Apis::BigquerydatatransferV1::IsEnabledResponse - 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 - # Lists information about the supported locations for this service. # @param [String] name # The resource that owns the locations collection, if applicable. @@ -331,45 +230,12 @@ module Google execute_or_queue_command(command, &block) end - # Enables or disables data transfer for a project. This - # method requires the additional scope of - # 'https://www.googleapis.com/auth/cloudplatformprojects' - # to manage the cloud project permissions. - # @param [String] name - # The name of the project resource in the form: - # `projects/`project_id`` - # @param [Google::Apis::BigquerydatatransferV1::SetEnabledRequest] set_enabled_request_object - # @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::BigquerydatatransferV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::BigquerydatatransferV1::Empty] - # - # @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_location_enabled(name, set_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:setEnabled', options) - command.request_representation = Google::Apis::BigquerydatatransferV1::SetEnabledRequest::Representation - command.request_object = set_enabled_request_object - command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation - command.response_class = Google::Apis::BigquerydatatransferV1::Empty - 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 - # Returns true if valid credentials exist for the given data source and # requesting user. + # Some data sources doesn't support service account, so we need to talk to + # them on behalf of the end user. This API just checks whether we have OAuth + # token for the particular user, which is a pre-requisite before user can + # create a transfer config. # @param [String] name # The data source in the form: # `projects/`project_id`/dataSources/`data_source_id`` @@ -643,11 +509,12 @@ module Google # Updates a data transfer configuration. # All fields must be set, even if they are not updated. # @param [String] name - # The resource name of the transfer run. - # Transfer run names have the form + # The resource name of the transfer config. + # Transfer config names have the form # `projects/`project_id`/transferConfigs/`config_id``. # Where `config_id` is usually a uuid, even though it is not - # guaranteed or required. The name is ignored when creating a transfer run. + # guaranteed or required. The name is ignored when creating a transfer + # config. # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object # @param [String] authorization_code # Optional OAuth2 authorization code to use with this transfer configuration. @@ -1057,11 +924,12 @@ module Google # Updates a data transfer configuration. # All fields must be set, even if they are not updated. # @param [String] name - # The resource name of the transfer run. - # Transfer run names have the form + # The resource name of the transfer config. + # Transfer config names have the form # `projects/`project_id`/transferConfigs/`config_id``. # Where `config_id` is usually a uuid, even though it is not - # guaranteed or required. The name is ignored when creating a transfer run. + # guaranteed or required. The name is ignored when creating a transfer + # config. # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object # @param [String] authorization_code # Optional OAuth2 authorization code to use with this transfer configuration. diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/cloudtasks_v2beta2.rb similarity index 58% rename from generated/google/apis/testing_v1.rb rename to generated/google/apis/cloudtasks_v2beta2.rb index a87e40243..df215b4c5 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/cloudtasks_v2beta2.rb @@ -12,27 +12,24 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'google/apis/testing_v1/service.rb' -require 'google/apis/testing_v1/classes.rb' -require 'google/apis/testing_v1/representations.rb' +require 'google/apis/cloudtasks_v2beta2/service.rb' +require 'google/apis/cloudtasks_v2beta2/classes.rb' +require 'google/apis/cloudtasks_v2beta2/representations.rb' module Google module Apis - # Google Cloud Testing API + # Cloud Tasks API # - # Allows developers to run automated tests for their mobile applications on - # Google infrastructure. + # Cloud Tasks enables developers to manage the execution of large numbers of + # distributed requests. Cloud Tasks is in Alpha. # - # @see https://developers.google.com/cloud-test-lab/ - module TestingV1 - VERSION = 'V1' - REVISION = '20170905' + # @see https://cloud.google.com/cloud-tasks/ + module CloudtasksV2beta2 + VERSION = 'V2beta2' + REVISION = '20170912' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - - # View your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' end end end diff --git a/generated/google/apis/cloudtasks_v2beta2/classes.rb b/generated/google/apis/cloudtasks_v2beta2/classes.rb new file mode 100644 index 000000000..7ecff9a06 --- /dev/null +++ b/generated/google/apis/cloudtasks_v2beta2/classes.rb @@ -0,0 +1,1761 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module CloudtasksV2beta2 + + # Request message for acknowledging a task using + # CloudTasks.AcknowledgeTask. + class AcknowledgeTaskRequest + include Google::Apis::Core::Hashable + + # Required. + # The task's current schedule time, available in the Task.schedule_time + # returned in PullTasksResponse.tasks or + # CloudTasks.RenewLease. This restriction is to check that + # the caller is acknowledging the correct task. + # Corresponds to the JSON property `scheduleTime` + # @return [String] + attr_accessor :schedule_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @schedule_time = args[:schedule_time] if args.key?(:schedule_time) + end + end + + # App Engine HTTP request. + # The message defines the HTTP request that is sent to an App Engine app when + # the task is dispatched. + # This proto can only be used for tasks in a queue which has + # Queue.app_engine_http_target set. + # Using this type of target requires + # [`appengine.applications.get`](/appengine/docs/admin-api/access-control) + # Google IAM permission for the project + # and the following scope: + # `https://www.googleapis.com/auth/cloud-platform` + # The task will be delivered to the App Engine app which belongs to the same + # project as the queue. For more information, see + # [How Requests are Routed](/appengine/docs/standard/python/how-requests-are- + # routed) + # and how routing is affected by + # [dispatch files](/appengine/docs/python/config/dispatchref). + # The AppEngineRouting used to construct the URL that the task is + # delivered to can be set at the queue-level or task-level: + # * If set, AppEngineHttpTarget.app_engine_routing_override is used for + # all tasks in the queue, no matter what the setting is for the + # task-level app_engine_routing. + # The `url` that the task will be sent to is: + # * `url =` AppEngineRouting.host `+` AppEngineHttpRequest.relative_url + # The task will be sent to a task handler by an HTTP + # request using the specified AppEngineHttpRequest.http_method (for example + # POST, HTTP GET, etc). The task attempt has succeeded if the task handler + # returns an HTTP response code in the range [200 - 299]. Error 503 is + # considered an App Engine system error instead of an application error. + # Requests returning error 503 will be retried regardless of retry + # configuration and not counted against retry counts. + # Any other response code or a failure to receive a response before the + # deadline is a failed attempt. + class AppEngineHttpRequest + include Google::Apis::Core::Hashable + + # App Engine Routing. + # For more information about services, versions, and instances see + # [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine), + # [Microservices Architecture on Google App Engine](/appengine/docs/python/ + # microservices-on-app-engine), + # [App Engine Standard request routing](/appengine/docs/standard/python/how- + # requests-are-routed), + # and [App Engine Flex request routing](/appengine/docs/flexible/python/how- + # requests-are-routed). + # Corresponds to the JSON property `appEngineRouting` + # @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting] + attr_accessor :app_engine_routing + + # HTTP request headers. + # This map contains the header field names and values. + # Headers can be set when the + # [task is created](google.cloud.tasks.v2beta2.CloudTasks.CreateTask). + # Repeated headers are not supported but a header value can contain commas. + # Cloud Tasks sets some headers to default values: + # * `User-Agent`: By default, this header is + # `"AppEngine-Google; (+http://code.google.com/appengine)"`. + # This header can be modified, but Cloud Tasks will append + # `"AppEngine-Google; (+http://code.google.com/appengine)"` to the + # modified `User-Agent`. + # If the task has an AppEngineHttpRequest.payload, Cloud Tasks sets the + # following headers: + # * `Content-Type`: By default, the `Content-Type` header is set to + # `"application/octet-stream"`. The default can be overridden by explictly + # setting `Content-Type` to a particular media type when the + # [task is created](google.cloud.tasks.v2beta2.CloudTasks.CreateTask). + # For example, `Content-Type` can be set to `"application/json"`. + # * `Content-Length`: This is computed by Cloud Tasks. This value is + # output only. It cannot be changed. + # The headers below cannot be set or overridden: + # * `Host` + # * `X-Google-*` + # * `X-AppEngine-*` + # In addition, some App Engine headers, which contain + # task-specific information, are also be sent to the task handler; see + # [request headers](/appengine/docs/python/taskqueue/push/creating-handlers# + # reading_request_headers). + # Corresponds to the JSON property `headers` + # @return [Hash] + attr_accessor :headers + + # The HTTP method to use for the request. The default is POST. + # The app's request handler for the task's target URL must be able to handle + # HTTP requests with this http_method, otherwise the task attempt will fail + # with error code 405 "Method Not Allowed" because "the method specified in + # the Request-Line is not allowed for the resource identified by the + # Request-URI". See + # [Writing a push task request handler](/appengine/docs/java/taskqueue/push/ + # creating-handlers#writing_a_push_task_request_handler) + # and the documentation for the request handlers in the language your app is + # written in e.g. + # [python RequestHandler](/appengine/docs/python/tools/webapp/ + # requesthandlerclass). + # Corresponds to the JSON property `httpMethod` + # @return [String] + attr_accessor :http_method + + # Payload. + # The payload will be sent as the HTTP message body. A message + # body, and thus a payload, is allowed only if the HTTP method is + # POST or PUT. It is an error to set a data payload on a task with + # an incompatible HttpMethod. + # Corresponds to the JSON property `payload` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :payload + + # The relative URL. + # The relative URL must begin with "/" and must be a valid HTTP relative URL. + # It can contain a path, query string arguments, and `#` fragments. + # If the relative URL is empty, then the root path "/" will be used. + # No spaces are allowed, and the maximum length allowed is 2083 characters. + # Corresponds to the JSON property `relativeUrl` + # @return [String] + attr_accessor :relative_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_engine_routing = args[:app_engine_routing] if args.key?(:app_engine_routing) + @headers = args[:headers] if args.key?(:headers) + @http_method = args[:http_method] if args.key?(:http_method) + @payload = args[:payload] if args.key?(:payload) + @relative_url = args[:relative_url] if args.key?(:relative_url) + end + end + + # App Engine HTTP target. + # The task will be delivered to the App Engine application hostname + # specified by its AppEngineHttpTarget and AppEngineHttpRequest. + # The documentation for AppEngineHttpRequest explains how the + # task's host URL is constructed. + # Using this type of queue configuration requires + # [`appengine.applications.get`](/appengine/docs/admin-api/access-control) + # Google IAM permission for the project + # and the following scope: + # `https://www.googleapis.com/auth/cloud-platform` + class AppEngineHttpTarget + include Google::Apis::Core::Hashable + + # App Engine Routing. + # For more information about services, versions, and instances see + # [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine), + # [Microservices Architecture on Google App Engine](/appengine/docs/python/ + # microservices-on-app-engine), + # [App Engine Standard request routing](/appengine/docs/standard/python/how- + # requests-are-routed), + # and [App Engine Flex request routing](/appengine/docs/flexible/python/how- + # requests-are-routed). + # Corresponds to the JSON property `appEngineRoutingOverride` + # @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting] + attr_accessor :app_engine_routing_override + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_engine_routing_override = args[:app_engine_routing_override] if args.key?(:app_engine_routing_override) + end + end + + # Deprecated. Use AppEngineTarget. + class AppEngineQueueConfig + include Google::Apis::Core::Hashable + + # App Engine Routing. + # For more information about services, versions, and instances see + # [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine), + # [Microservices Architecture on Google App Engine](/appengine/docs/python/ + # microservices-on-app-engine), + # [App Engine Standard request routing](/appengine/docs/standard/python/how- + # requests-are-routed), + # and [App Engine Flex request routing](/appengine/docs/flexible/python/how- + # requests-are-routed). + # Corresponds to the JSON property `appEngineRoutingOverride` + # @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting] + attr_accessor :app_engine_routing_override + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_engine_routing_override = args[:app_engine_routing_override] if args.key?(:app_engine_routing_override) + end + end + + # App Engine Routing. + # For more information about services, versions, and instances see + # [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine), + # [Microservices Architecture on Google App Engine](/appengine/docs/python/ + # microservices-on-app-engine), + # [App Engine Standard request routing](/appengine/docs/standard/python/how- + # requests-are-routed), + # and [App Engine Flex request routing](/appengine/docs/flexible/python/how- + # requests-are-routed). + class AppEngineRouting + include Google::Apis::Core::Hashable + + # Output only. + # The host that the task is sent to. For more information, see + # [How Requests are Routed](/appengine/docs/standard/python/how-requests-are- + # routed). + # The host is constructed as: + # * `host = [application_domain_name]`
+ # `| [service] + '.' + [application_domain_name]`
+ # `| [version] + '.' + [application_domain_name]`
+ # `| [version_dot_service]+ '.' + [application_domain_name]`
+ # `| [instance] + '.' + [application_domain_name]`
+ # `| [instance_dot_service] + '.' + [application_domain_name]`
+ # `| [instance_dot_version] + '.' + [application_domain_name]`
+ # `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` + # * `application_domain_name` = The domain name of the app, for + # example .appspot.com, which is associated with the + # queue's project ID. Some tasks which were created using the App Engine + # SDK use a custom domain name. + # * `service =` AppEngineRouting.service + # * `version =` AppEngineRouting.version + # * `version_dot_service =` + # AppEngineRouting.version `+ '.' +` AppEngineRouting.service + # * `instance =` AppEngineRouting.instance + # * `instance_dot_service =` + # AppEngineRouting.instance `+ '.' +` AppEngineRouting.service + # * `instance_dot_version =` + # AppEngineRouting.instance `+ '.' +` AppEngineRouting.version + # * `instance_dot_version_dot_service =` + # AppEngineRouting.instance `+ '.' +` + # AppEngineRouting.version `+ '.' +` AppEngineRouting.service + # If AppEngineRouting.service is empty, then the task will be sent + # to the service which is the default service when the task is attempted. + # If AppEngineRouting.version is empty, then the task will be sent + # to the version which is the default version when the task is attempted. + # If AppEngineRouting.instance is empty, then the task will be sent + # to an instance which is available when the task is attempted. + # When AppEngineRouting.service is "default", + # AppEngineRouting.version is "default", and + # AppEngineRouting.instance is empty, AppEngineRouting.host is + # shortened to just the `application_domain_name`. + # If AppEngineRouting.service, AppEngineRouting.version, or + # AppEngineRouting.instance is invalid, then the task will be sent + # to the default version of the default service when the task is attempted. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # App instance. + # By default, the task is sent to an instance which is available when + # the task is attempted. + # Requests can only be sent to a specific instance if + # [manual scaling is used in App Engine Standard](/appengine/docs/python/an- + # overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). + # App Engine Flex does not support instances. For more information, see + # [App Engine Standard request routing](/appengine/docs/standard/python/how- + # requests-are-routed) + # and [App Engine Flex request routing](/appengine/docs/flexible/python/how- + # requests-are-routed). + # Corresponds to the JSON property `instance` + # @return [String] + attr_accessor :instance + + # App service. + # By default, the task is sent to the service which is the default + # service when the task is attempted ("default"). + # For some queues or tasks which were created using the App Engine Task Queue + # API, AppEngineRouting.host is not parsable into + # AppEngineRouting.service, AppEngineRouting.version, and + # AppEngineRouting.instance. For example, some tasks which were created + # using the App Engine SDK use a custom domain name; custom domains are not + # parsed by Cloud Tasks. If AppEngineRouting.host is not parsable, then + # AppEngineRouting.service, AppEngineRouting.version, and + # AppEngineRouting.instance are the empty string. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + # App version. + # By default, the task is sent to the version which is the default + # version when the task is attempted ("default"). + # For some queues or tasks which were created using the App Engine Task Queue + # API, AppEngineRouting.host is not parsable into + # AppEngineRouting.service, AppEngineRouting.version, and + # AppEngineRouting.instance. For example, some tasks which were created + # using the App Engine SDK use a custom domain name; custom domains are not + # parsed by Cloud Tasks. If AppEngineRouting.host is not parsable, then + # AppEngineRouting.service, AppEngineRouting.version, and + # AppEngineRouting.instance are the empty string. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @host = args[:host] if args.key?(:host) + @instance = args[:instance] if args.key?(:instance) + @service = args[:service] if args.key?(:service) + @version = args[:version] if args.key?(:version) + end + end + + # App Engine task target. + # An App Engine task is a task that has AppEngineTaskTarget set. + # This proto can only be used for tasks in a queue which has + # Queue.app_engine_queue_config set. + # Using this type of task target requires + # [`appengine.applications.get`](/appengine/docs/admin-api/access-control) + # Google IAM permission for the project + # and the following scope: + # `https://www.googleapis.com/auth/cloud-platform` + # The task will be delivered to the URL specified by the + # AppEngineQueueConfig and AppEngineTaskTarget in the App Engine app + # which belongs to the same project as the queue. For more information, see + # [How Requests are Routed](/appengine/docs/standard/python/how-requests-are- + # routed) + # and how routing is affected by + # [dispatch files](/appengine/docs/python/config/dispatchref). + # The AppEngineRouting used to construct the URL can be set at + # the queue-level or task-level: + # * If set, AppEngineQueueConfig.app_engine_routing_override is used for + # all tasks in the queue, no matter what the setting is for the + # task-level app_engine_routing. + # The `url` that the task will be sent to is: + # * `url =` AppEngineRouting.host `+` AppEngineTaskTarget.relative_url + # The task will be sent to a task handler by an HTTP + # request using the specified AppEngineTaskTarget.http_method (for example + # POST, HTTP GET, etc). The task attempt has succeeded if the task handler + # returns an HTTP response code in the range [200 - 299]. Error 503 is + # considered an App Engine system error instead of an application error. + # Requests returning error 503 will be retried regardless of retry + # configuration and not counted against retry counts. + # Any other response code or a failure to receive a response before the + # deadline is a failed attempt. + class AppEngineTaskTarget + include Google::Apis::Core::Hashable + + # App Engine Routing. + # For more information about services, versions, and instances see + # [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine), + # [Microservices Architecture on Google App Engine](/appengine/docs/python/ + # microservices-on-app-engine), + # [App Engine Standard request routing](/appengine/docs/standard/python/how- + # requests-are-routed), + # and [App Engine Flex request routing](/appengine/docs/flexible/python/how- + # requests-are-routed). + # Corresponds to the JSON property `appEngineRouting` + # @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting] + attr_accessor :app_engine_routing + + # HTTP request headers. + # This map contains the header field names and values. + # Headers can be set when the + # [task is created](google.cloud.tasks.v2beta2.CloudTasks.CreateTask). + # Repeated headers are not supported but a header value can contain commas. + # Cloud Tasks sets some headers to default values: + # * `User-Agent`: By default, this header is + # `"AppEngine-Google; (+http://code.google.com/appengine)"`. + # This header can be modified, but Cloud Tasks will append + # `"AppEngine-Google; (+http://code.google.com/appengine)"` to the + # modified `User-Agent`. + # If the task has an AppEngineTaskTarget.payload, Cloud Tasks sets the + # following headers: + # * `Content-Type`: By default, the `Content-Type` header is set to + # `"application/octet-stream"`. The default can be overridden by explictly + # setting `Content-Type` to a particular media type when the + # [task is created](google.cloud.tasks.v2beta2.CloudTasks.CreateTask). + # For example, `Content-Type` can be set to `"application/json"`. + # * `Content-Length`: This is computed by Cloud Tasks. This value is + # output only. It cannot be changed. + # The headers below cannot be set or overridden: + # * `Host` + # * `X-Google-*` + # * `X-AppEngine-*` + # In addition, some App Engine headers, which contain + # task-specific information, are also be sent to the task handler; see + # [request headers](/appengine/docs/python/taskqueue/push/creating-handlers# + # reading_request_headers). + # Corresponds to the JSON property `headers` + # @return [Hash] + attr_accessor :headers + + # The HTTP method to use for the request. The default is POST. + # The app's request handler for the task's target URL must be able to handle + # HTTP requests with this http_method, otherwise the task attempt will fail + # with error code 405 "Method Not Allowed" because "the method specified in + # the Request-Line is not allowed for the resource identified by the + # Request-URI". See + # [Writing a push task request handler](/appengine/docs/java/taskqueue/push/ + # creating-handlers#writing_a_push_task_request_handler) + # and the documentation for the request handlers in the language your app is + # written in e.g. + # [python RequestHandler](/appengine/docs/python/tools/webapp/ + # requesthandlerclass). + # Corresponds to the JSON property `httpMethod` + # @return [String] + attr_accessor :http_method + + # Payload. + # The payload will be sent as the HTTP message body. A message + # body, and thus a payload, is allowed only if the HTTP method is + # POST or PUT. It is an error to set a data payload on a task with + # an incompatible HttpMethod. + # Corresponds to the JSON property `payload` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :payload + + # The relative URL. + # The relative URL must begin with "/" and must be a valid HTTP relative URL. + # It can contain a path, query string arguments, and `#` fragments. + # If the relative URL is empty, then the root path "/" will be used. + # No spaces are allowed, and the maximum length allowed is 2083 characters. + # Corresponds to the JSON property `relativeUrl` + # @return [String] + attr_accessor :relative_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_engine_routing = args[:app_engine_routing] if args.key?(:app_engine_routing) + @headers = args[:headers] if args.key?(:headers) + @http_method = args[:http_method] if args.key?(:http_method) + @payload = args[:payload] if args.key?(:payload) + @relative_url = args[:relative_url] if args.key?(:relative_url) + end + end + + # The status of a task attempt. + class AttemptStatus + include Google::Apis::Core::Hashable + + # Output only. + # The time that this attempt was dispatched. + # `dispatch_time` will be truncated to the nearest microsecond. + # Corresponds to the JSON property `dispatchTime` + # @return [String] + attr_accessor :dispatch_time + + # 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 `responseStatus` + # @return [Google::Apis::CloudtasksV2beta2::Status] + attr_accessor :response_status + + # Output only. + # The time that this attempt response was received. + # `response_time` will be truncated to the nearest microsecond. + # Corresponds to the JSON property `responseTime` + # @return [String] + attr_accessor :response_time + + # Output only. + # The time that this attempt was scheduled. + # `schedule_time` will be truncated to the nearest microsecond. + # Corresponds to the JSON property `scheduleTime` + # @return [String] + attr_accessor :schedule_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dispatch_time = args[:dispatch_time] if args.key?(:dispatch_time) + @response_status = args[:response_status] if args.key?(:response_status) + @response_time = args[:response_time] if args.key?(:response_time) + @schedule_time = args[:schedule_time] if args.key?(:schedule_time) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # Request message for canceling a lease using + # CloudTasks.CancelLease. + class CancelLeaseRequest + include Google::Apis::Core::Hashable + + # The response_view specifies which subset of the Task will be + # returned. + # By default response_view is Task.View.BASIC; not all + # information is retrieved by default because some data, such as + # payloads, might be desirable to return only when needed because + # of its large size or because of the sensitivity of data that it + # contains. + # Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + # [Google IAM](/iam/) permission on the + # Task.name resource. + # Corresponds to the JSON property `responseView` + # @return [String] + attr_accessor :response_view + + # Required. + # The task's current schedule time, available in the Task.schedule_time + # returned in PullTasksResponse.tasks or + # CloudTasks.RenewLease. This restriction is to check that + # the caller is canceling the correct task. + # Corresponds to the JSON property `scheduleTime` + # @return [String] + attr_accessor :schedule_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_view = args[:response_view] if args.key?(:response_view) + @schedule_time = args[:schedule_time] if args.key?(:schedule_time) + end + end + + # Request message for CloudTasks.CreateTask. + class CreateTaskRequest + include Google::Apis::Core::Hashable + + # The response_view specifies which subset of the Task will be + # returned. + # By default response_view is Task.View.BASIC; not all + # information is retrieved by default because some data, such as + # payloads, might be desirable to return only when needed because + # of its large size or because of the sensitivity of data that it + # contains. + # Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + # [Google IAM](/iam/) permission on the + # Task.name resource. + # Corresponds to the JSON property `responseView` + # @return [String] + attr_accessor :response_view + + # A unit of scheduled work. + # Corresponds to the JSON property `task` + # @return [Google::Apis::CloudtasksV2beta2::Task] + attr_accessor :task + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_view = args[:response_view] if args.key?(:response_view) + @task = args[:task] if args.key?(:task) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request message for `GetIamPolicy` method. + class GetIamPolicyRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Response message for CloudTasks.ListQueues. + class ListQueuesResponse + include Google::Apis::Core::Hashable + + # A token to retrieve next page of results. + # To return the next page of results, call + # CloudTasks.ListQueues with this value as the + # ListQueuesRequest.page_token. + # If the next_page_token is empty, there are no more results. + # The page token is valid for only 2 hours. + # Corresponds to the JSON property `nextPageToken` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :next_page_token + + # The list of queues. + # Corresponds to the JSON property `queues` + # @return [Array] + attr_accessor :queues + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @queues = args[:queues] if args.key?(:queues) + end + end + + # Response message for listing tasks using CloudTasks.ListTasks. + class ListTasksResponse + include Google::Apis::Core::Hashable + + # A token to retrieve next page of results. + # To return the next page of results, call + # CloudTasks.ListTasks with this value as the + # ListTasksRequest.page_token. + # If the next_page_token is empty, there are no more results. + # Corresponds to the JSON property `nextPageToken` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :next_page_token + + # The list of tasks. + # Corresponds to the JSON property `tasks` + # @return [Array] + attr_accessor :tasks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @tasks = args[:tasks] if args.key?(:tasks) + end + end + + # Request message for CloudTasks.PauseQueue. + class PauseQueueRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Associates a list of `members` to a `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) + end + end + + # The pull message contains data that can be used by the caller of + # CloudTasks.PullTasks to process the task. + # This proto can only be used for tasks in a queue which has + # Queue.pull_target set. + class PullMessage + include Google::Apis::Core::Hashable + + # A data payload consumed by the task worker to execute the task. + # Corresponds to the JSON property `payload` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :payload + + # A meta-data tag for this task. + # This value is used by CloudTasks.PullTasks calls when + # PullTasksRequest.filter is `tag=`. + # The tag must be less than 500 bytes. + # Corresponds to the JSON property `tag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @payload = args[:payload] if args.key?(:payload) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Deprecated. Use PullTarget. + class PullQueueConfig + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Pull target. + class PullTarget + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Pull task target. + # A pull task is a task that has PullTaskTarget set. + # This proto can only be used for tasks in a queue which has + # Queue.pull_queue_config set. + class PullTaskTarget + include Google::Apis::Core::Hashable + + # A data payload consumed by the task worker to execute the task. + # Corresponds to the JSON property `payload` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :payload + + # A meta-data tag for this task. + # This value is used by CloudTasks.PullTasks calls when + # PullTasksRequest.filter is `tag=`. + # The tag must be less than 500 bytes. + # Corresponds to the JSON property `tag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @payload = args[:payload] if args.key?(:payload) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Request message for pulling tasks using CloudTasks.PullTasks. + class PullTasksRequest + include Google::Apis::Core::Hashable + + # `filter` can be used to specify a subset of tasks to lease. + # When `filter` is set to `tag=` then the + # PullTasksResponse will contain only tasks whose + # PullTaskTarget.tag is equal to ``. `` can be + # a bytes encoded as a string and must be less than 500 bytes. + # If `` includes whitespace or special characters (characters which + # aren't letters, numbers, or underscores), then it must be double-quoted. + # Double quotes and backslashes in quoted strings must be escaped by + # preceding it with a backslash (`\`). + # When `filter` is set to `tag=oldest_tag()`, only tasks which have the same + # tag as the task with the oldest schedule_time will be returned. + # Grammar Syntax: + # * `filter = "tag=" comparable` + # * `comparable = tag | function` + # * `tag = string | bytes` + # * `function = "oldest_tag()"` + # The `oldest_tag()` function returns tasks which have the same tag as the + # oldest task (ordered by schedule time). + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + # The duration of the lease. + # Each task returned in the PullTasksResponse will have its + # Task.schedule_time set to the current time plus the + # `lease_duration`. A task that has been returned in a + # PullTasksResponse is leased -- that task will not be + # returned in a different PullTasksResponse before the + # Task.schedule_time. + # After the lease holder has successfully finished the work + # associated with the task, the lease holder must call + # CloudTasks.AcknowledgeTask. If the task is not acknowledged + # via CloudTasks.AcknowledgeTask before the + # Task.schedule_time then it will be returned in a later + # PullTasksResponse so that another lease holder can process + # it. + # The maximum lease duration is 1 week. + # `lease_duration` will be truncated to the nearest second. + # Corresponds to the JSON property `leaseDuration` + # @return [String] + attr_accessor :lease_duration + + # The maximum number of tasks to lease. The maximum that can be + # requested is 1000. + # Corresponds to the JSON property `maxTasks` + # @return [Fixnum] + attr_accessor :max_tasks + + # The response_view specifies which subset of the Task will be + # returned. + # By default response_view is Task.View.BASIC; not all + # information is retrieved by default because some data, such as + # payloads, might be desirable to return only when needed because + # of its large size or because of the sensitivity of data that it + # contains. + # Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + # [Google IAM](/iam/) permission on the + # Task.name resource. + # Corresponds to the JSON property `responseView` + # @return [String] + attr_accessor :response_view + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter = args[:filter] if args.key?(:filter) + @lease_duration = args[:lease_duration] if args.key?(:lease_duration) + @max_tasks = args[:max_tasks] if args.key?(:max_tasks) + @response_view = args[:response_view] if args.key?(:response_view) + end + end + + # Response message for pulling tasks using CloudTasks.PullTasks. + class PullTasksResponse + include Google::Apis::Core::Hashable + + # The leased tasks. + # Corresponds to the JSON property `tasks` + # @return [Array] + attr_accessor :tasks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tasks = args[:tasks] if args.key?(:tasks) + end + end + + # Request message for CloudTasks.PurgeQueue. + class PurgeQueueRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A queue is a container of related tasks. Queues are configured to manage + # how those tasks are dispatched. Configurable properties include rate limits, + # retry options, target types, and others. + class Queue + include Google::Apis::Core::Hashable + + # App Engine HTTP target. + # The task will be delivered to the App Engine application hostname + # specified by its AppEngineHttpTarget and AppEngineHttpRequest. + # The documentation for AppEngineHttpRequest explains how the + # task's host URL is constructed. + # Using this type of queue configuration requires + # [`appengine.applications.get`](/appengine/docs/admin-api/access-control) + # Google IAM permission for the project + # and the following scope: + # `https://www.googleapis.com/auth/cloud-platform` + # Corresponds to the JSON property `appEngineHttpTarget` + # @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget] + attr_accessor :app_engine_http_target + + # Deprecated. Use AppEngineTarget. + # Corresponds to the JSON property `appEngineQueueConfig` + # @return [Google::Apis::CloudtasksV2beta2::AppEngineQueueConfig] + attr_accessor :app_engine_queue_config + + # The queue name. + # The queue name must have the following format: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + # * `PROJECT_ID` can contain uppercase and lowercase letters, + # numbers, hyphens, colons, and periods; that is, it must match + # the regular expression: `[a-zA-Z\\d-:\\.]+`. + # * `QUEUE_ID` can contain uppercase and lowercase letters, + # numbers, and hyphens; that is, it must match the regular + # expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + # characters. + # Caller-specified and required in CreateQueueRequest, after which + # it becomes output only. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Deprecated. Use PullTarget. + # Corresponds to the JSON property `pullQueueConfig` + # @return [Google::Apis::CloudtasksV2beta2::PullQueueConfig] + attr_accessor :pull_queue_config + + # Pull target. + # Corresponds to the JSON property `pullTarget` + # @return [Google::Apis::CloudtasksV2beta2::PullTarget] + attr_accessor :pull_target + + # Output only. + # The last time this queue was purged. All tasks that were + # created before this time were purged. + # A queue can be purged using CloudTasks.PurgeQueue, the + # [App Engine Task Queue SDK, or the Cloud Console](/appengine/docs/standard/ + # python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue) + # . + # Purge time will be truncated to the nearest microsecond. Purge + # time will be zero if the queue has never been purged. + # Corresponds to the JSON property `purgeTime` + # @return [String] + attr_accessor :purge_time + + # Output only. + # The state of the queue. + # `queue_state` can only be changed by called + # CloudTasks.PauseQueue, CloudTasks.ResumeQueue, or uploading + # [queue.yaml](/appengine/docs/python/config/queueref). + # CloudTasks.UpdateQueue cannot be used to change `queue_state`. + # Corresponds to the JSON property `queueState` + # @return [String] + attr_accessor :queue_state + + # Retry config. + # These settings determine retry behavior. + # If a task does not complete successfully, meaning that an + # acknowledgement is not received from the handler before the + # [deadline](/appengine/docs/python/taskqueue/push/#the_task_deadline), + # then it will be retried with exponential backoff according to the + # settings in RetryConfig. + # Corresponds to the JSON property `retryConfig` + # @return [Google::Apis::CloudtasksV2beta2::RetryConfig] + attr_accessor :retry_config + + # Throttle config. + # These settings determine the throttling behavior. + # Corresponds to the JSON property `throttleConfig` + # @return [Google::Apis::CloudtasksV2beta2::ThrottleConfig] + attr_accessor :throttle_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_engine_http_target = args[:app_engine_http_target] if args.key?(:app_engine_http_target) + @app_engine_queue_config = args[:app_engine_queue_config] if args.key?(:app_engine_queue_config) + @name = args[:name] if args.key?(:name) + @pull_queue_config = args[:pull_queue_config] if args.key?(:pull_queue_config) + @pull_target = args[:pull_target] if args.key?(:pull_target) + @purge_time = args[:purge_time] if args.key?(:purge_time) + @queue_state = args[:queue_state] if args.key?(:queue_state) + @retry_config = args[:retry_config] if args.key?(:retry_config) + @throttle_config = args[:throttle_config] if args.key?(:throttle_config) + end + end + + # Request message for renewing a lease using CloudTasks.RenewLease. + class RenewLeaseRequest + include Google::Apis::Core::Hashable + + # Required. + # The desired new lease duration, starting from now. + # The maximum lease duration is 1 week. + # `new_lease_duration` will be truncated to the nearest second. + # Corresponds to the JSON property `newLeaseDuration` + # @return [String] + attr_accessor :new_lease_duration + + # The response_view specifies which subset of the Task will be + # returned. + # By default response_view is Task.View.BASIC; not all + # information is retrieved by default because some data, such as + # payloads, might be desirable to return only when needed because + # of its large size or because of the sensitivity of data that it + # contains. + # Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + # [Google IAM](/iam/) permission on the + # Task.name resource. + # Corresponds to the JSON property `responseView` + # @return [String] + attr_accessor :response_view + + # Required. + # The task's current schedule time, available in the Task.schedule_time + # returned in PullTasksResponse.tasks or + # CloudTasks.RenewLease. This restriction is to check that + # the caller is renewing the correct task. + # Corresponds to the JSON property `scheduleTime` + # @return [String] + attr_accessor :schedule_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @new_lease_duration = args[:new_lease_duration] if args.key?(:new_lease_duration) + @response_view = args[:response_view] if args.key?(:response_view) + @schedule_time = args[:schedule_time] if args.key?(:schedule_time) + end + end + + # Request message for CloudTasks.ResumeQueue. + class ResumeQueueRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Retry config. + # These settings determine retry behavior. + # If a task does not complete successfully, meaning that an + # acknowledgement is not received from the handler before the + # [deadline](/appengine/docs/python/taskqueue/push/#the_task_deadline), + # then it will be retried with exponential backoff according to the + # settings in RetryConfig. + class RetryConfig + include Google::Apis::Core::Hashable + + # The maximum number of attempts for a task. + # Cloud Tasks will attempt the task `max_attempts` times (that + # is, if the first attempt fails, then there will be + # `max_attempts - 1` retries). Must be > 0. + # Corresponds to the JSON property `maxAttempts` + # @return [Fixnum] + attr_accessor :max_attempts + + # The maximum amount of time to wait before retrying a task after + # it fails. The default is 1 hour. + # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), + # this field is 1 hour by default. + # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this field + # is output only and always 0. + # `max_backoff` will be truncated to the nearest second. + # Corresponds to the JSON property `maxBackoff` + # @return [String] + attr_accessor :max_backoff + + # The maximum number of times that the interval between failed task + # retries will be doubled before the increase becomes constant. The + # constant is: 2**(max_doublings - 1) * + # RetryConfig.min_backoff. + # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), + # this field is 16 by default. + # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this field + # is output only and always 0. + # Corresponds to the JSON property `maxDoublings` + # @return [Fixnum] + attr_accessor :max_doublings + + # The minimum amount of time to wait before retrying a task after + # it fails. + # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), + # this field is 0.1 seconds by default. + # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this + # field is output only and always 0. + # `min_backoff` will be truncated to the nearest second. + # Corresponds to the JSON property `minBackoff` + # @return [String] + attr_accessor :min_backoff + + # If positive, task_age_limit specifies the time limit for retrying a failed + # task, measured from when the task was first run. If specified with + # RetryConfig.max_attempts, the task will be retried until both + # limits are reached. + # If zero, then the task age is unlimited. This field is zero by default. + # `task_age_limit` will be truncated to the nearest second. + # Corresponds to the JSON property `taskAgeLimit` + # @return [String] + attr_accessor :task_age_limit + + # If true, then the number of attempts is unlimited. + # Corresponds to the JSON property `unlimitedAttempts` + # @return [Boolean] + attr_accessor :unlimited_attempts + alias_method :unlimited_attempts?, :unlimited_attempts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_attempts = args[:max_attempts] if args.key?(:max_attempts) + @max_backoff = args[:max_backoff] if args.key?(:max_backoff) + @max_doublings = args[:max_doublings] if args.key?(:max_doublings) + @min_backoff = args[:min_backoff] if args.key?(:min_backoff) + @task_age_limit = args[:task_age_limit] if args.key?(:task_age_limit) + @unlimited_attempts = args[:unlimited_attempts] if args.key?(:unlimited_attempts) + end + end + + # Request message for forcing a task to run now using + # CloudTasks.RunTask. + class RunTaskRequest + include Google::Apis::Core::Hashable + + # The response_view specifies which subset of the Task will be + # returned. + # By default response_view is Task.View.BASIC; not all + # information is retrieved by default because some data, such as + # payloads, might be desirable to return only when needed because + # of its large size or because of the sensitivity of data that it + # contains. + # Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + # [Google IAM](/iam/) permission on the + # Task.name resource. + # Corresponds to the JSON property `responseView` + # @return [String] + attr_accessor :response_view + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_view = args[:response_view] if args.key?(:response_view) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + # Corresponds to the JSON property `policy` + # @return [Google::Apis::CloudtasksV2beta2::Policy] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + 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 + + # A unit of scheduled work. + class Task + include Google::Apis::Core::Hashable + + # App Engine HTTP request. + # The message defines the HTTP request that is sent to an App Engine app when + # the task is dispatched. + # This proto can only be used for tasks in a queue which has + # Queue.app_engine_http_target set. + # Using this type of target requires + # [`appengine.applications.get`](/appengine/docs/admin-api/access-control) + # Google IAM permission for the project + # and the following scope: + # `https://www.googleapis.com/auth/cloud-platform` + # The task will be delivered to the App Engine app which belongs to the same + # project as the queue. For more information, see + # [How Requests are Routed](/appengine/docs/standard/python/how-requests-are- + # routed) + # and how routing is affected by + # [dispatch files](/appengine/docs/python/config/dispatchref). + # The AppEngineRouting used to construct the URL that the task is + # delivered to can be set at the queue-level or task-level: + # * If set, AppEngineHttpTarget.app_engine_routing_override is used for + # all tasks in the queue, no matter what the setting is for the + # task-level app_engine_routing. + # The `url` that the task will be sent to is: + # * `url =` AppEngineRouting.host `+` AppEngineHttpRequest.relative_url + # The task will be sent to a task handler by an HTTP + # request using the specified AppEngineHttpRequest.http_method (for example + # POST, HTTP GET, etc). The task attempt has succeeded if the task handler + # returns an HTTP response code in the range [200 - 299]. Error 503 is + # considered an App Engine system error instead of an application error. + # Requests returning error 503 will be retried regardless of retry + # configuration and not counted against retry counts. + # Any other response code or a failure to receive a response before the + # deadline is a failed attempt. + # Corresponds to the JSON property `appEngineHttpRequest` + # @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest] + attr_accessor :app_engine_http_request + + # App Engine task target. + # An App Engine task is a task that has AppEngineTaskTarget set. + # This proto can only be used for tasks in a queue which has + # Queue.app_engine_queue_config set. + # Using this type of task target requires + # [`appengine.applications.get`](/appengine/docs/admin-api/access-control) + # Google IAM permission for the project + # and the following scope: + # `https://www.googleapis.com/auth/cloud-platform` + # The task will be delivered to the URL specified by the + # AppEngineQueueConfig and AppEngineTaskTarget in the App Engine app + # which belongs to the same project as the queue. For more information, see + # [How Requests are Routed](/appengine/docs/standard/python/how-requests-are- + # routed) + # and how routing is affected by + # [dispatch files](/appengine/docs/python/config/dispatchref). + # The AppEngineRouting used to construct the URL can be set at + # the queue-level or task-level: + # * If set, AppEngineQueueConfig.app_engine_routing_override is used for + # all tasks in the queue, no matter what the setting is for the + # task-level app_engine_routing. + # The `url` that the task will be sent to is: + # * `url =` AppEngineRouting.host `+` AppEngineTaskTarget.relative_url + # The task will be sent to a task handler by an HTTP + # request using the specified AppEngineTaskTarget.http_method (for example + # POST, HTTP GET, etc). The task attempt has succeeded if the task handler + # returns an HTTP response code in the range [200 - 299]. Error 503 is + # considered an App Engine system error instead of an application error. + # Requests returning error 503 will be retried regardless of retry + # configuration and not counted against retry counts. + # Any other response code or a failure to receive a response before the + # deadline is a failed attempt. + # Corresponds to the JSON property `appEngineTaskTarget` + # @return [Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget] + attr_accessor :app_engine_task_target + + # Output only. + # The time that the task was created. + # `create_time` will be truncated to the nearest second. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The task name. + # The task name must have the following format: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + # * `PROJECT_ID` can contain uppercase and lowercase letters, + # numbers, hyphens, colons, and periods; that is, it must match + # the regular expression: `[a-zA-Z\\d-:\\.]+`. + # * `QUEUE_ID` can contain uppercase and lowercase letters, + # numbers, and hyphens; that is, it must match the regular + # expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + # characters. + # * `TASK_ID` contain uppercase and lowercase letters, numbers, + # underscores, and hyphens; that is, it must match the regular + # expression: `[a-zA-Z\\d_-]+`. The maximum length is 500 + # characters. + # Optionally caller-specified in CreateTaskRequest. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The pull message contains data that can be used by the caller of + # CloudTasks.PullTasks to process the task. + # This proto can only be used for tasks in a queue which has + # Queue.pull_target set. + # Corresponds to the JSON property `pullMessage` + # @return [Google::Apis::CloudtasksV2beta2::PullMessage] + attr_accessor :pull_message + + # Pull task target. + # A pull task is a task that has PullTaskTarget set. + # This proto can only be used for tasks in a queue which has + # Queue.pull_queue_config set. + # Corresponds to the JSON property `pullTaskTarget` + # @return [Google::Apis::CloudtasksV2beta2::PullTaskTarget] + attr_accessor :pull_task_target + + # The time when the task is scheduled to be attempted. + # For pull queues, this is the time when the task is available to + # be leased; if a task is currently leased, this is the time when + # the current lease expires, that is, the time that the task was + # leased plus the PullTasksRequest.lease_duration. + # For App Engine queues, this is when the task will be attempted or retried. + # `schedule_time` will be truncated to the nearest microsecond. + # Corresponds to the JSON property `scheduleTime` + # @return [String] + attr_accessor :schedule_time + + # Status of the task. + # Corresponds to the JSON property `taskStatus` + # @return [Google::Apis::CloudtasksV2beta2::TaskStatus] + attr_accessor :task_status + + # Output only. + # The view specifies which subset of the Task has been + # returned. + # Corresponds to the JSON property `view` + # @return [String] + attr_accessor :view + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_engine_http_request = args[:app_engine_http_request] if args.key?(:app_engine_http_request) + @app_engine_task_target = args[:app_engine_task_target] if args.key?(:app_engine_task_target) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) + @pull_message = args[:pull_message] if args.key?(:pull_message) + @pull_task_target = args[:pull_task_target] if args.key?(:pull_task_target) + @schedule_time = args[:schedule_time] if args.key?(:schedule_time) + @task_status = args[:task_status] if args.key?(:task_status) + @view = args[:view] if args.key?(:view) + end + end + + # Status of the task. + class TaskStatus + include Google::Apis::Core::Hashable + + # Output only. + # The number of attempts dispatched. This count includes tasks which have + # been dispatched but haven't received a response. + # Corresponds to the JSON property `attemptDispatchCount` + # @return [Fixnum] + attr_accessor :attempt_dispatch_count + + # Output only. + # The number of attempts which have received a response. + # This field is not calculated for + # [pull tasks](google.cloud.tasks.v2beta2.PullTaskTarget). + # Corresponds to the JSON property `attemptResponseCount` + # @return [Fixnum] + attr_accessor :attempt_response_count + + # The status of a task attempt. + # Corresponds to the JSON property `firstAttemptStatus` + # @return [Google::Apis::CloudtasksV2beta2::AttemptStatus] + attr_accessor :first_attempt_status + + # The status of a task attempt. + # Corresponds to the JSON property `lastAttemptStatus` + # @return [Google::Apis::CloudtasksV2beta2::AttemptStatus] + attr_accessor :last_attempt_status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attempt_dispatch_count = args[:attempt_dispatch_count] if args.key?(:attempt_dispatch_count) + @attempt_response_count = args[:attempt_response_count] if args.key?(:attempt_response_count) + @first_attempt_status = args[:first_attempt_status] if args.key?(:first_attempt_status) + @last_attempt_status = args[:last_attempt_status] if args.key?(:last_attempt_status) + end + end + + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest + include Google::Apis::Core::Hashable + + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Throttle config. + # These settings determine the throttling behavior. + class ThrottleConfig + include Google::Apis::Core::Hashable + + # Output only. + # The max burst size limits how fast the queue is processed when + # many tasks are in the queue and the rate is high. This field + # allows the queue to have a high rate so processing starts shortly + # after a task is enqueued, but still limits resource usage when + # many tasks are enqueued in a short period of time. + # * For App Engine queues, if + # ThrottleConfig.max_tasks_dispatched_per_second is 1, this + # field is 10; otherwise this field is + # ThrottleConfig.max_tasks_dispatched_per_second / 5. + # * For pull queues, this field is output only and always 10,000. + # Note: For App Engine queues that were created through + # `queue.yaml/xml`, `max_burst_size` might not have the same + # settings as specified above; CloudTasks.UpdateQueue can be + # used to set `max_burst_size` only to the values specified above. + # This field has the same meaning as + # [bucket_size in queue.yaml](/appengine/docs/standard/python/config/queueref# + # bucket_size). + # Corresponds to the JSON property `maxBurstSize` + # @return [Float] + attr_accessor :max_burst_size + + # The maximum number of outstanding tasks that Cloud Tasks allows + # to be dispatched for this queue. After this threshold has been + # reached, Cloud Tasks stops dispatching tasks until the number of + # outstanding requests decreases. + # The maximum allowed value is 5,000. + # * For App Engine queues, this field is 10 by default. + # * For pull queues, this field is output only and always -1, which + # indicates no limit. + # This field has the same meaning as + # [max_concurrent_requests in queue.yaml](/appengine/docs/standard/python/config/ + # queueref#max_concurrent_requests). + # Corresponds to the JSON property `maxOutstandingTasks` + # @return [Fixnum] + attr_accessor :max_outstanding_tasks + + # The maximum rate at which tasks are dispatched from this + # queue. + # The maximum allowed value is 500. + # * For App Engine queues, this field is 1 by default. + # * For pull queues, this field is output only and always 10,000. + # This field has the same meaning as + # [rate in queue.yaml](/appengine/docs/standard/python/config/queueref#rate). + # Corresponds to the JSON property `maxTasksDispatchedPerSecond` + # @return [Float] + attr_accessor :max_tasks_dispatched_per_second + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_burst_size = args[:max_burst_size] if args.key?(:max_burst_size) + @max_outstanding_tasks = args[:max_outstanding_tasks] if args.key?(:max_outstanding_tasks) + @max_tasks_dispatched_per_second = args[:max_tasks_dispatched_per_second] if args.key?(:max_tasks_dispatched_per_second) + end + end + end + end +end diff --git a/generated/google/apis/cloudtasks_v2beta2/representations.rb b/generated/google/apis/cloudtasks_v2beta2/representations.rb new file mode 100644 index 000000000..9f5a5d509 --- /dev/null +++ b/generated/google/apis/cloudtasks_v2beta2/representations.rb @@ -0,0 +1,554 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module CloudtasksV2beta2 + + class AcknowledgeTaskRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AppEngineHttpRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AppEngineHttpTarget + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AppEngineQueueConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AppEngineRouting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AppEngineTaskTarget + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AttemptStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CancelLeaseRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateTaskRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListQueuesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListTasksResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PauseQueueRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PullMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PullQueueConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PullTarget + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PullTaskTarget + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PullTasksRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PullTasksResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PurgeQueueRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Queue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RenewLeaseRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResumeQueueRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RetryConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RunTaskRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Task + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TaskStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThrottleConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AcknowledgeTaskRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :schedule_time, as: 'scheduleTime' + end + end + + class AppEngineHttpRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_engine_routing, as: 'appEngineRouting', class: Google::Apis::CloudtasksV2beta2::AppEngineRouting, decorator: Google::Apis::CloudtasksV2beta2::AppEngineRouting::Representation + + hash :headers, as: 'headers' + property :http_method, as: 'httpMethod' + property :payload, :base64 => true, as: 'payload' + property :relative_url, as: 'relativeUrl' + end + end + + class AppEngineHttpTarget + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_engine_routing_override, as: 'appEngineRoutingOverride', class: Google::Apis::CloudtasksV2beta2::AppEngineRouting, decorator: Google::Apis::CloudtasksV2beta2::AppEngineRouting::Representation + + end + end + + class AppEngineQueueConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_engine_routing_override, as: 'appEngineRoutingOverride', class: Google::Apis::CloudtasksV2beta2::AppEngineRouting, decorator: Google::Apis::CloudtasksV2beta2::AppEngineRouting::Representation + + end + end + + class AppEngineRouting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :host, as: 'host' + property :instance, as: 'instance' + property :service, as: 'service' + property :version, as: 'version' + end + end + + class AppEngineTaskTarget + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_engine_routing, as: 'appEngineRouting', class: Google::Apis::CloudtasksV2beta2::AppEngineRouting, decorator: Google::Apis::CloudtasksV2beta2::AppEngineRouting::Representation + + hash :headers, as: 'headers' + property :http_method, as: 'httpMethod' + property :payload, :base64 => true, as: 'payload' + property :relative_url, as: 'relativeUrl' + end + end + + class AttemptStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dispatch_time, as: 'dispatchTime' + property :response_status, as: 'responseStatus', class: Google::Apis::CloudtasksV2beta2::Status, decorator: Google::Apis::CloudtasksV2beta2::Status::Representation + + property :response_time, as: 'responseTime' + property :schedule_time, as: 'scheduleTime' + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class CancelLeaseRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_view, as: 'responseView' + property :schedule_time, as: 'scheduleTime' + end + end + + class CreateTaskRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_view, as: 'responseView' + property :task, as: 'task', class: Google::Apis::CloudtasksV2beta2::Task, decorator: Google::Apis::CloudtasksV2beta2::Task::Representation + + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ListQueuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, :base64 => true, as: 'nextPageToken' + collection :queues, as: 'queues', class: Google::Apis::CloudtasksV2beta2::Queue, decorator: Google::Apis::CloudtasksV2beta2::Queue::Representation + + end + end + + class ListTasksResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, :base64 => true, as: 'nextPageToken' + collection :tasks, as: 'tasks', class: Google::Apis::CloudtasksV2beta2::Task, decorator: Google::Apis::CloudtasksV2beta2::Task::Representation + + end + end + + class PauseQueueRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bindings, as: 'bindings', class: Google::Apis::CloudtasksV2beta2::Binding, decorator: Google::Apis::CloudtasksV2beta2::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + end + end + + class PullMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :payload, :base64 => true, as: 'payload' + property :tag, :base64 => true, as: 'tag' + end + end + + class PullQueueConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class PullTarget + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class PullTaskTarget + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :payload, :base64 => true, as: 'payload' + property :tag, :base64 => true, as: 'tag' + end + end + + class PullTasksRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter' + property :lease_duration, as: 'leaseDuration' + property :max_tasks, as: 'maxTasks' + property :response_view, as: 'responseView' + end + end + + class PullTasksResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :tasks, as: 'tasks', class: Google::Apis::CloudtasksV2beta2::Task, decorator: Google::Apis::CloudtasksV2beta2::Task::Representation + + end + end + + class PurgeQueueRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Queue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_engine_http_target, as: 'appEngineHttpTarget', class: Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget, decorator: Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget::Representation + + property :app_engine_queue_config, as: 'appEngineQueueConfig', class: Google::Apis::CloudtasksV2beta2::AppEngineQueueConfig, decorator: Google::Apis::CloudtasksV2beta2::AppEngineQueueConfig::Representation + + property :name, as: 'name' + property :pull_queue_config, as: 'pullQueueConfig', class: Google::Apis::CloudtasksV2beta2::PullQueueConfig, decorator: Google::Apis::CloudtasksV2beta2::PullQueueConfig::Representation + + property :pull_target, as: 'pullTarget', class: Google::Apis::CloudtasksV2beta2::PullTarget, decorator: Google::Apis::CloudtasksV2beta2::PullTarget::Representation + + property :purge_time, as: 'purgeTime' + property :queue_state, as: 'queueState' + property :retry_config, as: 'retryConfig', class: Google::Apis::CloudtasksV2beta2::RetryConfig, decorator: Google::Apis::CloudtasksV2beta2::RetryConfig::Representation + + property :throttle_config, as: 'throttleConfig', class: Google::Apis::CloudtasksV2beta2::ThrottleConfig, decorator: Google::Apis::CloudtasksV2beta2::ThrottleConfig::Representation + + end + end + + class RenewLeaseRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :new_lease_duration, as: 'newLeaseDuration' + property :response_view, as: 'responseView' + property :schedule_time, as: 'scheduleTime' + end + end + + class ResumeQueueRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class RetryConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_attempts, as: 'maxAttempts' + property :max_backoff, as: 'maxBackoff' + property :max_doublings, as: 'maxDoublings' + property :min_backoff, as: 'minBackoff' + property :task_age_limit, as: 'taskAgeLimit' + property :unlimited_attempts, as: 'unlimitedAttempts' + end + end + + class RunTaskRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_view, as: 'responseView' + end + end + + class SetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::CloudtasksV2beta2::Policy, decorator: Google::Apis::CloudtasksV2beta2::Policy::Representation + + 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 Task + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_engine_http_request, as: 'appEngineHttpRequest', class: Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest, decorator: Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest::Representation + + property :app_engine_task_target, as: 'appEngineTaskTarget', class: Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget, decorator: Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget::Representation + + property :create_time, as: 'createTime' + property :name, as: 'name' + property :pull_message, as: 'pullMessage', class: Google::Apis::CloudtasksV2beta2::PullMessage, decorator: Google::Apis::CloudtasksV2beta2::PullMessage::Representation + + property :pull_task_target, as: 'pullTaskTarget', class: Google::Apis::CloudtasksV2beta2::PullTaskTarget, decorator: Google::Apis::CloudtasksV2beta2::PullTaskTarget::Representation + + property :schedule_time, as: 'scheduleTime' + property :task_status, as: 'taskStatus', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation + + property :view, as: 'view' + end + end + + class TaskStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attempt_dispatch_count, :numeric_string => true, as: 'attemptDispatchCount' + property :attempt_response_count, :numeric_string => true, as: 'attemptResponseCount' + property :first_attempt_status, as: 'firstAttemptStatus', class: Google::Apis::CloudtasksV2beta2::AttemptStatus, decorator: Google::Apis::CloudtasksV2beta2::AttemptStatus::Representation + + property :last_attempt_status, as: 'lastAttemptStatus', class: Google::Apis::CloudtasksV2beta2::AttemptStatus, decorator: Google::Apis::CloudtasksV2beta2::AttemptStatus::Representation + + end + end + + class TestIamPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class TestIamPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class ThrottleConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_burst_size, as: 'maxBurstSize' + property :max_outstanding_tasks, as: 'maxOutstandingTasks' + property :max_tasks_dispatched_per_second, as: 'maxTasksDispatchedPerSecond' + end + end + end + end +end diff --git a/generated/google/apis/cloudtasks_v2beta2/service.rb b/generated/google/apis/cloudtasks_v2beta2/service.rb new file mode 100644 index 000000000..72325c6aa --- /dev/null +++ b/generated/google/apis/cloudtasks_v2beta2/service.rb @@ -0,0 +1,947 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module CloudtasksV2beta2 + # Cloud Tasks API + # + # Cloud Tasks enables developers to manage the execution of large numbers of + # distributed requests. Cloud Tasks is in Alpha. + # + # @example + # require 'google/apis/cloudtasks_v2beta2' + # + # Cloudtasks = Google::Apis::CloudtasksV2beta2 # Alias the module + # service = Cloudtasks::CloudTasksService.new + # + # @see https://cloud.google.com/cloud-tasks/ + class CloudTasksService < Google::Apis::Core::BaseService + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://cloudtasks.googleapis.com/', '') + @batch_path = 'batch' + end + + # Creates a queue. + # WARNING: This method is only available to whitelisted + # users. Using this method carries some risk. Read + # [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) + # carefully and then sign up for + # [whitelist access to this method](https://goo.gl/Fe5mUy). + # @param [String] parent + # Required. + # The location name in which the queue will be created. + # For example: `projects/PROJECT_ID/locations/LOCATION_ID` + # The list of allowed locations can be obtained by calling Cloud + # Tasks' implementation of + # google.cloud.location.Locations.ListLocations. + # @param [Google::Apis::CloudtasksV2beta2::Queue] queue_object + # @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::CloudtasksV2beta2::Queue] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Queue] + # + # @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_project_location_queue(parent, queue_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/queues', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation + command.request_object = queue_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Queue + 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 + + # Deletes a queue. + # This command will delete the queue even if it has tasks in it. + # Note: If you delete a queue, a queue with the same name can't be created + # for 7 days. + # WARNING: This method is only available to whitelisted + # users. Using this method carries some risk. Read + # [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) + # carefully and then sign up for + # [whitelist access to this method](https://goo.gl/Fe5mUy). + # @param [String] name + # Required. + # The queue name. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + # @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::CloudtasksV2beta2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Empty + 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 + + # Gets a queue. + # @param [String] name + # Required. + # The resource name of the queue. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + # @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::CloudtasksV2beta2::Queue] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Queue] + # + # @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_queue(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Queue + 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 + + # Gets the access control policy for a Queue. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # Authorization requires the following [Google IAM](/iam) permission on the + # specified resource parent: + # * `cloudtasks.queues.getIamPolicy` + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudtasksV2beta2::GetIamPolicyRequest] get_iam_policy_request_object + # @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::CloudtasksV2beta2::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::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_queue_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+resource}:getIamPolicy', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Policy::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Policy + command.params['resource'] = resource unless resource.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 queues. + # Queues are returned in lexicographical order. + # @param [String] parent + # Required. + # The location name. + # For example: `projects/PROJECT_ID/locations/LOCATION_ID` + # @param [String] filter + # `filter` can be used to specify a subset of queues. Any Queue + # field can be used as a filter and several operators as supported. + # For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as + # described in + # [Stackdriver's Advanced Logs Filters](/logging/docs/view/advanced_filters). + # Sample filter "app_engine_http_target: *". + # Note that using filters might cause fewer queues than the + # requested_page size to be returned. + # @param [Fixnum] page_size + # Requested page size. + # The maximum page size is 9800. If unspecified, the page size will + # be the maximum. Fewer queues than requested might be returned, + # even if more queues exist; use + # ListQueuesResponse.next_page_token to determine if more + # queues exist. + # @param [String] page_token + # A token identifying the page of results to return. + # To request the first page results, page_token must be empty. To + # request the next page of results, page_token must be the value of + # ListQueuesResponse.next_page_token returned from the previous + # call to CloudTasks.ListQueues method. It is an error to + # switch the value of ListQueuesRequest.filter while iterating + # through pages. + # @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::CloudtasksV2beta2::ListQueuesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::ListQueuesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_queues(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+parent}/queues', options) + command.response_representation = Google::Apis::CloudtasksV2beta2::ListQueuesResponse::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::ListQueuesResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a queue. + # This method creates the queue if it does not exist and updates + # the queue if it does exist. + # WARNING: This method is only available to whitelisted + # users. Using this method carries some risk. Read + # [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) + # carefully and then sign up for + # [whitelist access to this method](https://goo.gl/Fe5mUy). + # @param [String] name + # The queue name. + # The queue name must have the following format: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + # * `PROJECT_ID` can contain uppercase and lowercase letters, + # numbers, hyphens, colons, and periods; that is, it must match + # the regular expression: `[a-zA-Z\\d-:\\.]+`. + # * `QUEUE_ID` can contain uppercase and lowercase letters, + # numbers, and hyphens; that is, it must match the regular + # expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + # characters. + # Caller-specified and required in CreateQueueRequest, after which + # it becomes output only. + # @param [Google::Apis::CloudtasksV2beta2::Queue] queue_object + # @param [String] update_mask + # A mask used to specify which fields of the queue are being updated. + # If empty, then all fields will be updated. + # @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::CloudtasksV2beta2::Queue] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Queue] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_queue(name, queue_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2beta2/{+name}', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation + command.request_object = queue_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Queue + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Pauses the queue. + # If a queue is paused then the system will stop executing the + # tasks in the queue until it is resumed via + # CloudTasks.ResumeQueue. Tasks can still be added when the + # queue is paused. The state of the queue is stored in + # Queue.queue_state; if paused it will be set to + # Queue.QueueState.PAUSED. + # WARNING: This method is only available to whitelisted + # users. Using this method carries some risk. Read + # [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) + # carefully and then sign up for + # [whitelist access to this method](https://goo.gl/Fe5mUy). + # @param [String] name + # Required. + # The queue name. For example: + # `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + # @param [Google::Apis::CloudtasksV2beta2::PauseQueueRequest] pause_queue_request_object + # @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::CloudtasksV2beta2::Queue] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Queue] + # + # @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 pause_queue(name, pause_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+name}:pause', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::PauseQueueRequest::Representation + command.request_object = pause_queue_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Queue + 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 + + # Purges a queue by deleting all of its tasks. + # All tasks created before this method is called are permanently deleted. + # Purge operations can take up to one minute to take effect. Tasks + # might be dispatched before the purge takes effect. A purge is irreversible. + # @param [String] name + # Required. + # The queue name. For example: + # `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + # @param [Google::Apis::CloudtasksV2beta2::PurgeQueueRequest] purge_queue_request_object + # @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::CloudtasksV2beta2::Queue] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Queue] + # + # @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 purge_queue(name, purge_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+name}:purge', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::PurgeQueueRequest::Representation + command.request_object = purge_queue_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Queue + 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 + + # Resume a queue. + # This method resumes a queue after it has been + # Queue.QueueState.PAUSED or Queue.QueueState.DISABLED. The state of + # a queue is stored in Queue.queue_state; after calling this method it + # will be set to Queue.QueueState.RUNNING. + # WARNING: This method is only available to whitelisted + # users. Using this method carries some risk. Read + # [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) + # carefully and then sign up for + # [whitelist access to this method](https://goo.gl/Fe5mUy). + # WARNING: Resuming many high-QPS queues at the same time can + # lead to target overloading. If you are resuming high-QPS + # queues, follow the 500/50/5 pattern described in + # [Managing Cloud Tasks Scaling Risks](/cloud-tasks/pdfs/managing-cloud-tasks- + # scaling-risks-2017-06-05.pdf). + # @param [String] name + # Required. + # The queue name. For example: + # `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + # @param [Google::Apis::CloudtasksV2beta2::ResumeQueueRequest] resume_queue_request_object + # @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::CloudtasksV2beta2::Queue] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Queue] + # + # @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 resume_queue(name, resume_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+name}:resume', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::ResumeQueueRequest::Representation + command.request_object = resume_queue_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Queue + 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 + + # Sets the access control policy for a Queue. Replaces any existing + # policy. + # Authorization requires the following [Google IAM](/iam) permission on the + # specified resource parent: + # * `cloudtasks.queues.setIamPolicy` + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudtasksV2beta2::SetIamPolicyRequest] set_iam_policy_request_object + # @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::CloudtasksV2beta2::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::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_queue_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Policy::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on a Queue. + # If the resource does not exist, this will return an empty set of + # permissions, not a google.rpc.Code.NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudtasksV2beta2::TestIamPermissionsRequest] test_iam_permissions_request_object + # @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::CloudtasksV2beta2::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_queue_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Acknowledges a pull task. + # The lease holder, that is, the entity that received this task in + # a PullTasksResponse, must call this method to indicate that + # the work associated with the task has finished. + # The lease holder must acknowledge a task within the + # PullTasksRequest.lease_duration or the lease will expire and + # the task will become ready to be returned in a different + # PullTasksResponse. After the task is acknowledged, it will + # not be returned by a later CloudTasks.PullTasks, + # CloudTasks.GetTask, or CloudTasks.ListTasks. + # @param [String] name + # Required. + # The task name. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + # @param [Google::Apis::CloudtasksV2beta2::AcknowledgeTaskRequest] acknowledge_task_request_object + # @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::CloudtasksV2beta2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Empty] + # + # @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 acknowledge_task(name, acknowledge_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+name}:acknowledge', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::AcknowledgeTaskRequest::Representation + command.request_object = acknowledge_task_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Empty + 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 + + # Cancel a pull task's lease. + # The lease holder can use this method to cancel a task's lease + # by setting Task.schedule_time to now. This will make the task + # available to be leased to the next caller of CloudTasks.PullTasks. + # @param [String] name + # Required. + # The task name. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + # @param [Google::Apis::CloudtasksV2beta2::CancelLeaseRequest] cancel_lease_request_object + # @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::CloudtasksV2beta2::Task] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Task] + # + # @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 cancel_task_lease(name, cancel_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+name}:cancelLease', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::CancelLeaseRequest::Representation + command.request_object = cancel_lease_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Task + 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 + + # Creates a task and adds it to a queue. + # To add multiple tasks at the same time, use + # [HTTP batching](/storage/docs/json_api/v1/how-tos/batch) + # or the batching documentation for your client library, for example + # https://developers.google.com/api-client-library/python/guide/batch. + # Tasks cannot be updated after creation; there is no UpdateTask command. + # @param [String] parent + # Required. + # The queue name. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + # The queue must already exist. + # @param [Google::Apis::CloudtasksV2beta2::CreateTaskRequest] create_task_request_object + # @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::CloudtasksV2beta2::Task] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Task] + # + # @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_task(parent, create_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/tasks', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::CreateTaskRequest::Representation + command.request_object = create_task_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Task + 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 + + # Deletes a task. + # A task can be deleted if it is scheduled or dispatched. A task + # cannot be deleted if it has completed successfully or permanently + # failed. + # @param [String] name + # Required. + # The task name. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + # @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::CloudtasksV2beta2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_queue_task(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Empty + 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 + + # Gets a task. + # @param [String] name + # Required. + # The task name. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + # @param [String] response_view + # The response_view specifies which subset of the Task will be + # returned. + # By default response_view is Task.View.BASIC; not all + # information is retrieved by default because some data, such as + # payloads, might be desirable to return only when needed because + # of its large size or because of the sensitivity of data that it + # contains. + # Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + # [Google IAM](/iam/) permission on the + # Task.name 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::CloudtasksV2beta2::Task] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Task] + # + # @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_queue_task(name, response_view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Task + command.params['name'] = name unless name.nil? + command.query['responseView'] = response_view unless response_view.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 the tasks in a queue. + # By default response_view is Task.View.BASIC; not all + # information is retrieved by default due to performance + # considerations; ListTasksRequest.response_view controls the + # subset of information which is returned. + # @param [String] parent + # Required. + # The queue name. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + # @param [String] order_by + # Sort order used for the query. The fields supported for sorting + # are Task.schedule_time and PullTaskTarget.tag. All results will be + # returned in ascending order. The default ordering is by + # Task.schedule_time. + # @param [Fixnum] page_size + # Requested page size. Fewer tasks than requested might be returned. + # The maximum page size is 1000. If unspecified, the page size will + # be the maximum. Fewer tasks than requested might be returned, + # even if more tasks exist; use + # ListTasksResponse.next_page_token to determine if more tasks + # exist. + # @param [String] page_token + # A token identifying the page of results to return. + # To request the first page results, page_token must be empty. To + # request the next page of results, page_token must be the value of + # ListTasksResponse.next_page_token returned from the previous + # call to CloudTasks.ListTasks method. + # The page token is valid for only 2 hours. + # @param [String] response_view + # The response_view specifies which subset of the Task will be + # returned. + # By default response_view is Task.View.BASIC; not all + # information is retrieved by default because some data, such as + # payloads, might be desirable to return only when needed because + # of its large size or because of the sensitivity of data that it + # contains. + # Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + # [Google IAM](/iam/) permission on the + # Task.name 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::CloudtasksV2beta2::ListTasksResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::ListTasksResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_queue_tasks(parent, order_by: nil, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+parent}/tasks', options) + command.response_representation = Google::Apis::CloudtasksV2beta2::ListTasksResponse::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::ListTasksResponse + command.params['parent'] = parent unless parent.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['responseView'] = response_view unless response_view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Pulls tasks from a pull queue and acquires a lease on them for a + # specified PullTasksRequest.lease_duration. + # This method is invoked by the lease holder to obtain the + # lease. The lease holder must acknowledge the task via + # CloudTasks.AcknowledgeTask after they have performed the work + # associated with the task. + # The payload is intended to store data that the lease holder needs + # to perform the work associated with the task. To return the + # payloads in the PullTasksResponse, set + # PullTasksRequest.response_view to Task.View.FULL. + # @param [String] name + # Required. + # The queue name. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + # @param [Google::Apis::CloudtasksV2beta2::PullTasksRequest] pull_tasks_request_object + # @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::CloudtasksV2beta2::PullTasksResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::PullTasksResponse] + # + # @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 pull_tasks(name, pull_tasks_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+name}/tasks:pull', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::PullTasksRequest::Representation + command.request_object = pull_tasks_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::PullTasksResponse::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::PullTasksResponse + 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 + + # Renew the current lease of a pull task. + # The lease holder can use this method to extend the lease by a new + # duration, starting from now. The new task lease will be + # returned in Task.schedule_time. + # @param [String] name + # Required. + # The task name. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + # @param [Google::Apis::CloudtasksV2beta2::RenewLeaseRequest] renew_lease_request_object + # @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::CloudtasksV2beta2::Task] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Task] + # + # @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 renew_task_lease(name, renew_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+name}:renewLease', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::RenewLeaseRequest::Representation + command.request_object = renew_lease_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Task + 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 + + # Forces a task to run now. + # This command is meant to be used for manual debugging. For + # example, CloudTasks.RunTask can be used to retry a failed + # task after a fix has been made or to manually force a task to be + # dispatched now. + # When this method is called, Cloud Tasks will dispatch the task to its + # target, even if the queue is Queue.QueueState.PAUSED. + # The dispatched task is returned. That is, the task that is returned + # contains the Task.task_status after the task is dispatched but + # before the task is received by its target. + # If Cloud Tasks receives a successful response from the task's + # handler, then the task will be deleted; otherwise the task's + # Task.schedule_time will be reset to the time that + # CloudTasks.RunTask was called plus the retry delay specified + # in the queue and task's RetryConfig. + # CloudTasks.RunTask returns google.rpc.Code.NOT_FOUND when + # it is called on a task that has already succeeded or permanently + # failed. google.rpc.Code.FAILED_PRECONDITION is returned when + # CloudTasks.RunTask is called on task that is dispatched or + # already running. + # @param [String] name + # Required. + # The task name. For example: + # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + # @param [Google::Apis::CloudtasksV2beta2::RunTaskRequest] run_task_request_object + # @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::CloudtasksV2beta2::Task] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Task] + # + # @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 run_task(name, run_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+name}:run', options) + command.request_representation = Google::Apis::CloudtasksV2beta2::RunTaskRequest::Representation + command.request_object = run_task_request_object + command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Task + 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 + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/compute_alpha.rb b/generated/google/apis/compute_alpha.rb index 55cfdcc85..a41989c53 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 = '20170821' + REVISION = '20170905' # 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 5b0cbd855..c2a27f4ee 100644 --- a/generated/google/apis/compute_alpha/classes.rb +++ b/generated/google/apis/compute_alpha/classes.rb @@ -1063,10 +1063,9 @@ module Google # @return [Fixnum] attr_accessor :disk_size_gb - # Assigns a zero-based index to this disk, where 0 is reserved for the boot disk. - # For example, if you have many disks attached to an instance, each disk would - # have a unique index number. If not specified, the server will choose an - # appropriate value. + # [Output Only] A zero-based index to this disk, where 0 is reserved for the + # boot disk. If you have many disks attached to an instance, each disk would + # have a unique index number. # Corresponds to the JSON property `index` # @return [Fixnum] attr_accessor :index @@ -2105,6 +2104,15 @@ module Google # @return [Fixnum] attr_accessor :max_connections + # The max number of simultaneous connections that a single backend network + # endpoint can handle. This is used to calculate the capacity of the group. Can + # be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION + # mode, either maxConnections or maxConnectionsPerEndpoint must be set. + # This cannot be used for internal load balancing. + # Corresponds to the JSON property `maxConnectionsPerEndpoint` + # @return [Fixnum] + attr_accessor :max_connections_per_endpoint + # The max number of simultaneous connections that a single backend instance can # handle. This is used to calculate the capacity of the group. Can be used in # either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either @@ -2122,6 +2130,15 @@ module Google # @return [Fixnum] attr_accessor :max_rate + # The max requests per second (RPS) that a single backend network endpoint can + # handle. This is used to calculate the capacity of the group. Can be used in + # either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint + # must be set. + # This cannot be used for internal load balancing. + # Corresponds to the JSON property `maxRatePerEndpoint` + # @return [Float] + attr_accessor :max_rate_per_endpoint + # The max requests per second (RPS) that a single backend instance can handle. # This is used to calculate the capacity of the group. Can be used in either # balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be @@ -2150,8 +2167,10 @@ module Google @failover = args[:failover] if args.key?(:failover) @group = args[:group] if args.key?(:group) @max_connections = args[:max_connections] if args.key?(:max_connections) + @max_connections_per_endpoint = args[:max_connections_per_endpoint] if args.key?(:max_connections_per_endpoint) @max_connections_per_instance = args[:max_connections_per_instance] if args.key?(:max_connections_per_instance) @max_rate = args[:max_rate] if args.key?(:max_rate) + @max_rate_per_endpoint = args[:max_rate_per_endpoint] if args.key?(:max_rate_per_endpoint) @max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance) @max_utilization = args[:max_utilization] if args.key?(:max_utilization) end @@ -2430,19 +2449,10 @@ module Google attr_accessor :enable_cdn alias_method :enable_cdn?, :enable_cdn - # The value of the field must be in [0, 1]. If set, 'backends[].failover' must - # be set. They together define the fallback behavior of the primary backend: if - # the ratio of the healthy VMs in the primary backend is at or below this number, - # traffic arriving at the load-balanced IP will be directed to the failover - # backend. - # In case where 'failoverRatio' is not set or all the VMs in the backup backend - # are unhealthy, the traffic will be directed back to the primary backend in the - # "force" mode, where traffic will be spread to the healthy VMs with the best - # effort, or to all VMs when no VM is healthy. - # This field is only used with l4 load balancing. - # Corresponds to the JSON property `failoverRatio` - # @return [Float] - attr_accessor :failover_ratio + # + # Corresponds to the JSON property `failoverPolicy` + # @return [Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy] + attr_accessor :failover_policy # Fingerprint of this resource. A hash of the contents stored in this object. # This field is used in optimistic locking. This field will be ignored when @@ -2568,7 +2578,7 @@ module Google @custom_request_headers = args[:custom_request_headers] if args.key?(:custom_request_headers) @description = args[:description] if args.key?(:description) @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn) - @failover_ratio = args[:failover_ratio] if args.key?(:failover_ratio) + @failover_policy = args[:failover_policy] if args.key?(:failover_policy) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @health_checks = args[:health_checks] if args.key?(:health_checks) @iap = args[:iap] if args.key?(:iap) @@ -2742,6 +2752,55 @@ module Google end end + # + class BackendServiceFailoverPolicy + include Google::Apis::Core::Hashable + + # On failover or failback, this field indicates whether connection drain will be + # honored. Setting this to true has the following effect: connections to the old + # active pool are not drained. Connections to the new active pool use the + # timeout of 10 min (currently fixed). Setting to false has the following effect: + # both old and new connections will have a drain timeout of 10 min. + # This can be set to true only if the protocol is TCP. + # The default is false. + # Corresponds to the JSON property `disableConnectionDrainOnFailover` + # @return [Boolean] + attr_accessor :disable_connection_drain_on_failover + alias_method :disable_connection_drain_on_failover?, :disable_connection_drain_on_failover + + # This option is used only when no healthy VMs are detected in the primary and + # backup instance groups. When set to true, traffic is dropped. When set to + # false, new connections are sent across all VMs in the primary group. + # The default is false. + # Corresponds to the JSON property `dropTrafficIfUnhealthy` + # @return [Boolean] + attr_accessor :drop_traffic_if_unhealthy + alias_method :drop_traffic_if_unhealthy?, :drop_traffic_if_unhealthy + + # The value of the field must be in [0, 1]. If the ratio of the healthy VMs in + # the primary backend is at or below this number, traffic arriving at the load- + # balanced IP will be directed to the failover backend. + # In case where 'failoverRatio' is not set or all the VMs in the backup backend + # are unhealthy, the traffic will be directed back to the primary backend in the + # "force" mode, where traffic will be spread to the healthy VMs with the best + # effort, or to all VMs when no VM is healthy. + # This field is only used with l4 load balancing. + # Corresponds to the JSON property `failoverRatio` + # @return [Float] + attr_accessor :failover_ratio + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disable_connection_drain_on_failover = args[:disable_connection_drain_on_failover] if args.key?(:disable_connection_drain_on_failover) + @drop_traffic_if_unhealthy = args[:drop_traffic_if_unhealthy] if args.key?(:drop_traffic_if_unhealthy) + @failover_ratio = args[:failover_ratio] if args.key?(:failover_ratio) + end + end + # class BackendServiceGroupHealth include Google::Apis::Core::Hashable @@ -5342,6 +5401,18 @@ module Google # @return [String] attr_accessor :description + # Fingerprint of this resource. A hash of the contents stored in this object. + # This field is used in optimistic locking. This field will be ignored when + # inserting a ForwardingRule. Include the fingerprint in patch request to ensure + # that you do not overwrite changes that were applied from another concurrent + # request. + # To see the latest fingerprint, make a get() request to retrieve a + # ForwardingRule. + # Corresponds to the JSON property `fingerprint` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :fingerprint + # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` @@ -5506,6 +5577,7 @@ module Google @backend_service = args[:backend_service] if args.key?(:backend_service) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @id = args[:id] if args.key?(:id) @ip_version = args[:ip_version] if args.key?(:ip_version) @kind = args[:kind] if args.key?(:kind) @@ -5990,6 +6062,26 @@ module Google # @return [String] attr_accessor :port_name + # Specifies how port is selected for health checking, can be one of following + # values: + # USE_FIXED_PORT: The port number in + # port + # is used for health checking. + # USE_NAMED_PORT: The + # portName + # is used for health checking. + # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each + # network endpoint is used for health checking. For other backends, the port or + # named port specified in the Backend Service is used for health checking. + # If not specified, HTTP2 health check follows behavior specified in + # port + # and + # portName + # fields. + # Corresponds to the JSON property `portSpecification` + # @return [String] + attr_accessor :port_specification + # Specifies the type of proxy header to append before sending data to the # backend, either NONE or PROXY_V1. The default is NONE. # Corresponds to the JSON property `proxyHeader` @@ -6017,6 +6109,7 @@ module Google @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) + @port_specification = args[:port_specification] if args.key?(:port_specification) @proxy_header = args[:proxy_header] if args.key?(:proxy_header) @request_path = args[:request_path] if args.key?(:request_path) @response = args[:response] if args.key?(:response) @@ -6046,6 +6139,26 @@ module Google # @return [String] attr_accessor :port_name + # Specifies how port is selected for health checking, can be one of following + # values: + # USE_FIXED_PORT: The port number in + # port + # is used for health checking. + # USE_NAMED_PORT: The + # portName + # is used for health checking. + # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each + # network endpoint is used for health checking. For other backends, the port or + # named port specified in the Backend Service is used for health checking. + # If not specified, HTTP health check follows behavior specified in + # port + # and + # portName + # fields. + # Corresponds to the JSON property `portSpecification` + # @return [String] + attr_accessor :port_specification + # Specifies the type of proxy header to append before sending data to the # backend, either NONE or PROXY_V1. The default is NONE. # Corresponds to the JSON property `proxyHeader` @@ -6073,6 +6186,7 @@ module Google @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) + @port_specification = args[:port_specification] if args.key?(:port_specification) @proxy_header = args[:proxy_header] if args.key?(:proxy_header) @request_path = args[:request_path] if args.key?(:request_path) @response = args[:response] if args.key?(:response) @@ -6102,6 +6216,26 @@ module Google # @return [String] attr_accessor :port_name + # Specifies how port is selected for health checking, can be one of following + # values: + # USE_FIXED_PORT: The port number in + # port + # is used for health checking. + # USE_NAMED_PORT: The + # portName + # is used for health checking. + # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each + # network endpoint is used for health checking. For other backends, the port or + # named port specified in the Backend Service is used for health checking. + # If not specified, HTTPS health check follows behavior specified in + # port + # and + # portName + # fields. + # Corresponds to the JSON property `portSpecification` + # @return [String] + attr_accessor :port_specification + # Specifies the type of proxy header to append before sending data to the # backend, either NONE or PROXY_V1. The default is NONE. # Corresponds to the JSON property `proxyHeader` @@ -6129,6 +6263,7 @@ module Google @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) + @port_specification = args[:port_specification] if args.key?(:port_specification) @proxy_header = args[:proxy_header] if args.key?(:proxy_header) @request_path = args[:request_path] if args.key?(:request_path) @response = args[:response] if args.key?(:response) @@ -8201,6 +8336,12 @@ module Google # @return [String] attr_accessor :creation_timestamp + # Whether the resource should be protected against deletion. + # Corresponds to the JSON property `deletionProtection` + # @return [Boolean] + attr_accessor :deletion_protection + alias_method :deletion_protection?, :deletion_protection + # An optional description of this resource. Provide this property when you # create the resource. # Corresponds to the JSON property `description` @@ -8364,6 +8505,7 @@ module Google @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward) @cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection) @description = args[:description] if args.key?(:description) @disks = args[:disks] if args.key?(:disks) @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators) @@ -11416,7 +11558,7 @@ module Google end # Protocol definitions for Mixer API to support InterconnectAttachment. Next - # available tag: 14 + # available tag: 18 class InterconnectAttachment include Google::Apis::Core::Hashable @@ -15688,6 +15830,13 @@ module Google # @return [String] attr_accessor :creation_timestamp + # This signifies the default network tier used for configuring resources of the + # project and can only take the following values: PREMIUM, STANDARD. Initially + # the default network tier is PREMIUM. + # Corresponds to the JSON property `defaultNetworkTier` + # @return [String] + attr_accessor :default_network_tier + # [Output Only] Default service account used by VMs running in this project. # Corresponds to the JSON property `defaultServiceAccount` # @return [String] @@ -15751,6 +15900,7 @@ module Google def update!(**args) @common_instance_metadata = args[:common_instance_metadata] if args.key?(:common_instance_metadata) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @default_network_tier = args[:default_network_tier] if args.key?(:default_network_tier) @default_service_account = args[:default_service_account] if args.key?(:default_service_account) @description = args[:description] if args.key?(:description) @enabled_features = args[:enabled_features] if args.key?(:enabled_features) @@ -15821,7 +15971,7 @@ module Google # @return [String] attr_accessor :next_page_token - # Serive resources (a.k.a service projects) attached to this project as their + # Service resources (a.k.a service projects) attached to this project as their # shared VPC host. # Corresponds to the JSON property `resources` # @return [Array] @@ -15860,6 +16010,25 @@ module Google end end + # + class ProjectsSetDefaultNetworkTierRequest + include Google::Apis::Core::Hashable + + # Default network tier to be set. + # Corresponds to the JSON property `networkTier` + # @return [String] + attr_accessor :network_tier + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @network_tier = args[:network_tier] if args.key?(:network_tier) + end + end + # class ProjectsSetDefaultServiceAccountRequest include Google::Apis::Core::Hashable @@ -18548,6 +18717,26 @@ module Google # @return [String] attr_accessor :port_name + # Specifies how port is selected for health checking, can be one of following + # values: + # USE_FIXED_PORT: The port number in + # port + # is used for health checking. + # USE_NAMED_PORT: The + # portName + # is used for health checking. + # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each + # network endpoint is used for health checking. For other backends, the port or + # named port specified in the Backend Service is used for health checking. + # If not specified, SSL health check follows behavior specified in + # port + # and + # portName + # fields. + # Corresponds to the JSON property `portSpecification` + # @return [String] + attr_accessor :port_specification + # Specifies the type of proxy header to append before sending data to the # backend, either NONE or PROXY_V1. The default is NONE. # Corresponds to the JSON property `proxyHeader` @@ -18577,6 +18766,7 @@ module Google def update!(**args) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) + @port_specification = args[:port_specification] if args.key?(:port_specification) @proxy_header = args[:proxy_header] if args.key?(:proxy_header) @request = args[:request] if args.key?(:request) @response = args[:response] if args.key?(:response) @@ -18626,118 +18816,6 @@ module Google end end - # - class SecurityPoliciesList - include Google::Apis::Core::Hashable - - # [Output Only] Unique identifier for the resource; defined by the server. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A list of SecurityPolicy resources. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # [Output Only] Type of resource. Always compute#securityPoliciesList for - # listsof securityPolicies - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # [Output Only] This token allows you to get the next page of results for list - # requests. If the number of results is larger than maxResults, use the - # nextPageToken as a value for the query parameter pageToken in the next list - # request. Subsequent list requests will have their own nextPageToken to - # continue paging through the results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # [Output Only] Informational warning message. - # Corresponds to the JSON property `warning` - # @return [Google::Apis::ComputeAlpha::SecurityPoliciesList::Warning] - attr_accessor :warning - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @warning = args[:warning] if args.key?(:warning) - end - - # [Output Only] Informational warning message. - class Warning - include Google::Apis::Core::Hashable - - # [Output Only] A warning code, if applicable. For example, Compute Engine - # returns NO_RESULTS_ON_PAGE if there are no results in the response. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - # [Output Only] Metadata about this warning in key: value format. For example: - # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` - # Corresponds to the JSON property `data` - # @return [Array] - attr_accessor :data - - # [Output Only] A human-readable description of the warning code. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @data = args[:data] if args.key?(:data) - @message = args[:message] if args.key?(:message) - end - - # - class Datum - include Google::Apis::Core::Hashable - - # [Output Only] A key that provides more detail on the warning being returned. - # For example, for warnings where there are no results in a list request for a - # particular zone, this key might be scope and the key value might be the zone - # name. Other examples might be a key indicating a deprecated resource and a - # suggested replacement, or a warning about invalid network settings (for - # example, if an instance attempts to perform IP forwarding but is not enabled - # for IP forwarding). - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # [Output Only] A warning data value corresponding to the key. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key = args[:key] if args.key?(:key) - @value = args[:value] if args.key?(:value) - end - end - end - end - # A security policy is comprised of one or more rules. It can also be associated # with one or more 'targets'. class SecurityPolicy @@ -18816,6 +18894,118 @@ module Google end end + # + class SecurityPolicyList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of SecurityPolicy resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#securityPolicyList for listsof + # securityPolicies + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::SecurityPolicyList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # class SecurityPolicyReference include Google::Apis::Core::Hashable @@ -19512,6 +19702,333 @@ module Google end end + # + class SslPoliciesList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of SslPolicy resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of the resource. Always compute#sslPoliciesList for lists + # of sslPolicies. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::SslPoliciesList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + + # + class SslPoliciesListAvailableFeaturesResponse + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `features` + # @return [Array] + attr_accessor :features + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @features = args[:features] if args.key?(:features) + end + end + + # A SSL policy specifies the server-side support for SSL features. This can be + # attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections + # between clients and the HTTPS or SSL proxy load balancer. They do not affect + # the connection between the load balancers and the backends. + class SslPolicy + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # List of features enabled when the selected profile is CUSTOM. The + # - method returns the set of features that can be specified in this list. This + # field must be empty if the profile is not CUSTOM. + # Corresponds to the JSON property `customFeatures` + # @return [Array] + attr_accessor :custom_features + + # An optional description of this resource. Provide this property when you + # create the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] The list of features enabled in the SSL policy. + # Corresponds to the JSON property `enabledFeatures` + # @return [Array] + attr_accessor :enabled_features + + # Fingerprint of this resource. A hash of the contents stored in this object. + # This field is used in optimistic locking. This field will be ignored when + # inserting a SslPolicy. An up-to-date fingerprint must be provided in order to + # update the SslPolicy. + # Corresponds to the JSON property `fingerprint` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :fingerprint + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The minimum version of SSL protocol that can be used by the clients to + # establish a connection with the load balancer. This can be one of TLS_1_0, + # TLS_1_1, TLS_1_2, TLS_1_3. + # Corresponds to the JSON property `minTlsVersion` + # @return [String] + attr_accessor :min_tls_version + + # Name of the resource. The name must be 1-63 characters long, and comply with + # RFC1035. Specifically, the name must be 1-63 characters long and match the + # regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character + # must be a lowercase letter, and all following characters must be a dash, + # lowercase letter, or digit, except the last character, which cannot be a dash. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Profile specifies the set of SSL features that can be used by the load + # balancer when negotiating SSL with clients. This can be one of COMPATIBLE, + # MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to + # enable must be specified in the customFeatures field. + # Corresponds to the JSON property `profile` + # @return [String] + attr_accessor :profile + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] If potential misconfigurations are detected for this SSL policy, + # this field will be populated with warning messages. + # Corresponds to the JSON property `warnings` + # @return [Array] + attr_accessor :warnings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @custom_features = args[:custom_features] if args.key?(:custom_features) + @description = args[:description] if args.key?(:description) + @enabled_features = args[:enabled_features] if args.key?(:enabled_features) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @min_tls_version = args[:min_tls_version] if args.key?(:min_tls_version) + @name = args[:name] if args.key?(:name) + @profile = args[:profile] if args.key?(:profile) + @self_link = args[:self_link] if args.key?(:self_link) + @warnings = args[:warnings] if args.key?(:warnings) + end + + # + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + + # + class SslPolicyReference + include Google::Apis::Core::Hashable + + # URL of the SSL policy resource. Set this to empty string to clear any existing + # SSL policy associated with the target proxy resource. + # Corresponds to the JSON property `sslPolicy` + # @return [String] + attr_accessor :ssl_policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy) + end + end + # A Subnetwork resource. class Subnetwork include Google::Apis::Core::Hashable @@ -20060,6 +20577,26 @@ module Google # @return [String] attr_accessor :port_name + # Specifies how port is selected for health checking, can be one of following + # values: + # USE_FIXED_PORT: The port number in + # port + # is used for health checking. + # USE_NAMED_PORT: The + # portName + # is used for health checking. + # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each + # network endpoint is used for health checking. For other backends, the port or + # named port specified in the Backend Service is used for health checking. + # If not specified, TCP health check follows behavior specified in + # port + # and + # portName + # fields. + # Corresponds to the JSON property `portSpecification` + # @return [String] + attr_accessor :port_specification + # Specifies the type of proxy header to append before sending data to the # backend, either NONE or PROXY_V1. The default is NONE. # Corresponds to the JSON property `proxyHeader` @@ -20089,6 +20626,7 @@ module Google def update!(**args) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) + @port_specification = args[:port_specification] if args.key?(:port_specification) @proxy_header = args[:proxy_header] if args.key?(:proxy_header) @request = args[:request] if args.key?(:request) @response = args[:response] if args.key?(:response) @@ -20414,6 +20952,13 @@ module Google # @return [Array] attr_accessor :ssl_certificates + # URL of SslPolicy resource that will be associated with the TargetHttpsProxy + # resource. If not set, the TargetHttpsProxy resource will not have any SSL + # policy configured. + # Corresponds to the JSON property `sslPolicy` + # @return [String] + attr_accessor :ssl_policy + # A fully-qualified or valid partial URL to the UrlMap resource that defines the # mapping from URL to the BackendService. For example, the following are all # valid URLs for specifying a URL map: @@ -20439,6 +20984,7 @@ module Google @quic_override = args[:quic_override] if args.key?(:quic_override) @self_link = args[:self_link] if args.key?(:self_link) @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates) + @ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy) @url_map = args[:url_map] if args.key?(:url_map) end end @@ -21675,6 +22221,13 @@ module Google # @return [Array] attr_accessor :ssl_certificates + # URL of SslPolicy resource that will be associated with the TargetSslProxy + # resource. If not set, the TargetSslProxy resource will not have any SSL policy + # configured. + # Corresponds to the JSON property `sslPolicy` + # @return [String] + attr_accessor :ssl_policy + def initialize(**args) update!(**args) end @@ -21691,6 +22244,7 @@ module Google @self_link = args[:self_link] if args.key?(:self_link) @service = args[:service] if args.key?(:service) @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates) + @ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy) end end @@ -22071,6 +22625,25 @@ module Google # @return [String] attr_accessor :kind + # A fingerprint for the labels being applied to this TargetVpnGateway, which is + # essentially a hash of the labels set used for optimistic locking. The + # fingerprint is initially generated by Compute Engine and changes after every + # request to modify or update labels. You must always provide an up-to-date + # fingerprint hash in order to update or change labels. + # To see the latest fingerprint, make a get() request to retrieve an + # TargetVpnGateway. + # Corresponds to the JSON property `labelFingerprint` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :label_fingerprint + + # Labels to apply to this TargetVpnGateway resource. These can be later modified + # by the setLabels method. Each label key/value must comply with RFC1035. Label + # values may be empty. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # Name of the resource. Provided by the client when the resource is created. The # name must be 1-63 characters long, and comply with RFC1035. Specifically, the # name must be 1-63 characters long and match the regular expression [a-z]([-a- @@ -22119,6 +22692,8 @@ module Google @forwarding_rules = args[:forwarding_rules] if args.key?(:forwarding_rules) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) + @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint) + @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @region = args[:region] if args.key?(:region) @@ -22919,6 +23494,144 @@ module Google end end + # Subnetwork which the current user has compute.subnetworks.use permission on. + class UsableSubnetwork + include Google::Apis::Core::Hashable + + # Subnetwork URL. + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) + end + end + + # + class UsableSubnetworksAggregatedList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # [Output] A list of usable subnetwork URLs. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList + # for aggregated lists of usable subnetworks. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # The location in Cloud Storage and naming method of the daily usage report. # Contains bucket_name and report_name prefix. class UsageExportLocation diff --git a/generated/google/apis/compute_alpha/representations.rb b/generated/google/apis/compute_alpha/representations.rb index 50ff624c3..5c45cd842 100644 --- a/generated/google/apis/compute_alpha/representations.rb +++ b/generated/google/apis/compute_alpha/representations.rb @@ -358,6 +358,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BackendServiceFailoverPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendServiceGroupHealth class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2164,6 +2170,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ProjectsSetDefaultNetworkTierRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ProjectsSetDefaultServiceAccountRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2590,7 +2602,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SecurityPoliciesList + class SecurityPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SecurityPolicyList class Representation < Google::Apis::Core::JsonRepresentation; end class Warning @@ -2608,12 +2626,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SecurityPolicy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class SecurityPolicyReference class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2704,6 +2716,54 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SslPoliciesList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class SslPoliciesListAvailableFeaturesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SslPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class SslPolicyReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Subnetwork class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3226,6 +3286,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UsableSubnetwork + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UsableSubnetworksAggregatedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class UsageExportLocation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3848,8 +3932,10 @@ module Google property :failover, as: 'failover' property :group, as: 'group' property :max_connections, as: 'maxConnections' + property :max_connections_per_endpoint, as: 'maxConnectionsPerEndpoint' property :max_connections_per_instance, as: 'maxConnectionsPerInstance' property :max_rate, as: 'maxRate' + property :max_rate_per_endpoint, as: 'maxRatePerEndpoint' property :max_rate_per_instance, as: 'maxRatePerInstance' property :max_utilization, as: 'maxUtilization' end @@ -3925,7 +4011,8 @@ module Google collection :custom_request_headers, as: 'customRequestHeaders' property :description, as: 'description' property :enable_cdn, as: 'enableCDN' - property :failover_ratio, as: 'failoverRatio' + property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy::Representation + property :fingerprint, :base64 => true, as: 'fingerprint' collection :health_checks, as: 'healthChecks' property :iap, as: 'iap', class: Google::Apis::ComputeAlpha::BackendServiceIap, decorator: Google::Apis::ComputeAlpha::BackendServiceIap::Representation @@ -3987,6 +4074,15 @@ module Google end end + class BackendServiceFailoverPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :disable_connection_drain_on_failover, as: 'disableConnectionDrainOnFailover' + property :drop_traffic_if_unhealthy, as: 'dropTrafficIfUnhealthy' + property :failover_ratio, as: 'failoverRatio' + end + end + class BackendServiceGroupHealth # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4633,6 +4729,7 @@ module Google property :backend_service, as: 'backendService' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' + property :fingerprint, :base64 => true, as: 'fingerprint' property :id, :numeric_string => true, as: 'id' property :ip_version, as: 'ipVersion' property :kind, as: 'kind' @@ -4783,6 +4880,7 @@ module Google property :host, as: 'host' property :port, as: 'port' property :port_name, as: 'portName' + property :port_specification, as: 'portSpecification' property :proxy_header, as: 'proxyHeader' property :request_path, as: 'requestPath' property :response, as: 'response' @@ -4795,6 +4893,7 @@ module Google property :host, as: 'host' property :port, as: 'port' property :port_name, as: 'portName' + property :port_specification, as: 'portSpecification' property :proxy_header, as: 'proxyHeader' property :request_path, as: 'requestPath' property :response, as: 'response' @@ -4807,6 +4906,7 @@ module Google property :host, as: 'host' property :port, as: 'port' property :port_name, as: 'portName' + property :port_specification, as: 'portSpecification' property :proxy_header, as: 'proxyHeader' property :request_path, as: 'requestPath' property :response, as: 'response' @@ -5321,6 +5421,7 @@ module Google property :can_ip_forward, as: 'canIpForward' property :cpu_platform, as: 'cpuPlatform' property :creation_timestamp, as: 'creationTimestamp' + property :deletion_protection, as: 'deletionProtection' property :description, as: 'description' collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::AttachedDisk, decorator: Google::Apis::ComputeAlpha::AttachedDisk::Representation @@ -7268,6 +7369,7 @@ module Google property :common_instance_metadata, as: 'commonInstanceMetadata', class: Google::Apis::ComputeAlpha::Metadata, decorator: Google::Apis::ComputeAlpha::Metadata::Representation property :creation_timestamp, as: 'creationTimestamp' + property :default_network_tier, as: 'defaultNetworkTier' property :default_service_account, as: 'defaultServiceAccount' property :description, as: 'description' collection :enabled_features, as: 'enabledFeatures' @@ -7316,6 +7418,13 @@ module Google end end + class ProjectsSetDefaultNetworkTierRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :network_tier, as: 'networkTier' + end + end + class ProjectsSetDefaultServiceAccountRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8041,6 +8150,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :port, as: 'port' property :port_name, as: 'portName' + property :port_specification, as: 'portSpecification' property :proxy_header, as: 'proxyHeader' property :request, as: 'request' property :response, as: 'response' @@ -8056,37 +8166,6 @@ module Google end end - class SecurityPoliciesList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - collection :items, as: 'items', class: Google::Apis::ComputeAlpha::SecurityPolicy, decorator: Google::Apis::ComputeAlpha::SecurityPolicy::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::SecurityPoliciesList::Warning, decorator: Google::Apis::ComputeAlpha::SecurityPoliciesList::Warning::Representation - - end - - class Warning - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - collection :data, as: 'data', class: Google::Apis::ComputeAlpha::SecurityPoliciesList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::SecurityPoliciesList::Warning::Datum::Representation - - property :message, as: 'message' - end - - class Datum - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :value, as: 'value' - end - end - end - end - class SecurityPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8102,6 +8181,37 @@ module Google end end + class SecurityPolicyList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeAlpha::SecurityPolicy, decorator: Google::Apis::ComputeAlpha::SecurityPolicy::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::SecurityPolicyList::Warning, decorator: Google::Apis::ComputeAlpha::SecurityPolicyList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::SecurityPolicyList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::SecurityPolicyList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class SecurityPolicyReference # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8271,6 +8381,89 @@ module Google end end + class SslPoliciesList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeAlpha::SslPolicy, decorator: Google::Apis::ComputeAlpha::SslPolicy::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::SslPoliciesList::Warning, decorator: Google::Apis::ComputeAlpha::SslPoliciesList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::SslPoliciesList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::SslPoliciesList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + + class SslPoliciesListAvailableFeaturesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :features, as: 'features' + end + end + + class SslPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + collection :custom_features, as: 'customFeatures' + property :description, as: 'description' + collection :enabled_features, as: 'enabledFeatures' + property :fingerprint, :base64 => true, as: 'fingerprint' + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + property :min_tls_version, as: 'minTlsVersion' + property :name, as: 'name' + property :profile, as: 'profile' + property :self_link, as: 'selfLink' + collection :warnings, as: 'warnings', class: Google::Apis::ComputeAlpha::SslPolicy::Warning, decorator: Google::Apis::ComputeAlpha::SslPolicy::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::SslPolicy::Warning::Datum, decorator: Google::Apis::ComputeAlpha::SslPolicy::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + + class SslPolicyReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ssl_policy, as: 'sslPolicy' + end + end + class Subnetwork # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8411,6 +8604,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :port, as: 'port' property :port_name, as: 'portName' + property :port_specification, as: 'portSpecification' property :proxy_header, as: 'proxyHeader' property :request, as: 'request' property :response, as: 'response' @@ -8496,6 +8690,7 @@ module Google property :quic_override, as: 'quicOverride' property :self_link, as: 'selfLink' collection :ssl_certificates, as: 'sslCertificates' + property :ssl_policy, as: 'sslPolicy' property :url_map, as: 'urlMap' end end @@ -8831,6 +9026,7 @@ module Google property :self_link, as: 'selfLink' property :service, as: 'service' collection :ssl_certificates, as: 'sslCertificates' + property :ssl_policy, as: 'sslPolicy' end end @@ -8934,6 +9130,8 @@ module Google collection :forwarding_rules, as: 'forwardingRules' property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' + property :label_fingerprint, :base64 => true, as: 'labelFingerprint' + hash :labels, as: 'labels' property :name, as: 'name' property :network, as: 'network' property :region, as: 'region' @@ -9165,6 +9363,45 @@ module Google end end + class UsableSubnetwork + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :subnetwork, as: 'subnetwork' + end + end + + class UsableSubnetworksAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeAlpha::UsableSubnetwork, decorator: Google::Apis::ComputeAlpha::UsableSubnetwork::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class UsageExportLocation # @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 39e522dbe..b991f1a9b 100644 --- a/generated/google/apis/compute_alpha/service.rb +++ b/generated/google/apis/compute_alpha/service.rb @@ -10178,6 +10178,62 @@ module Google execute_or_queue_command(command, &block) end + # Sets deletion protection on the instance. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Boolean] deletion_protection + # Whether the resource should be protected against deletion. + # @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 + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @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_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setDeletionProtection', options) + 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['resource'] = resource unless resource.nil? + command.query['deletionProtection'] = deletion_protection unless deletion_protection.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 auto-delete flag for a disk attached to an instance. # @param [String] project # Project ID for this request. @@ -14365,6 +14421,58 @@ module Google execute_or_queue_command(command, &block) end + # Sets the default network tier of the project. The default network tier is used + # when an address/forwardingRule/instance is created without specifying the + # network tier field. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeAlpha::ProjectsSetDefaultNetworkTierRequest] projects_set_default_network_tier_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 + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @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_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/setDefaultNetworkTier', options) + command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetDefaultNetworkTierRequest::Representation + command.request_object = projects_set_default_network_tier_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.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 default service account of the project. The default service account # is used when a VM instance is created with the service account email address # set to "default". @@ -18833,18 +18941,18 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::SecurityPoliciesList] parsed result object + # @yieldparam result [Google::Apis::ComputeAlpha::SecurityPolicyList] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ComputeAlpha::SecurityPoliciesList] + # @return [Google::Apis::ComputeAlpha::SecurityPolicyList] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/securityPolicies', options) - command.response_representation = Google::Apis::ComputeAlpha::SecurityPoliciesList::Representation - command.response_class = Google::Apis::ComputeAlpha::SecurityPoliciesList + command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyList::Representation + command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -19542,6 +19650,396 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified SSL policy. The SSL policy resource can be deleted only + # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. + # @param [String] project + # Project ID for this request. + # @param [String] ssl_policy + # Name of the SSL policy to delete. The name must be 1-63 characters long, and + # comply with RFC1035. + # @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 + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @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 delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/sslPolicies/{sslPolicy}', options) + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['sslPolicy'] = ssl_policy unless ssl_policy.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 + + # List all of the ordered rules present in a single specified policy. + # @param [String] project + # Project ID for this request. + # @param [String] ssl_policy + # Name of the SSL policy to update. The name must be 1-63 characters long, and + # comply with RFC1035. + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::SslPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::SslPolicy] + # + # @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_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/sslPolicies/{sslPolicy}', options) + command.response_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation + command.response_class = Google::Apis::ComputeAlpha::SslPolicy + command.params['project'] = project unless project.nil? + command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified SSL policy resource. Get a list of available SSL + # policies by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_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 + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @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 insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/sslPolicies', options) + command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation + command.request_object = ssl_policy_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # List all the SSL policies that have been configured for the specified project. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # Sets a filter `expression` for filtering listed resources. Your `expression` + # must be in the format: field_name comparison_string literal_string. + # The field_name is the name of the field you want to compare. Only atomic field + # types are supported (string, number, boolean). The comparison_string must be + # either eq (equals) or ne (not equals). The literal_string is the string value + # to filter to. The literal value must be valid for the type of field you are + # filtering by (string, number, boolean). For string fields, the literal value + # is interpreted as a regular expression using RE2 syntax. The literal value + # must match the entire field. + # For example, to filter for instances that do not have a name of example- + # instance, you would use name ne example-instance. + # You can filter on nested fields. For example, you could filter on instances + # that have set the scheduling.automaticRestart field to true. Use filtering on + # nested fields to take advantage of labels to organize and search for results + # based on label values. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + # central1-f). Multiple expressions are treated as AND expressions, meaning that + # resources must match all expressions to pass the filters. + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::SslPoliciesList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::SslPoliciesList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/sslPolicies', options) + command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesList::Representation + command.response_class = Google::Apis::ComputeAlpha::SslPoliciesList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists all features that can be specified in the SSL policy when using custom + # profile. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # Sets a filter `expression` for filtering listed resources. Your `expression` + # must be in the format: field_name comparison_string literal_string. + # The field_name is the name of the field you want to compare. Only atomic field + # types are supported (string, number, boolean). The comparison_string must be + # either eq (equals) or ne (not equals). The literal_string is the string value + # to filter to. The literal value must be valid for the type of field you are + # filtering by (string, number, boolean). For string fields, the literal value + # is interpreted as a regular expression using RE2 syntax. The literal value + # must match the entire field. + # For example, to filter for instances that do not have a name of example- + # instance, you would use name ne example-instance. + # You can filter on nested fields. For example, you could filter on instances + # that have set the scheduling.automaticRestart field to true. Use filtering on + # nested fields to take advantage of labels to organize and search for results + # based on label values. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + # central1-f). Multiple expressions are treated as AND expressions, meaning that + # resources must match all expressions to pass the filters. + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/sslPolicies/listAvailableFeatures', options) + command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse::Representation + command.response_class = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Patches the specified SSL policy with the data included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] ssl_policy + # Name of the SSL policy to update. The name must be 1-63 characters long, and + # comply with RFC1035. + # @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_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 + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @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 patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/global/sslPolicies/{sslPolicy}', options) + command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation + command.request_object = ssl_policy_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['sslPolicy'] = ssl_policy unless ssl_policy.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/sslPolicies/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation + command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves an aggregated list of subnetworks. # @param [String] project # Project ID for this request. @@ -19944,6 +20442,82 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves an aggregated list of usable subnetworks. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # Sets a filter `expression` for filtering listed resources. Your `expression` + # must be in the format: field_name comparison_string literal_string. + # The field_name is the name of the field you want to compare. Only atomic field + # types are supported (string, number, boolean). The comparison_string must be + # either eq (equals) or ne (not equals). The literal_string is the string value + # to filter to. The literal value must be valid for the type of field you are + # filtering by (string, number, boolean). For string fields, the literal value + # is interpreted as a regular expression using RE2 syntax. The literal value + # must match the entire field. + # For example, to filter for instances that do not have a name of example- + # instance, you would use name ne example-instance. + # You can filter on nested fields. For example, you could filter on instances + # that have set the scheduling.automaticRestart field to true. Use filtering on + # nested fields to take advantage of labels to organize and search for results + # based on label values. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + # central1-f). Multiple expressions are treated as AND expressions, meaning that + # resources must match all expressions to pass the filters. + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/subnetworks/listUsable', options) + command.response_representation = Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Representation + command.response_class = Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Patches the specified subnetwork with the data included in the request. Only # the following fields within the subnetwork resource can be specified in the # request: secondary_ip_range and allow_subnet_cidr_routes_overlap. It is also @@ -20785,6 +21359,63 @@ module Google execute_or_queue_command(command, &block) end + # Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server- + # side support for SSL features. This affects connections between clients and + # the HTTPS proxy load balancer. They do not affect the connection between the + # load balancer and the backends. + # @param [String] project + # Project ID for this request. + # @param [String] target_https_proxy + # Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name + # must be 1-63 characters long, and comply with RFC1035. + # @param [Google::Apis::ComputeAlpha::SslPolicyReference] ssl_policy_reference_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 + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @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_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options) + command.request_representation = Google::Apis::ComputeAlpha::SslPolicyReference::Representation + command.request_object = ssl_policy_reference_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['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.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 + # Changes the URL map for TargetHttpsProxy. # @param [String] project # Project ID for this request. @@ -22280,6 +22911,63 @@ module Google execute_or_queue_command(command, &block) end + # Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server- + # side support for SSL features. This affects connections between clients and + # the SSL proxy load balancer. They do not affect the connection between the + # load balancer and the backends. + # @param [String] project + # Project ID for this request. + # @param [String] target_ssl_proxy + # Name of the TargetSslProxy resource whose SSL policy is to be set. The name + # must be 1-63 characters long, and comply with RFC1035. + # @param [Google::Apis::ComputeAlpha::SslPolicyReference] ssl_policy_reference_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 + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @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_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options) + command.request_representation = Google::Apis::ComputeAlpha::SslPolicyReference::Representation + command.request_object = ssl_policy_reference_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['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 8a7d88a94..984b84477 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 = '20170821' + REVISION = '20170905' # 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 a43dfc303..4f17a17d2 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -153,6 +153,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -164,6 +169,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -201,6 +271,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::AcceleratorTypeList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -212,6 +287,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -510,6 +650,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::AddressAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -521,6 +666,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -558,6 +768,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::AddressList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -569,6 +784,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -728,10 +1008,9 @@ module Google # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey] attr_accessor :disk_encryption_key - # Assigns a zero-based index to this disk, where 0 is reserved for the boot disk. - # For example, if you have many disks attached to an instance, each disk would - # have a unique index number. If not specified, the server will choose an - # appropriate value. + # [Output Only] A zero-based index to this disk, where 0 is reserved for the + # boot disk. If you have many disks attached to an instance, each disk would + # have a unique index number. # Corresponds to the JSON property `index` # @return [Fixnum] attr_accessor :index @@ -1120,6 +1399,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::AutoscalerAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -1131,6 +1415,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -1168,6 +1517,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::AutoscalerList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -1179,6 +1533,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -1694,6 +2113,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::BackendBucketList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -1705,6 +2129,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -1928,6 +2417,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::BackendServiceAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -1939,6 +2433,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -2060,6 +2619,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::BackendServiceList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -2071,6 +2635,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -2439,6 +3068,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::CommitmentAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -2450,6 +3084,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -2487,6 +3186,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::CommitmentList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -2498,6 +3202,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -3029,6 +3798,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::DiskAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -3040,6 +3814,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -3076,6 +3915,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::DiskList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -3087,6 +3931,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -3231,6 +4140,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::DiskTypeAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -3242,6 +4156,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -3278,6 +4257,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::DiskTypeList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -3289,6 +4273,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -3493,6 +4542,46 @@ module Google end end + # + class DistributionPolicy + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `zones` + # @return [Array] + attr_accessor :zones + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @zones = args[:zones] if args.key?(:zones) + end + end + + # + class DistributionPolicyZoneConfiguration + include Google::Apis::Core::Hashable + + # URL of the zone where managed instance group is spawning instances (for + # regional resources). Zone has to belong to the region where managed instance + # group is located. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @zone = args[:zone] if args.key?(:zone) + end + end + # Represents an expression text. Example: # title: "User account presence" description: "Determines whether the request # has a user account" expression: "size(request.user) > 0" @@ -3805,6 +4894,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::FirewallList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -3816,6 +4910,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -4104,6 +5263,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -4115,6 +5279,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -4151,6 +5380,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::ForwardingRuleList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -4162,6 +5396,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -4567,6 +5866,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::HealthCheckList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -4578,6 +5882,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -4817,6 +6186,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::HttpHealthCheckList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -4828,6 +6202,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -4970,6 +6409,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::HttpsHealthCheckList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -4981,6 +6425,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -5252,6 +6761,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::ImageList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -5263,6 +6777,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -5493,6 +7072,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InstanceAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -5504,6 +7088,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -5646,6 +7295,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -5657,6 +7311,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -5694,6 +7413,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InstanceGroupList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -5705,6 +7429,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -5744,6 +7533,11 @@ module Google # @return [String] attr_accessor :description + # Policy valid only for regional managed instance groups. + # Corresponds to the JSON property `distributionPolicy` + # @return [Google::Apis::ComputeBeta::DistributionPolicy] + attr_accessor :distribution_policy + # The action to perform in case of zone failure. Only one value is supported, # NO_FAILOVER. The default is NO_FAILOVER. # Corresponds to the JSON property `failoverAction` @@ -5867,6 +7661,7 @@ module Google @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @current_actions = args[:current_actions] if args.key?(:current_actions) @description = args[:description] if args.key?(:description) + @distribution_policy = args[:distribution_policy] if args.key?(:distribution_policy) @failover_action = args[:failover_action] if args.key?(:failover_action) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @id = args[:id] if args.key?(:id) @@ -6009,6 +7804,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -6020,6 +7820,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -6087,6 +7952,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InstanceGroupManagerList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -6098,6 +7968,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -6570,6 +8505,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InstanceGroupsListInstances::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -6581,6 +8521,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -6780,6 +8785,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InstanceList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -6791,6 +8801,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -6828,6 +8903,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InstanceListReferrers::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -6839,6 +8919,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -7093,6 +9238,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InstanceTemplateList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -7104,6 +9254,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -7541,7 +9756,7 @@ module Google end # Protocol definitions for Mixer API to support InterconnectAttachment. Next - # available tag: 14 + # available tag: 18 class InterconnectAttachment include Google::Apis::Core::Hashable @@ -7691,6 +9906,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -7702,6 +9922,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -7739,6 +10024,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InterconnectAttachmentList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -7750,6 +10040,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -7934,6 +10289,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InterconnectList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -7945,6 +10305,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -8091,6 +10516,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InterconnectLocationList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -8102,6 +10532,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -8506,6 +11001,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::MachineTypeAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -8517,6 +11017,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -8554,6 +11119,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::MachineTypeList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -8565,6 +11135,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -9140,6 +11775,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::NetworkList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -9151,6 +11791,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -9613,6 +12318,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::OperationAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -9624,6 +12334,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -9662,6 +12437,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::OperationList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -9673,6 +12453,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -10069,7 +12914,7 @@ module Google # @return [String] attr_accessor :next_page_token - # Serive resources (a.k.a service projects) attached to this project as their + # Service resources (a.k.a service projects) attached to this project as their # shared VPC host. # Corresponds to the JSON property `resources` # @return [Array] @@ -10286,6 +13131,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RegionAutoscalerList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -10297,6 +13147,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -10333,6 +13248,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RegionInstanceGroupList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -10344,6 +13264,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -10382,6 +13367,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagerList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -10393,6 +13383,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -10587,6 +13642,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -10598,6 +13658,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -10693,6 +13818,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RegionList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -10704,6 +13834,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -11029,6 +14224,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RouteList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -11040,6 +14240,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -11165,6 +14430,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RouterAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -11176,6 +14446,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -11332,6 +14667,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RouterList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -11343,6 +14683,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -11746,48 +15151,6 @@ module Google end end - # - class SecurityPoliciesList - include Google::Apis::Core::Hashable - - # [Output Only] Unique identifier for the resource; defined by the server. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A list of SecurityPolicy resources. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # [Output Only] Type of resource. Always compute#securityPoliciesList for - # listsof securityPolicies - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # [Output Only] This token allows you to get the next page of results for list - # requests. If the number of results is larger than maxResults, use the - # nextPageToken as a value for the query parameter pageToken in the next list - # request. Subsequent list requests will have their own nextPageToken to - # continue paging through the results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - # A security policy is comprised of one or more rules. It can also be associated # with one or more 'targets'. class SecurityPolicy @@ -11866,6 +15229,118 @@ module Google end end + # + class SecurityPolicyList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of SecurityPolicy resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#securityPolicyList for listsof + # securityPolicies + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::SecurityPolicyList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # class SecurityPolicyReference include Google::Apis::Core::Hashable @@ -12209,6 +15684,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::SnapshotList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -12220,6 +15700,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -12330,6 +15875,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::SslCertificateList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -12341,6 +15891,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -12486,6 +16101,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::SubnetworkAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -12497,6 +16117,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -12534,6 +16219,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::SubnetworkList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -12545,6 +16235,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -12890,6 +16645,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::TargetHttpProxyList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -12901,6 +16661,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -13034,6 +16859,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::TargetHttpsProxyList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -13045,6 +16875,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -13165,6 +17060,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -13176,6 +17076,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -13212,6 +17177,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::TargetInstanceList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -13223,6 +17193,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -13474,6 +17509,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::TargetPoolAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -13485,6 +17525,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -13548,6 +17653,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::TargetPoolList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -13559,6 +17669,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -13927,6 +18102,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::TargetSslProxyList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -13938,6 +18118,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -14083,6 +18328,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::TargetTcpProxyList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -14094,6 +18344,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -14222,6 +18537,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -14233,6 +18553,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -14270,6 +18655,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::TargetVpnGatewayList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -14281,6 +18671,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -14618,6 +19073,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::UrlMapList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -14629,6 +19089,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -14965,6 +19490,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -14976,6 +19506,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -15012,6 +19607,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::VpnTunnelList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -15023,6 +19623,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -15151,6 +19816,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::XpnHostList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -15162,6 +19832,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end @@ -15298,6 +20033,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::ZoneList::Warning] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -15309,6 +20049,71 @@ module Google @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end end end diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index cf7b14305..c14ff25b8 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -36,12 +36,36 @@ module Google class AcceleratorTypeAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class AcceleratorTypeList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -78,12 +102,36 @@ module Google class AddressAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class AddressList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -150,12 +198,36 @@ module Google class AutoscalerAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class AutoscalerList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -222,6 +294,18 @@ module Google class BackendBucketList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -234,6 +318,18 @@ module Google class BackendServiceAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -258,6 +354,18 @@ module Google class BackendServiceList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -306,12 +414,36 @@ module Google class CommitmentAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class CommitmentList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -372,12 +504,36 @@ module Google class DiskAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class DiskList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -396,12 +552,36 @@ module Google class DiskTypeAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class DiskTypeList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -448,6 +628,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DistributionPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DistributionPolicyZoneConfiguration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Expr class Representation < Google::Apis::Core::JsonRepresentation; end @@ -474,6 +666,18 @@ module Google class FirewallList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -492,12 +696,36 @@ module Google class ForwardingRuleAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class ForwardingRuleList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -552,6 +780,18 @@ module Google class HealthCheckList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -582,6 +822,18 @@ module Google class HttpHealthCheckList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -594,6 +846,18 @@ module Google class HttpsHealthCheckList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -612,6 +876,18 @@ module Google class ImageList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -624,6 +900,18 @@ module Google class InstanceAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -636,12 +924,36 @@ module Google class InstanceGroupAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class InstanceGroupList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -660,6 +972,18 @@ module Google class InstanceGroupManagerAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -672,6 +996,18 @@ module Google class InstanceGroupManagerList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -768,6 +1104,18 @@ module Google class InstanceGroupsListInstances class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -810,12 +1158,36 @@ module Google class InstanceList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class InstanceListReferrers class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -846,6 +1218,18 @@ module Google class InstanceTemplateList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -924,12 +1308,36 @@ module Google class InterconnectAttachmentAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class InterconnectAttachmentList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -966,6 +1374,18 @@ module Google class InterconnectList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -978,6 +1398,18 @@ module Google class InterconnectLocationList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1032,12 +1464,36 @@ module Google class MachineTypeAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class MachineTypeList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1122,6 +1578,18 @@ module Google class NetworkList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1182,12 +1650,36 @@ module Google class OperationAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class OperationList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1278,18 +1770,54 @@ module Google class RegionAutoscalerList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class RegionInstanceGroupList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class RegionInstanceGroupManagerList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1338,6 +1866,18 @@ module Google class RegionInstanceGroupsListInstances class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1356,6 +1896,18 @@ module Google class RegionList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1398,6 +1950,18 @@ module Google class RouteList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1410,6 +1974,18 @@ module Google class RouterAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1434,6 +2010,18 @@ module Google class RouterList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1498,14 +2086,26 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SecurityPoliciesList + class SecurityPolicy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SecurityPolicy + class SecurityPolicyList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1548,6 +2148,18 @@ module Google class SnapshotList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1560,6 +2172,18 @@ module Google class SslCertificateList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1572,12 +2196,36 @@ module Google class SubnetworkAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class SubnetworkList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1638,6 +2286,18 @@ module Google class TargetHttpProxyList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1656,6 +2316,18 @@ module Google class TargetHttpsProxyList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1668,12 +2340,36 @@ module Google class TargetInstanceAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class TargetInstanceList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1704,6 +2400,18 @@ module Google class TargetPoolAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1716,6 +2424,18 @@ module Google class TargetPoolList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1794,6 +2514,18 @@ module Google class TargetSslProxyList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1818,6 +2550,18 @@ module Google class TargetTcpProxyList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1830,12 +2574,36 @@ module Google class TargetVpnGatewayAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class TargetVpnGatewayList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1890,6 +2658,18 @@ module Google class UrlMapList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1938,12 +2718,36 @@ module Google class VpnTunnelAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end class VpnTunnelList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1968,6 +2772,18 @@ module Google class XpnHostList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1986,6 +2802,18 @@ module Google class ZoneList class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -2029,6 +2857,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2041,6 +2889,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::AcceleratorTypeList::Warning, decorator: Google::Apis::ComputeBeta::AcceleratorTypeList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::AcceleratorTypeList::Warning::Datum, decorator: Google::Apis::ComputeBeta::AcceleratorTypeList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2112,6 +2980,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::AddressAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::AddressAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::AddressAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::AddressAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2124,6 +3012,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::AddressList::Warning, decorator: Google::Apis::ComputeBeta::AddressList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::AddressList::Warning::Datum, decorator: Google::Apis::ComputeBeta::AddressList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2250,6 +3158,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::AutoscalerAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::AutoscalerAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::AutoscalerAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::AutoscalerAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2262,6 +3190,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::AutoscalerList::Warning, decorator: Google::Apis::ComputeBeta::AutoscalerList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::AutoscalerList::Warning::Datum, decorator: Google::Apis::ComputeBeta::AutoscalerList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2379,6 +3327,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::BackendBucketList::Warning, decorator: Google::Apis::ComputeBeta::BackendBucketList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::BackendBucketList::Warning::Datum, decorator: Google::Apis::ComputeBeta::BackendBucketList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2423,6 +3391,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::BackendServiceAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::BackendServiceAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::BackendServiceAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::BackendServiceAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2462,6 +3450,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::BackendServiceList::Warning, decorator: Google::Apis::ComputeBeta::BackendServiceList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::BackendServiceList::Warning::Datum, decorator: Google::Apis::ComputeBeta::BackendServiceList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2551,6 +3559,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::CommitmentAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::CommitmentAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::CommitmentAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::CommitmentAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2563,6 +3591,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::CommitmentList::Warning, decorator: Google::Apis::ComputeBeta::CommitmentList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::CommitmentList::Warning::Datum, decorator: Google::Apis::ComputeBeta::CommitmentList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2685,6 +3733,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::DiskAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::DiskAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::DiskAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::DiskAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2697,6 +3765,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::DiskList::Warning, decorator: Google::Apis::ComputeBeta::DiskList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::DiskList::Warning::Datum, decorator: Google::Apis::ComputeBeta::DiskList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2734,6 +3822,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::DiskTypeAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::DiskTypeAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::DiskTypeAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::DiskTypeAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2746,6 +3854,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::DiskTypeList::Warning, decorator: Google::Apis::ComputeBeta::DiskTypeList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::DiskTypeList::Warning::Datum, decorator: Google::Apis::ComputeBeta::DiskTypeList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2812,6 +3940,21 @@ module Google end end + class DistributionPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :zones, as: 'zones', class: Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration, decorator: Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration::Representation + + end + end + + class DistributionPolicyZoneConfiguration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :zone, as: 'zone' + end + end + class Expr # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2872,6 +4015,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::FirewallList::Warning, decorator: Google::Apis::ComputeBeta::FirewallList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::FirewallList::Warning::Datum, decorator: Google::Apis::ComputeBeta::FirewallList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2920,6 +4083,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -2932,6 +4115,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ForwardingRuleList::Warning, decorator: Google::Apis::ComputeBeta::ForwardingRuleList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::ForwardingRuleList::Warning::Datum, decorator: Google::Apis::ComputeBeta::ForwardingRuleList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3036,6 +4239,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::HealthCheckList::Warning, decorator: Google::Apis::ComputeBeta::HealthCheckList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::HealthCheckList::Warning::Datum, decorator: Google::Apis::ComputeBeta::HealthCheckList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3093,6 +4316,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::HttpHealthCheckList::Warning, decorator: Google::Apis::ComputeBeta::HttpHealthCheckList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::HttpHealthCheckList::Warning::Datum, decorator: Google::Apis::ComputeBeta::HttpHealthCheckList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3124,6 +4367,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::HttpsHealthCheckList::Warning, decorator: Google::Apis::ComputeBeta::HttpsHealthCheckList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::HttpsHealthCheckList::Warning::Datum, decorator: Google::Apis::ComputeBeta::HttpsHealthCheckList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3181,6 +4444,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ImageList::Warning, decorator: Google::Apis::ComputeBeta::ImageList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::ImageList::Warning::Datum, decorator: Google::Apis::ComputeBeta::ImageList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3229,6 +4512,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::InstanceAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3261,6 +4564,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3273,6 +4596,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceGroupList::Warning, decorator: Google::Apis::ComputeBeta::InstanceGroupList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceGroupList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceGroupList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3286,6 +4629,8 @@ module Google property :current_actions, as: 'currentActions', class: Google::Apis::ComputeBeta::InstanceGroupManagerActionsSummary, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerActionsSummary::Representation property :description, as: 'description' + property :distribution_policy, as: 'distributionPolicy', class: Google::Apis::ComputeBeta::DistributionPolicy, decorator: Google::Apis::ComputeBeta::DistributionPolicy::Representation + property :failover_action, as: 'failoverAction' property :fingerprint, :base64 => true, as: 'fingerprint' property :id, :numeric_string => true, as: 'id' @@ -3334,6 +4679,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3354,6 +4719,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceGroupManagerList::Warning, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceGroupManagerList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3496,6 +4881,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceGroupsListInstances::Warning, decorator: Google::Apis::ComputeBeta::InstanceGroupsListInstances::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceGroupsListInstances::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceGroupsListInstances::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3560,6 +4965,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceList::Warning, decorator: Google::Apis::ComputeBeta::InstanceList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3572,6 +4997,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceListReferrers::Warning, decorator: Google::Apis::ComputeBeta::InstanceListReferrers::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceListReferrers::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceListReferrers::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3638,6 +5083,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceTemplateList::Warning, decorator: Google::Apis::ComputeBeta::InstanceTemplateList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceTemplateList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceTemplateList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3785,6 +5250,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3797,6 +5282,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InterconnectAttachmentList::Warning, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InterconnectAttachmentList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3853,6 +5358,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InterconnectList::Warning, decorator: Google::Apis::ComputeBeta::InterconnectList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InterconnectList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InterconnectList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3886,6 +5411,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InterconnectLocationList::Warning, decorator: Google::Apis::ComputeBeta::InterconnectLocationList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InterconnectLocationList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InterconnectLocationList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -3988,6 +5533,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::MachineTypeAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::MachineTypeAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::MachineTypeAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::MachineTypeAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4000,6 +5565,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::MachineTypeList::Warning, decorator: Google::Apis::ComputeBeta::MachineTypeList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::MachineTypeList::Warning::Datum, decorator: Google::Apis::ComputeBeta::MachineTypeList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4148,6 +5733,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NetworkList::Warning, decorator: Google::Apis::ComputeBeta::NetworkList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::NetworkList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NetworkList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4260,6 +5865,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::OperationAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::OperationAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::OperationAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::OperationAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4272,6 +5897,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::OperationList::Warning, decorator: Google::Apis::ComputeBeta::OperationList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::OperationList::Warning::Datum, decorator: Google::Apis::ComputeBeta::OperationList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4437,6 +6082,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RegionAutoscalerList::Warning, decorator: Google::Apis::ComputeBeta::RegionAutoscalerList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::RegionAutoscalerList::Warning::Datum, decorator: Google::Apis::ComputeBeta::RegionAutoscalerList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4449,6 +6114,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RegionInstanceGroupList::Warning, decorator: Google::Apis::ComputeBeta::RegionInstanceGroupList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::RegionInstanceGroupList::Warning::Datum, decorator: Google::Apis::ComputeBeta::RegionInstanceGroupList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4461,6 +6146,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RegionInstanceGroupManagerList::Warning, decorator: Google::Apis::ComputeBeta::RegionInstanceGroupManagerList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::RegionInstanceGroupManagerList::Warning::Datum, decorator: Google::Apis::ComputeBeta::RegionInstanceGroupManagerList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4526,6 +6231,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Warning, decorator: Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Warning::Datum, decorator: Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4555,6 +6280,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RegionList::Warning, decorator: Google::Apis::ComputeBeta::RegionList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::RegionList::Warning::Datum, decorator: Google::Apis::ComputeBeta::RegionList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4632,6 +6377,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RouteList::Warning, decorator: Google::Apis::ComputeBeta::RouteList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::RouteList::Warning::Datum, decorator: Google::Apis::ComputeBeta::RouteList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4664,6 +6429,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RouterAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::RouterAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::RouterAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::RouterAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4705,6 +6490,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RouterList::Warning, decorator: Google::Apis::ComputeBeta::RouterList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::RouterList::Warning::Datum, decorator: Google::Apis::ComputeBeta::RouterList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4818,17 +6623,6 @@ module Google end end - class SecurityPoliciesList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - collection :items, as: 'items', class: Google::Apis::ComputeBeta::SecurityPolicy, decorator: Google::Apis::ComputeBeta::SecurityPolicy::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - end - end - class SecurityPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4844,6 +6638,37 @@ module Google end end + class SecurityPolicyList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::SecurityPolicy, decorator: Google::Apis::ComputeBeta::SecurityPolicy::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::SecurityPolicyList::Warning, decorator: Google::Apis::ComputeBeta::SecurityPolicyList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::SecurityPolicyList::Warning::Datum, decorator: Google::Apis::ComputeBeta::SecurityPolicyList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class SecurityPolicyReference # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4924,6 +6749,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::SnapshotList::Warning, decorator: Google::Apis::ComputeBeta::SnapshotList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::SnapshotList::Warning::Datum, decorator: Google::Apis::ComputeBeta::SnapshotList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4950,6 +6795,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::SslCertificateList::Warning, decorator: Google::Apis::ComputeBeta::SslCertificateList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::SslCertificateList::Warning::Datum, decorator: Google::Apis::ComputeBeta::SslCertificateList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4981,6 +6846,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::SubnetworkAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::SubnetworkAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::SubnetworkAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::SubnetworkAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -4993,6 +6878,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::SubnetworkList::Warning, decorator: Google::Apis::ComputeBeta::SubnetworkList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::SubnetworkList::Warning::Datum, decorator: Google::Apis::ComputeBeta::SubnetworkList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5087,6 +6992,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetHttpProxyList::Warning, decorator: Google::Apis::ComputeBeta::TargetHttpProxyList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetHttpProxyList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetHttpProxyList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5120,6 +7045,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetHttpsProxyList::Warning, decorator: Google::Apis::ComputeBeta::TargetHttpsProxyList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetHttpsProxyList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetHttpsProxyList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5147,6 +7092,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5159,6 +7124,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetInstanceList::Warning, decorator: Google::Apis::ComputeBeta::TargetInstanceList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetInstanceList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetInstanceList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5217,6 +7202,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetPoolAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::TargetPoolAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetPoolAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetPoolAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5238,6 +7243,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetPoolList::Warning, decorator: Google::Apis::ComputeBeta::TargetPoolList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetPoolList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetPoolList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5353,6 +7378,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetSslProxyList::Warning, decorator: Google::Apis::ComputeBeta::TargetSslProxyList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetSslProxyList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetSslProxyList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5393,6 +7438,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetTcpProxyList::Warning, decorator: Google::Apis::ComputeBeta::TargetTcpProxyList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetTcpProxyList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetTcpProxyList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5422,6 +7487,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5434,6 +7519,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetVpnGatewayList::Warning, decorator: Google::Apis::ComputeBeta::TargetVpnGatewayList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetVpnGatewayList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetVpnGatewayList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5528,6 +7633,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::UrlMapList::Warning, decorator: Google::Apis::ComputeBeta::UrlMapList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::UrlMapList::Warning::Datum, decorator: Google::Apis::ComputeBeta::UrlMapList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5615,6 +7740,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5627,6 +7772,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::VpnTunnelList::Warning, decorator: Google::Apis::ComputeBeta::VpnTunnelList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::VpnTunnelList::Warning::Datum, decorator: Google::Apis::ComputeBeta::VpnTunnelList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5667,6 +7832,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::XpnHostList::Warning, decorator: Google::Apis::ComputeBeta::XpnHostList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::XpnHostList::Warning::Datum, decorator: Google::Apis::ComputeBeta::XpnHostList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end @@ -5704,6 +7889,26 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ZoneList::Warning, decorator: Google::Apis::ComputeBeta::ZoneList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::ZoneList::Warning::Datum, decorator: Google::Apis::ComputeBeta::ZoneList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end end end diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index d1f3af150..cc7d54aff 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -14853,18 +14853,18 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeBeta::SecurityPoliciesList] parsed result object + # @yieldparam result [Google::Apis::ComputeBeta::SecurityPolicyList] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ComputeBeta::SecurityPoliciesList] + # @return [Google::Apis::ComputeBeta::SecurityPolicyList] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/securityPolicies', options) - command.response_representation = Google::Apis::ComputeBeta::SecurityPoliciesList::Representation - command.response_class = Google::Apis::ComputeBeta::SecurityPoliciesList + command.response_representation = Google::Apis::ComputeBeta::SecurityPolicyList::Representation + command.response_class = Google::Apis::ComputeBeta::SecurityPolicyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index d64683b0a..fbef0aa30 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 = '20170821' + REVISION = '20170905' # 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 542541057..7e932b522 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -694,10 +694,9 @@ module Google # @return [Google::Apis::ComputeV1::CustomerEncryptionKey] attr_accessor :disk_encryption_key - # Assigns a zero-based index to this disk, where 0 is reserved for the boot disk. - # For example, if you have many disks attached to an instance, each disk would - # have a unique index number. If not specified, the server will choose an - # appropriate value. + # [Output Only] A zero-based index to this disk, where 0 is reserved for the + # boot disk. If you have many disks attached to an instance, each disk would + # have a unique index number. # Corresponds to the JSON property `index` # @return [Fixnum] attr_accessor :index @@ -8146,7 +8145,7 @@ module Google # @return [String] attr_accessor :next_page_token - # Serive resources (a.k.a service projects) attached to this project as their + # Service resources (a.k.a service projects) attached to this project as their # shared VPC host. # Corresponds to the JSON property `resources` # @return [Array] diff --git a/generated/google/apis/dlp_v2beta1.rb b/generated/google/apis/dlp_v2beta1.rb index b5046ba6d..1d1581dff 100644 --- a/generated/google/apis/dlp_v2beta1.rb +++ b/generated/google/apis/dlp_v2beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2beta1 VERSION = 'V2beta1' - REVISION = '20170830' + REVISION = '20170913' # 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/dlp_v2beta1/classes.rb b/generated/google/apis/dlp_v2beta1/classes.rb index 76da8e217..ba8867520 100644 --- a/generated/google/apis/dlp_v2beta1/classes.rb +++ b/generated/google/apis/dlp_v2beta1/classes.rb @@ -147,6 +147,35 @@ module Google end end + # Request for creating a risk analysis operation. + class GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest + include Google::Apis::Core::Hashable + + # Privacy metric to compute for reidentification risk analysis. + # Corresponds to the JSON property `privacyMetric` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrivacyMetric] + attr_accessor :privacy_metric + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `sourceTable` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable] + attr_accessor :source_table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @privacy_metric = args[:privacy_metric] if args.key?(:privacy_metric) + @source_table = args[:source_table] if args.key?(:source_table) + end + end + # Options defining BigQuery table and row identifiers. class GooglePrivacyDlpV2beta1BigQueryOptions include Google::Apis::Core::Hashable @@ -213,6 +242,141 @@ module Google end end + # Buckets represented as ranges, along with replacement values. Ranges must + # be non-overlapping. + class GooglePrivacyDlpV2beta1Bucket + include Google::Apis::Core::Hashable + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `max` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] + attr_accessor :max + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `min` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] + attr_accessor :min + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `replacementValue` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] + attr_accessor :replacement_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max = args[:max] if args.key?(:max) + @min = args[:min] if args.key?(:min) + @replacement_value = args[:replacement_value] if args.key?(:replacement_value) + end + end + + # Generalization function that buckets values based on ranges. The ranges and + # replacement values are dynamically provided by the user for custom behavior, + # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH + # This can be used on + # data of type: number, long, string, timestamp. + # If the bound `Value` type differs from the type of data being transformed, we + # will first attempt converting the type of the data to be transformed to match + # the type of the bound before comparing. + class GooglePrivacyDlpV2beta1BucketingConfig + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `buckets` + # @return [Array] + attr_accessor :buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @buckets = args[:buckets] if args.key?(:buckets) + end + end + + # Compute numerical stats over an individual column, including + # number of distinct values and value count distribution. + class GooglePrivacyDlpV2beta1CategoricalStatsConfig + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + end + end + + # + class GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket + include Google::Apis::Core::Hashable + + # Total number of records in this bucket. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of value frequencies in this bucket. The total number of + # values returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Lower bound on the value frequency of the values in this bucket. + # Corresponds to the JSON property `valueFrequencyLowerBound` + # @return [Fixnum] + attr_accessor :value_frequency_lower_bound + + # Upper bound on the value frequency of the values in this bucket. + # Corresponds to the JSON property `valueFrequencyUpperBound` + # @return [Fixnum] + attr_accessor :value_frequency_upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @value_frequency_lower_bound = args[:value_frequency_lower_bound] if args.key?(:value_frequency_lower_bound) + @value_frequency_upper_bound = args[:value_frequency_upper_bound] if args.key?(:value_frequency_upper_bound) + end + end + + # Result of the categorical stats computation. + class GooglePrivacyDlpV2beta1CategoricalStatsResult + include Google::Apis::Core::Hashable + + # Histogram of value frequencies in the column. + # Corresponds to the JSON property `valueFrequencyHistogramBuckets` + # @return [Array] + attr_accessor :value_frequency_histogram_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value_frequency_histogram_buckets = args[:value_frequency_histogram_buckets] if args.key?(:value_frequency_histogram_buckets) + end + end + # Info Type Category description. class GooglePrivacyDlpV2beta1CategoryDescription include Google::Apis::Core::Hashable @@ -238,6 +402,85 @@ module Google end end + # Partially mask a string by replacing a given number of characters with a + # fixed character. Masking can start from the beginning or end of the string. + # This can be used on data of any type (numbers, longs, and so on) and when + # de-identifying structured data we'll attempt to preserve the original data's + # type. (This allows you to take a long like 123 and modify it to a string like + # **3. + class GooglePrivacyDlpV2beta1CharacterMaskConfig + include Google::Apis::Core::Hashable + + # When masking a string, items in this list will be skipped when replacing. + # For example, if your string is 555-555-5555 and you ask us to skip `-` and + # mask 5 chars with * we would produce ***-*55-5555. + # Corresponds to the JSON property `charactersToIgnore` + # @return [Array] + attr_accessor :characters_to_ignore + + # Character to mask the sensitive values—for example, "*" for an + # alphabetic string such as name, or "0" for a numeric string such as ZIP + # code or credit card number. String must have length 1. If not supplied, we + # will default to "*" for strings, 0 for digits. + # Corresponds to the JSON property `maskingCharacter` + # @return [String] + attr_accessor :masking_character + + # Number of characters to mask. If not set, all matching chars will be + # masked. Skipped characters do not count towards this tally. + # Corresponds to the JSON property `numberToMask` + # @return [Fixnum] + attr_accessor :number_to_mask + + # Mask characters in reverse order. For example, if `masking_character` is + # '0', number_to_mask is 14, and `reverse_order` is false, then + # 1234-5678-9012-3456 -> 00000000000000-3456 + # If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order` + # is true, then 12345 -> 12*** + # Corresponds to the JSON property `reverseOrder` + # @return [Boolean] + attr_accessor :reverse_order + alias_method :reverse_order?, :reverse_order + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @characters_to_ignore = args[:characters_to_ignore] if args.key?(:characters_to_ignore) + @masking_character = args[:masking_character] if args.key?(:masking_character) + @number_to_mask = args[:number_to_mask] if args.key?(:number_to_mask) + @reverse_order = args[:reverse_order] if args.key?(:reverse_order) + end + end + + # Characters to skip when doing deidentification of a value. These will be left + # alone and skipped. + class GooglePrivacyDlpV2beta1CharsToIgnore + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `charactersToSkip` + # @return [String] + attr_accessor :characters_to_skip + + # + # Corresponds to the JSON property `commonCharactersToIgnore` + # @return [String] + attr_accessor :common_characters_to_ignore + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @characters_to_skip = args[:characters_to_skip] if args.key?(:characters_to_skip) + @common_characters_to_ignore = args[:common_characters_to_ignore] if args.key?(:common_characters_to_ignore) + end + end + # Record key for a finding in a Cloud Storage file. class GooglePrivacyDlpV2beta1CloudStorageKey include Google::Apis::Core::Hashable @@ -333,6 +576,70 @@ module Google end end + # The field type of `value` and `field` do not need to match to be + # considered equal, but not all comparisons are possible. + # A `value` of type: + # - `string` can be compared against all other types + # - `boolean` can only be compared against other booleans + # - `integer` can be compared against doubles or a string if the string value + # can be parsed as an integer. + # - `double` can be compared against integers or a string if the string can + # be parsed as a double. + # - `Timestamp` can be compared against strings in RFC 3339 date string + # format. + # - `TimeOfDay` can be compared against timestamps and strings in the format + # of 'HH:mm:ss'. + # If we fail to compare do to type mismatch, a warning will be given and + # the condition will evaluate to false. + class GooglePrivacyDlpV2beta1Condition + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field + + # Operator used to compare the field or info type to the value. [required] + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `value` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @operator = args[:operator] if args.key?(:operator) + @value = args[:value] if args.key?(:value) + end + end + + # + class GooglePrivacyDlpV2beta1Conditions + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conditions = args[:conditions] if args.key?(:conditions) + end + end + # Container structure for the content to inspect. class GooglePrivacyDlpV2beta1ContentItem include Google::Apis::Core::Hashable @@ -413,6 +720,133 @@ module Google end end + # Pseudonymization method that generates surrogates via cryptographic hashing. + # Uses SHA-256. + # The key size must be either 32 or 64 bytes. + # Outputs a 32 byte digest as an uppercase hex string + # (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). + # Currently, only string and integer values can be hashed. + class GooglePrivacyDlpV2beta1CryptoHashConfig + include Google::Apis::Core::Hashable + + # This is a data encryption key (DEK) (as opposed to + # a key encryption key (KEK) stored by KMS). + # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate + # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot + # unwrap the data crypto key. + # Corresponds to the JSON property `cryptoKey` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoKey] + attr_accessor :crypto_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @crypto_key = args[:crypto_key] if args.key?(:crypto_key) + end + end + + # This is a data encryption key (DEK) (as opposed to + # a key encryption key (KEK) stored by KMS). + # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate + # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot + # unwrap the data crypto key. + class GooglePrivacyDlpV2beta1CryptoKey + include Google::Apis::Core::Hashable + + # Include to use an existing data crypto key wrapped by KMS. + # Authorization requires the following IAM permissions when sending a request + # to perform a crypto transformation using a kms-wrapped crypto key: + # dlp.kms.encrypt + # Corresponds to the JSON property `kmsWrapped` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KmsWrappedCryptoKey] + attr_accessor :kms_wrapped + + # Use this to have a random data crypto key generated. + # It will be discarded after the operation/request finishes. + # Corresponds to the JSON property `transient` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TransientCryptoKey] + attr_accessor :transient + + # Using raw keys is prone to security risks due to accidentally + # leaking the key. Choose another type of key if possible. + # Corresponds to the JSON property `unwrapped` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1UnwrappedCryptoKey] + attr_accessor :unwrapped + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kms_wrapped = args[:kms_wrapped] if args.key?(:kms_wrapped) + @transient = args[:transient] if args.key?(:transient) + @unwrapped = args[:unwrapped] if args.key?(:unwrapped) + end + end + + # Replaces an identifier with an surrogate using FPE with the FFX + # mode of operation. + # The identifier must be encoded as ASCII. + # For a given crypto key and context, the same identifier will be + # replaced with the same surrogate. + # Note that a given identifier must be either the empty string or be at + # least two characters long. + class GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `commonAlphabet` + # @return [String] + attr_accessor :common_alphabet + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `context` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :context + + # This is a data encryption key (DEK) (as opposed to + # a key encryption key (KEK) stored by KMS). + # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate + # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot + # unwrap the data crypto key. + # Corresponds to the JSON property `cryptoKey` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoKey] + attr_accessor :crypto_key + + # This is supported by mapping these to the alphanumeric characters + # that the FFX mode natively supports. This happens before/after + # encryption/decryption. + # Each character listed must appear only once. + # Number of characters must be in the range [2, 62]. + # This must be encoded as ASCII. + # The order of characters does not matter. + # Corresponds to the JSON property `customAlphabet` + # @return [String] + attr_accessor :custom_alphabet + + # The native way to select the alphabet. Must be in the range [2, 62]. + # Corresponds to the JSON property `radix` + # @return [Fixnum] + attr_accessor :radix + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @common_alphabet = args[:common_alphabet] if args.key?(:common_alphabet) + @context = args[:context] if args.key?(:context) + @crypto_key = args[:crypto_key] if args.key?(:crypto_key) + @custom_alphabet = args[:custom_alphabet] if args.key?(:custom_alphabet) + @radix = args[:radix] if args.key?(:radix) + end + end + # Record key for a finding in Cloud Datastore. class GooglePrivacyDlpV2beta1DatastoreKey include Google::Apis::Core::Hashable @@ -471,6 +905,168 @@ module Google end end + # High level summary of deidentification. + class GooglePrivacyDlpV2beta1DeidentificationSummary + include Google::Apis::Core::Hashable + + # Transformations applied to the dataset. + # Corresponds to the JSON property `transformationSummaries` + # @return [Array] + attr_accessor :transformation_summaries + + # Total size in bytes that were transformed in some way. + # Corresponds to the JSON property `transformedBytes` + # @return [Fixnum] + attr_accessor :transformed_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @transformation_summaries = args[:transformation_summaries] if args.key?(:transformation_summaries) + @transformed_bytes = args[:transformed_bytes] if args.key?(:transformed_bytes) + end + end + + # The configuration that controls how the data will change. + class GooglePrivacyDlpV2beta1DeidentifyConfig + include Google::Apis::Core::Hashable + + # A type of transformation that will scan unstructured text and + # apply various `PrimitiveTransformation`s to each finding, where the + # transformation is applied to only values that were identified as a specific + # info_type. + # Corresponds to the JSON property `infoTypeTransformations` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformations] + attr_accessor :info_type_transformations + + # A type of transformation that is applied over structured data such as a + # table. + # Corresponds to the JSON property `recordTransformations` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordTransformations] + attr_accessor :record_transformations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_type_transformations = args[:info_type_transformations] if args.key?(:info_type_transformations) + @record_transformations = args[:record_transformations] if args.key?(:record_transformations) + end + end + + # Request to de-identify a list of items. + class GooglePrivacyDlpV2beta1DeidentifyContentRequest + include Google::Apis::Core::Hashable + + # The configuration that controls how the data will change. + # Corresponds to the JSON property `deidentifyConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyConfig] + attr_accessor :deidentify_config + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `inspectConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig] + attr_accessor :inspect_config + + # The list of items to inspect. Up to 100 are allowed per request. + # All items will be treated as text/*. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deidentify_config = args[:deidentify_config] if args.key?(:deidentify_config) + @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + @items = args[:items] if args.key?(:items) + end + end + + # Results of de-identifying a list of items. + class GooglePrivacyDlpV2beta1DeidentifyContentResponse + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # A review of the transformations that took place for each item. + # Corresponds to the JSON property `summaries` + # @return [Array] + attr_accessor :summaries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @items = args[:items] if args.key?(:items) + @summaries = args[:summaries] if args.key?(:summaries) + end + end + + # An entity in a dataset is a field or set of fields that correspond to a + # single person. For example, in medical records the `EntityId` might be + # a patient identifier, or for financial records it might be an account + # identifier. This message is used when generalizations or analysis must be + # consistent across multiple rows pertaining to the same entity. + class GooglePrivacyDlpV2beta1EntityId + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + end + end + + # A collection of expressions + class GooglePrivacyDlpV2beta1Expressions + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `conditions` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Conditions] + attr_accessor :conditions + + # The operator to apply to the result of conditions. Default and currently + # only supported value is `AND`. + # Corresponds to the JSON property `logicalOperator` + # @return [String] + attr_accessor :logical_operator + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conditions = args[:conditions] if args.key?(:conditions) + @logical_operator = args[:logical_operator] if args.key?(:logical_operator) + end + end + # General identifier of a data field in a storage service. class GooglePrivacyDlpV2beta1FieldId include Google::Apis::Core::Hashable @@ -490,6 +1086,47 @@ module Google end end + # The transformation to apply to the field. + class GooglePrivacyDlpV2beta1FieldTransformation + include Google::Apis::Core::Hashable + + # A condition for determing whether a transformation should be applied to + # a field. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordCondition] + attr_accessor :condition + + # Input field(s) to apply the transformation to. [required] + # Corresponds to the JSON property `fields` + # @return [Array] + attr_accessor :fields + + # A type of transformation that will scan unstructured text and + # apply various `PrimitiveTransformation`s to each finding, where the + # transformation is applied to only values that were identified as a specific + # info_type. + # Corresponds to the JSON property `infoTypeTransformations` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformations] + attr_accessor :info_type_transformations + + # A rule for transforming a value. + # Corresponds to the JSON property `primitiveTransformation` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation] + attr_accessor :primitive_transformation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @fields = args[:fields] if args.key?(:fields) + @info_type_transformations = args[:info_type_transformations] if args.key?(:info_type_transformations) + @primitive_transformation = args[:primitive_transformation] if args.key?(:primitive_transformation) + end + end + # Set of files to scan. class GooglePrivacyDlpV2beta1FileSet include Google::Apis::Core::Hashable @@ -553,6 +1190,49 @@ module Google end end + # Buckets values based on fixed size ranges. The + # Bucketing transformation can provide all of this functionality, + # but requires more configuration. This message is provided as a convenience to + # the user for simple bucketing strategies. + # The resulting value will be a hyphenated string of + # lower_bound-upper_bound. + # This can be used on data of type: double, long. + # If the bound Value type differs from the type of data + # being transformed, we will first attempt converting the type of the data to + # be transformed to match the type of the bound before comparing. + class GooglePrivacyDlpV2beta1FixedSizeBucketingConfig + include Google::Apis::Core::Hashable + + # Size of each bucket (except for minimum and maximum buckets). So if + # `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the + # following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, + # 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. [Required]. + # Corresponds to the JSON property `bucketSize` + # @return [Float] + attr_accessor :bucket_size + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `lowerBound` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] + attr_accessor :lower_bound + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `upperBound` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] + attr_accessor :upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @lower_bound = args[:lower_bound] if args.key?(:lower_bound) + @upper_bound = args[:upper_bound] if args.key?(:upper_bound) + end + end + # Bounding box encompassing detected text within an image. class GooglePrivacyDlpV2beta1ImageLocation include Google::Apis::Core::Hashable @@ -724,6 +1404,56 @@ module Google end end + # A transformation to apply to text that is identified as a specific + # info_type. + class GooglePrivacyDlpV2beta1InfoTypeTransformation + include Google::Apis::Core::Hashable + + # Info types to apply the transformation to. Empty list will match all + # available info types for this transformation. + # Corresponds to the JSON property `infoTypes` + # @return [Array] + attr_accessor :info_types + + # A rule for transforming a value. + # Corresponds to the JSON property `primitiveTransformation` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation] + attr_accessor :primitive_transformation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_types = args[:info_types] if args.key?(:info_types) + @primitive_transformation = args[:primitive_transformation] if args.key?(:primitive_transformation) + end + end + + # A type of transformation that will scan unstructured text and + # apply various `PrimitiveTransformation`s to each finding, where the + # transformation is applied to only values that were identified as a specific + # info_type. + class GooglePrivacyDlpV2beta1InfoTypeTransformations + include Google::Apis::Core::Hashable + + # Transformation for each info type. Cannot specify more than one + # for a given info type. [required] + # Corresponds to the JSON property `transformations` + # @return [Array] + attr_accessor :transformations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @transformations = args[:transformations] if args.key?(:transformations) + end + end + # Configuration description of the scanning process. # When used with redactContent only info_types and min_likelihood are currently # used. @@ -938,6 +1668,124 @@ module Google end end + # k-anonymity metric, used for analysis of reidentification risk. + class GooglePrivacyDlpV2beta1KAnonymityConfig + include Google::Apis::Core::Hashable + + # An entity in a dataset is a field or set of fields that correspond to a + # single person. For example, in medical records the `EntityId` might be + # a patient identifier, or for financial records it might be an account + # identifier. This message is used when generalizations or analysis must be + # consistent across multiple rows pertaining to the same entity. + # Corresponds to the JSON property `entityId` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1EntityId] + attr_accessor :entity_id + + # Set of fields to compute k-anonymity over. When multiple fields are + # specified, they are considered a single composite key. Structs and + # repeated data types are not supported; however, nested fields are + # supported so long as they are not structs themselves or nested within + # a repeated field. + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_id = args[:entity_id] if args.key?(:entity_id) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + end + end + + # The set of columns' values that share the same ldiversity value + class GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass + include Google::Apis::Core::Hashable + + # Size of the equivalence class, for example number of rows with the + # above set of values. + # Corresponds to the JSON property `equivalenceClassSize` + # @return [Fixnum] + attr_accessor :equivalence_class_size + + # Set of values defining the equivalence class. One value per + # quasi-identifier column in the original KAnonymity metric message. + # The order is always the same as the original request. + # Corresponds to the JSON property `quasiIdsValues` + # @return [Array] + attr_accessor :quasi_ids_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @equivalence_class_size = args[:equivalence_class_size] if args.key?(:equivalence_class_size) + @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) + end + end + + # + class GooglePrivacyDlpV2beta1KAnonymityHistogramBucket + include Google::Apis::Core::Hashable + + # Total number of records in this bucket. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of equivalence classes in this bucket. The total number of + # classes returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Lower bound on the size of the equivalence classes in this bucket. + # Corresponds to the JSON property `equivalenceClassSizeLowerBound` + # @return [Fixnum] + attr_accessor :equivalence_class_size_lower_bound + + # Upper bound on the size of the equivalence classes in this bucket. + # Corresponds to the JSON property `equivalenceClassSizeUpperBound` + # @return [Fixnum] + attr_accessor :equivalence_class_size_upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @equivalence_class_size_lower_bound = args[:equivalence_class_size_lower_bound] if args.key?(:equivalence_class_size_lower_bound) + @equivalence_class_size_upper_bound = args[:equivalence_class_size_upper_bound] if args.key?(:equivalence_class_size_upper_bound) + end + end + + # Result of the k-anonymity computation. + class GooglePrivacyDlpV2beta1KAnonymityResult + include Google::Apis::Core::Hashable + + # Histogram of k-anonymity equivalence classes. + # Corresponds to the JSON property `equivalenceClassHistogramBuckets` + # @return [Array] + attr_accessor :equivalence_class_histogram_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @equivalence_class_histogram_buckets = args[:equivalence_class_histogram_buckets] if args.key?(:equivalence_class_histogram_buckets) + end + end + # A unique identifier for a Datastore entity. # If a key's partition ID or any of its path kinds or names are # reserved/read-only, the key is reserved/read-only. @@ -996,6 +1844,159 @@ module Google end end + # Include to use an existing data crypto key wrapped by KMS. + # Authorization requires the following IAM permissions when sending a request + # to perform a crypto transformation using a kms-wrapped crypto key: + # dlp.kms.encrypt + class GooglePrivacyDlpV2beta1KmsWrappedCryptoKey + include Google::Apis::Core::Hashable + + # The resource name of the KMS CryptoKey to use for unwrapping. [required] + # Corresponds to the JSON property `cryptoKeyName` + # @return [String] + attr_accessor :crypto_key_name + + # The wrapped data crypto key. [required] + # Corresponds to the JSON property `wrappedKey` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :wrapped_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name) + @wrapped_key = args[:wrapped_key] if args.key?(:wrapped_key) + end + end + + # l-diversity metric, used for analysis of reidentification risk. + class GooglePrivacyDlpV2beta1LDiversityConfig + include Google::Apis::Core::Hashable + + # Set of quasi-identifiers indicating how equivalence classes are + # defined for the l-diversity computation. When multiple fields are + # specified, they are considered a single composite key. + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `sensitiveAttribute` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :sensitive_attribute + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + @sensitive_attribute = args[:sensitive_attribute] if args.key?(:sensitive_attribute) + end + end + + # The set of columns' values that share the same ldiversity value. + class GooglePrivacyDlpV2beta1LDiversityEquivalenceClass + include Google::Apis::Core::Hashable + + # Size of the k-anonymity equivalence class. + # Corresponds to the JSON property `equivalenceClassSize` + # @return [Fixnum] + attr_accessor :equivalence_class_size + + # Number of distinct sensitive values in this equivalence class. + # Corresponds to the JSON property `numDistinctSensitiveValues` + # @return [Fixnum] + attr_accessor :num_distinct_sensitive_values + + # Quasi-identifier values defining the k-anonymity equivalence + # class. The order is always the same as the original request. + # Corresponds to the JSON property `quasiIdsValues` + # @return [Array] + attr_accessor :quasi_ids_values + + # Estimated frequencies of top sensitive values. + # Corresponds to the JSON property `topSensitiveValues` + # @return [Array] + attr_accessor :top_sensitive_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @equivalence_class_size = args[:equivalence_class_size] if args.key?(:equivalence_class_size) + @num_distinct_sensitive_values = args[:num_distinct_sensitive_values] if args.key?(:num_distinct_sensitive_values) + @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) + @top_sensitive_values = args[:top_sensitive_values] if args.key?(:top_sensitive_values) + end + end + + # + class GooglePrivacyDlpV2beta1LDiversityHistogramBucket + include Google::Apis::Core::Hashable + + # Total number of records in this bucket. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of equivalence classes in this bucket. The total number of + # classes returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Lower bound on the sensitive value frequencies of the equivalence + # classes in this bucket. + # Corresponds to the JSON property `sensitiveValueFrequencyLowerBound` + # @return [Fixnum] + attr_accessor :sensitive_value_frequency_lower_bound + + # Upper bound on the sensitive value frequencies of the equivalence + # classes in this bucket. + # Corresponds to the JSON property `sensitiveValueFrequencyUpperBound` + # @return [Fixnum] + attr_accessor :sensitive_value_frequency_upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @sensitive_value_frequency_lower_bound = args[:sensitive_value_frequency_lower_bound] if args.key?(:sensitive_value_frequency_lower_bound) + @sensitive_value_frequency_upper_bound = args[:sensitive_value_frequency_upper_bound] if args.key?(:sensitive_value_frequency_upper_bound) + end + end + + # Result of the l-diversity computation. + class GooglePrivacyDlpV2beta1LDiversityResult + include Google::Apis::Core::Hashable + + # Histogram of l-diversity equivalence class sensitive value frequencies. + # Corresponds to the JSON property `sensitiveValueFrequencyHistogramBuckets` + # @return [Array] + attr_accessor :sensitive_value_frequency_histogram_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sensitive_value_frequency_histogram_buckets = args[:sensitive_value_frequency_histogram_buckets] if args.key?(:sensitive_value_frequency_histogram_buckets) + end + end + # Response to the ListInfoTypes request. class GooglePrivacyDlpV2beta1ListInfoTypesResponse include Google::Apis::Core::Hashable @@ -1109,6 +2110,58 @@ module Google end end + # Compute numerical stats over an individual column, including + # min, max, and quantiles. + class GooglePrivacyDlpV2beta1NumericalStatsConfig + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + end + end + + # Result of the numerical stats computation. + class GooglePrivacyDlpV2beta1NumericalStatsResult + include Google::Apis::Core::Hashable + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `maxValue` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] + attr_accessor :max_value + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `minValue` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] + attr_accessor :min_value + + # List of 99 values that partition the set of field values into 100 equal + # sized buckets. + # Corresponds to the JSON property `quantileValues` + # @return [Array] + attr_accessor :quantile_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_value = args[:max_value] if args.key?(:max_value) + @min_value = args[:min_value] if args.key?(:min_value) + @quantile_values = args[:quantile_values] if args.key?(:quantile_values) + end + end + # Additional configuration for inspect long running operations. class GooglePrivacyDlpV2beta1OperationConfig include Google::Apis::Core::Hashable @@ -1227,6 +2280,147 @@ module Google end end + # A rule for transforming a value. + class GooglePrivacyDlpV2beta1PrimitiveTransformation + include Google::Apis::Core::Hashable + + # Generalization function that buckets values based on ranges. The ranges and + # replacement values are dynamically provided by the user for custom behavior, + # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH + # This can be used on + # data of type: number, long, string, timestamp. + # If the bound `Value` type differs from the type of data being transformed, we + # will first attempt converting the type of the data to be transformed to match + # the type of the bound before comparing. + # Corresponds to the JSON property `bucketingConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BucketingConfig] + attr_accessor :bucketing_config + + # Partially mask a string by replacing a given number of characters with a + # fixed character. Masking can start from the beginning or end of the string. + # This can be used on data of any type (numbers, longs, and so on) and when + # de-identifying structured data we'll attempt to preserve the original data's + # type. (This allows you to take a long like 123 and modify it to a string like + # **3. + # Corresponds to the JSON property `characterMaskConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CharacterMaskConfig] + attr_accessor :character_mask_config + + # Pseudonymization method that generates surrogates via cryptographic hashing. + # Uses SHA-256. + # The key size must be either 32 or 64 bytes. + # Outputs a 32 byte digest as an uppercase hex string + # (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). + # Currently, only string and integer values can be hashed. + # Corresponds to the JSON property `cryptoHashConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoHashConfig] + attr_accessor :crypto_hash_config + + # Replaces an identifier with an surrogate using FPE with the FFX + # mode of operation. + # The identifier must be encoded as ASCII. + # For a given crypto key and context, the same identifier will be + # replaced with the same surrogate. + # Note that a given identifier must be either the empty string or be at + # least two characters long. + # Corresponds to the JSON property `cryptoReplaceFfxFpeConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig] + attr_accessor :crypto_replace_ffx_fpe_config + + # Buckets values based on fixed size ranges. The + # Bucketing transformation can provide all of this functionality, + # but requires more configuration. This message is provided as a convenience to + # the user for simple bucketing strategies. + # The resulting value will be a hyphenated string of + # lower_bound-upper_bound. + # This can be used on data of type: double, long. + # If the bound Value type differs from the type of data + # being transformed, we will first attempt converting the type of the data to + # be transformed to match the type of the bound before comparing. + # Corresponds to the JSON property `fixedSizeBucketingConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FixedSizeBucketingConfig] + attr_accessor :fixed_size_bucketing_config + + # Redact a given value. For example, if used with an `InfoTypeTransformation` + # transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the + # output would be 'My phone number is '. + # Corresponds to the JSON property `redactConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactConfig] + attr_accessor :redact_config + + # Replace each input value with a given `Value`. + # Corresponds to the JSON property `replaceConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceValueConfig] + attr_accessor :replace_config + + # Replace each matching finding with the name of the info_type. + # Corresponds to the JSON property `replaceWithInfoTypeConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceWithInfoTypeConfig] + attr_accessor :replace_with_info_type_config + + # For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a + # portion of the value. + # Corresponds to the JSON property `timePartConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TimePartConfig] + attr_accessor :time_part_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucketing_config = args[:bucketing_config] if args.key?(:bucketing_config) + @character_mask_config = args[:character_mask_config] if args.key?(:character_mask_config) + @crypto_hash_config = args[:crypto_hash_config] if args.key?(:crypto_hash_config) + @crypto_replace_ffx_fpe_config = args[:crypto_replace_ffx_fpe_config] if args.key?(:crypto_replace_ffx_fpe_config) + @fixed_size_bucketing_config = args[:fixed_size_bucketing_config] if args.key?(:fixed_size_bucketing_config) + @redact_config = args[:redact_config] if args.key?(:redact_config) + @replace_config = args[:replace_config] if args.key?(:replace_config) + @replace_with_info_type_config = args[:replace_with_info_type_config] if args.key?(:replace_with_info_type_config) + @time_part_config = args[:time_part_config] if args.key?(:time_part_config) + end + end + + # Privacy metric to compute for reidentification risk analysis. + class GooglePrivacyDlpV2beta1PrivacyMetric + include Google::Apis::Core::Hashable + + # Compute numerical stats over an individual column, including + # number of distinct values and value count distribution. + # Corresponds to the JSON property `categoricalStatsConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoricalStatsConfig] + attr_accessor :categorical_stats_config + + # k-anonymity metric, used for analysis of reidentification risk. + # Corresponds to the JSON property `kAnonymityConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityConfig] + attr_accessor :k_anonymity_config + + # l-diversity metric, used for analysis of reidentification risk. + # Corresponds to the JSON property `lDiversityConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityConfig] + attr_accessor :l_diversity_config + + # Compute numerical stats over an individual column, including + # min, max, and quantiles. + # Corresponds to the JSON property `numericalStatsConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1NumericalStatsConfig] + attr_accessor :numerical_stats_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @categorical_stats_config = args[:categorical_stats_config] if args.key?(:categorical_stats_config) + @k_anonymity_config = args[:k_anonymity_config] if args.key?(:k_anonymity_config) + @l_diversity_config = args[:l_diversity_config] if args.key?(:l_diversity_config) + @numerical_stats_config = args[:numerical_stats_config] if args.key?(:numerical_stats_config) + end + end + # A representation of a Datastore property in a projection. class GooglePrivacyDlpV2beta1Projection include Google::Apis::Core::Hashable @@ -1291,6 +2485,26 @@ module Google end end + # A condition for determing whether a transformation should be applied to + # a field. + class GooglePrivacyDlpV2beta1RecordCondition + include Google::Apis::Core::Hashable + + # A collection of expressions + # Corresponds to the JSON property `expressions` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Expressions] + attr_accessor :expressions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expressions = args[:expressions] if args.key?(:expressions) + end + end + # Message for a unique key indicating a record that contains a finding. class GooglePrivacyDlpV2beta1RecordKey include Google::Apis::Core::Hashable @@ -1316,6 +2530,69 @@ module Google end end + # Configuration to suppress records whose suppression conditions evaluate to + # true. + class GooglePrivacyDlpV2beta1RecordSuppression + include Google::Apis::Core::Hashable + + # A condition for determing whether a transformation should be applied to + # a field. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordCondition] + attr_accessor :condition + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + end + end + + # A type of transformation that is applied over structured data such as a + # table. + class GooglePrivacyDlpV2beta1RecordTransformations + include Google::Apis::Core::Hashable + + # Transform the record by applying various field transformations. + # Corresponds to the JSON property `fieldTransformations` + # @return [Array] + attr_accessor :field_transformations + + # Configuration defining which records get suppressed entirely. Records that + # match any suppression rule are omitted from the output [optional]. + # Corresponds to the JSON property `recordSuppressions` + # @return [Array] + attr_accessor :record_suppressions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field_transformations = args[:field_transformations] if args.key?(:field_transformations) + @record_suppressions = args[:record_suppressions] if args.key?(:record_suppressions) + end + end + + # Redact a given value. For example, if used with an `InfoTypeTransformation` + # transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the + # output would be 'My phone number is '. + class GooglePrivacyDlpV2beta1RedactConfig + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Request to search for potentially sensitive info in a list of items # and replace it with a default or provided content. class GooglePrivacyDlpV2beta1RedactContentRequest @@ -1401,6 +2678,110 @@ module Google end end + # Replace each input value with a given `Value`. + class GooglePrivacyDlpV2beta1ReplaceValueConfig + include Google::Apis::Core::Hashable + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `newValue` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] + attr_accessor :new_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @new_value = args[:new_value] if args.key?(:new_value) + end + end + + # Replace each matching finding with the name of the info_type. + class GooglePrivacyDlpV2beta1ReplaceWithInfoTypeConfig + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Metadata returned within GetOperation for risk analysis. + class GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata + include Google::Apis::Core::Hashable + + # The time which this request was started. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Privacy metric to compute for reidentification risk analysis. + # Corresponds to the JSON property `requestedPrivacyMetric` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrivacyMetric] + attr_accessor :requested_privacy_metric + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `requestedSourceTable` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable] + attr_accessor :requested_source_table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @requested_privacy_metric = args[:requested_privacy_metric] if args.key?(:requested_privacy_metric) + @requested_source_table = args[:requested_source_table] if args.key?(:requested_source_table) + end + end + + # Result of a risk analysis operation request. + class GooglePrivacyDlpV2beta1RiskAnalysisOperationResult + include Google::Apis::Core::Hashable + + # Result of the categorical stats computation. + # Corresponds to the JSON property `categoricalStatsResult` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoricalStatsResult] + attr_accessor :categorical_stats_result + + # Result of the k-anonymity computation. + # Corresponds to the JSON property `kAnonymityResult` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityResult] + attr_accessor :k_anonymity_result + + # Result of the l-diversity computation. + # Corresponds to the JSON property `lDiversityResult` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityResult] + attr_accessor :l_diversity_result + + # Result of the numerical stats computation. + # Corresponds to the JSON property `numericalStatsResult` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1NumericalStatsResult] + attr_accessor :numerical_stats_result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @categorical_stats_result = args[:categorical_stats_result] if args.key?(:categorical_stats_result) + @k_anonymity_result = args[:k_anonymity_result] if args.key?(:k_anonymity_result) + @l_diversity_result = args[:l_diversity_result] if args.key?(:l_diversity_result) + @numerical_stats_result = args[:numerical_stats_result] if args.key?(:numerical_stats_result) + end + end + # class GooglePrivacyDlpV2beta1Row include Google::Apis::Core::Hashable @@ -1452,6 +2833,39 @@ module Google end end + # A collection that informs the user the number of times a particular + # `TransformationResultCode` and error details occurred. + class GooglePrivacyDlpV2beta1SummaryResult + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # A place for warnings or errors to show up if a transformation didn't + # work as expected. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @count = args[:count] if args.key?(:count) + @details = args[:details] if args.key?(:details) + end + end + # Structured content to inspect. Up to 50,000 `Value`s per request allowed. class GooglePrivacyDlpV2beta1Table include Google::Apis::Core::Hashable @@ -1496,6 +2910,123 @@ module Google end end + # For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a + # portion of the value. + class GooglePrivacyDlpV2beta1TimePartConfig + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `partToExtract` + # @return [String] + attr_accessor :part_to_extract + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @part_to_extract = args[:part_to_extract] if args.key?(:part_to_extract) + end + end + + # Summary of a single tranformation. + class GooglePrivacyDlpV2beta1TransformationSummary + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field + + # The field transformation that was applied. This list will contain + # multiple only in the case of errors. + # Corresponds to the JSON property `fieldTransformations` + # @return [Array] + attr_accessor :field_transformations + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType] + attr_accessor :info_type + + # Configuration to suppress records whose suppression conditions evaluate to + # true. + # Corresponds to the JSON property `recordSuppress` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordSuppression] + attr_accessor :record_suppress + + # + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + # A rule for transforming a value. + # Corresponds to the JSON property `transformation` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation] + attr_accessor :transformation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @field_transformations = args[:field_transformations] if args.key?(:field_transformations) + @info_type = args[:info_type] if args.key?(:info_type) + @record_suppress = args[:record_suppress] if args.key?(:record_suppress) + @results = args[:results] if args.key?(:results) + @transformation = args[:transformation] if args.key?(:transformation) + end + end + + # Use this to have a random data crypto key generated. + # It will be discarded after the operation/request finishes. + class GooglePrivacyDlpV2beta1TransientCryptoKey + include Google::Apis::Core::Hashable + + # Name of the key. [required] + # This is an arbitrary string used to differentiate different keys. + # A unique key is generated per name: two separate `TransientCryptoKey` + # protos share the same generated key if their names are the same. + # When the data crypto key is generated, this name is not used in any way + # (repeating the api call will result in a different key being generated). + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # Using raw keys is prone to security risks due to accidentally + # leaking the key. Choose another type of key if possible. + class GooglePrivacyDlpV2beta1UnwrappedCryptoKey + include Google::Apis::Core::Hashable + + # The AES 128/192/256 bit key. [required] + # Corresponds to the JSON property `key` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + end + end + # Set of primitive values supported by the system. class GooglePrivacyDlpV2beta1Value include Google::Apis::Core::Hashable @@ -1560,6 +3091,31 @@ module Google end end + # A value of a field, including its frequency. + class GooglePrivacyDlpV2beta1ValueFrequency + include Google::Apis::Core::Hashable + + # How many times the value is contained in the field. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `value` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @value = args[:value] if args.key?(:value) + end + end + # A generic empty message that you can re-use to avoid defining duplicated # empty messages in your APIs. A typical example is to use it as the request # or the response type of an API method. For instance: diff --git a/generated/google/apis/dlp_v2beta1/representations.rb b/generated/google/apis/dlp_v2beta1/representations.rb index f9bac86dc..fb16c1c95 100644 --- a/generated/google/apis/dlp_v2beta1/representations.rb +++ b/generated/google/apis/dlp_v2beta1/representations.rb @@ -40,6 +40,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1BigQueryOptions class Representation < Google::Apis::Core::JsonRepresentation; end @@ -52,12 +58,54 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1Bucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1BucketingConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CategoricalStatsConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CategoricalStatsResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1CategoryDescription class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1CharacterMaskConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CharsToIgnore + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1CloudStorageKey class Representation < Google::Apis::Core::JsonRepresentation; end @@ -82,6 +130,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1Condition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Conditions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1ContentItem class Representation < Google::Apis::Core::JsonRepresentation; end @@ -94,6 +154,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1CryptoHashConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CryptoKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1DatastoreKey class Representation < Google::Apis::Core::JsonRepresentation; end @@ -106,12 +184,54 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1DeidentificationSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1DeidentifyConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1DeidentifyContentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1DeidentifyContentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1EntityId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Expressions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1FieldId class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1FieldTransformation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1FileSet class Representation < Google::Apis::Core::JsonRepresentation; end @@ -124,6 +244,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1FixedSizeBucketingConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1ImageLocation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -160,6 +286,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1InfoTypeTransformation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InfoTypeTransformations + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1InspectConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -196,6 +334,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1KAnonymityConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KAnonymityHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KAnonymityResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1Key class Representation < Google::Apis::Core::JsonRepresentation; end @@ -208,6 +370,36 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1KmsWrappedCryptoKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1LDiversityConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1LDiversityEquivalenceClass + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1LDiversityHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1LDiversityResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1ListInfoTypesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -232,6 +424,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1NumericalStatsConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1NumericalStatsResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1OperationConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -256,6 +460,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1PrimitiveTransformation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1PrivacyMetric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1Projection class Representation < Google::Apis::Core::JsonRepresentation; end @@ -274,12 +490,36 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1RecordCondition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1RecordKey class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1RecordSuppression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1RecordTransformations + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1RedactConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1RedactContentRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -298,6 +538,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1ReplaceValueConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1ReplaceWithInfoTypeConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1RiskAnalysisOperationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1Row class Representation < Google::Apis::Core::JsonRepresentation; end @@ -310,6 +574,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1SummaryResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1Table class Representation < Google::Apis::Core::JsonRepresentation; end @@ -322,12 +592,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1TimePartConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1TransformationSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1TransientCryptoKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1UnwrappedCryptoKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2beta1Value class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2beta1ValueFrequency + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleProtobufEmpty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -379,6 +679,16 @@ module Google end end + class GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :privacy_metric, as: 'privacyMetric', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrivacyMetric, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrivacyMetric::Representation + + property :source_table, as: 'sourceTable', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable::Representation + + end + end + class GooglePrivacyDlpV2beta1BigQueryOptions # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -398,6 +708,53 @@ module Google end end + class GooglePrivacyDlpV2beta1Bucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max, as: 'max', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + property :min, as: 'min', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + property :replacement_value, as: 'replacementValue', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + end + end + + class GooglePrivacyDlpV2beta1BucketingConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :buckets, as: 'buckets', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Bucket, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Bucket::Representation + + end + end + + class GooglePrivacyDlpV2beta1CategoricalStatsConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ValueFrequency, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ValueFrequency::Representation + + property :value_frequency_lower_bound, :numeric_string => true, as: 'valueFrequencyLowerBound' + property :value_frequency_upper_bound, :numeric_string => true, as: 'valueFrequencyUpperBound' + end + end + + class GooglePrivacyDlpV2beta1CategoricalStatsResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :value_frequency_histogram_buckets, as: 'valueFrequencyHistogramBuckets', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket::Representation + + end + end + class GooglePrivacyDlpV2beta1CategoryDescription # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -406,6 +763,25 @@ module Google end end + class GooglePrivacyDlpV2beta1CharacterMaskConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :characters_to_ignore, as: 'charactersToIgnore', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CharsToIgnore, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CharsToIgnore::Representation + + property :masking_character, as: 'maskingCharacter' + property :number_to_mask, as: 'numberToMask' + property :reverse_order, as: 'reverseOrder' + end + end + + class GooglePrivacyDlpV2beta1CharsToIgnore + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :characters_to_skip, as: 'charactersToSkip' + property :common_characters_to_ignore, as: 'commonCharactersToIgnore' + end + end + class GooglePrivacyDlpV2beta1CloudStorageKey # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -438,6 +814,25 @@ module Google end end + class GooglePrivacyDlpV2beta1Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + property :operator, as: 'operator' + property :value, as: 'value', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + end + end + + class GooglePrivacyDlpV2beta1Conditions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conditions, as: 'conditions', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Condition, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Condition::Representation + + end + end + class GooglePrivacyDlpV2beta1ContentItem # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -463,6 +858,39 @@ module Google end end + class GooglePrivacyDlpV2beta1CryptoHashConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :crypto_key, as: 'cryptoKey', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoKey, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoKey::Representation + + end + end + + class GooglePrivacyDlpV2beta1CryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kms_wrapped, as: 'kmsWrapped', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KmsWrappedCryptoKey, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KmsWrappedCryptoKey::Representation + + property :transient, as: 'transient', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TransientCryptoKey, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TransientCryptoKey::Representation + + property :unwrapped, as: 'unwrapped', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1UnwrappedCryptoKey, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1UnwrappedCryptoKey::Representation + + end + end + + class GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :common_alphabet, as: 'commonAlphabet' + property :context, as: 'context', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + property :crypto_key, as: 'cryptoKey', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoKey, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoKey::Representation + + property :custom_alphabet, as: 'customAlphabet' + property :radix, as: 'radix' + end + end + class GooglePrivacyDlpV2beta1DatastoreKey # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -483,6 +911,64 @@ module Google end end + class GooglePrivacyDlpV2beta1DeidentificationSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :transformation_summaries, as: 'transformationSummaries', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TransformationSummary, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TransformationSummary::Representation + + property :transformed_bytes, :numeric_string => true, as: 'transformedBytes' + end + end + + class GooglePrivacyDlpV2beta1DeidentifyConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :info_type_transformations, as: 'infoTypeTransformations', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformations, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformations::Representation + + property :record_transformations, as: 'recordTransformations', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordTransformations, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordTransformations::Representation + + end + end + + class GooglePrivacyDlpV2beta1DeidentifyContentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deidentify_config, as: 'deidentifyConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyConfig::Representation + + property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig::Representation + + collection :items, as: 'items', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem::Representation + + end + end + + class GooglePrivacyDlpV2beta1DeidentifyContentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :items, as: 'items', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem::Representation + + collection :summaries, as: 'summaries', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentificationSummary, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentificationSummary::Representation + + end + end + + class GooglePrivacyDlpV2beta1EntityId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1Expressions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :conditions, as: 'conditions', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Conditions, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Conditions::Representation + + property :logical_operator, as: 'logicalOperator' + end + end + class GooglePrivacyDlpV2beta1FieldId # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -490,6 +976,20 @@ module Google end end + class GooglePrivacyDlpV2beta1FieldTransformation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordCondition, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordCondition::Representation + + collection :fields, as: 'fields', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + property :info_type_transformations, as: 'infoTypeTransformations', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformations, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformations::Representation + + property :primitive_transformation, as: 'primitiveTransformation', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation::Representation + + end + end + class GooglePrivacyDlpV2beta1FileSet # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -510,6 +1010,17 @@ module Google end end + class GooglePrivacyDlpV2beta1FixedSizeBucketingConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, as: 'bucketSize' + property :lower_bound, as: 'lowerBound', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + property :upper_bound, as: 'upperBound', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + end + end + class GooglePrivacyDlpV2beta1ImageLocation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -566,6 +1077,24 @@ module Google end end + class GooglePrivacyDlpV2beta1InfoTypeTransformation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType::Representation + + property :primitive_transformation, as: 'primitiveTransformation', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation::Representation + + end + end + + class GooglePrivacyDlpV2beta1InfoTypeTransformations + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :transformations, as: 'transformations', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformation, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformation::Representation + + end + end + class GooglePrivacyDlpV2beta1InspectConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -631,6 +1160,44 @@ module Google end end + class GooglePrivacyDlpV2beta1KAnonymityConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entity_id, as: 'entityId', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1EntityId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1EntityId::Representation + + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :equivalence_class_size, :numeric_string => true, as: 'equivalenceClassSize' + collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + end + end + + class GooglePrivacyDlpV2beta1KAnonymityHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass::Representation + + property :equivalence_class_size_lower_bound, :numeric_string => true, as: 'equivalenceClassSizeLowerBound' + property :equivalence_class_size_upper_bound, :numeric_string => true, as: 'equivalenceClassSizeUpperBound' + end + end + + class GooglePrivacyDlpV2beta1KAnonymityResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :equivalence_class_histogram_buckets, as: 'equivalenceClassHistogramBuckets', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityHistogramBucket, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityHistogramBucket::Representation + + end + end + class GooglePrivacyDlpV2beta1Key # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -648,6 +1215,55 @@ module Google end end + class GooglePrivacyDlpV2beta1KmsWrappedCryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :crypto_key_name, as: 'cryptoKeyName' + property :wrapped_key, :base64 => true, as: 'wrappedKey' + end + end + + class GooglePrivacyDlpV2beta1LDiversityConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + property :sensitive_attribute, as: 'sensitiveAttribute', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1LDiversityEquivalenceClass + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :equivalence_class_size, :numeric_string => true, as: 'equivalenceClassSize' + property :num_distinct_sensitive_values, :numeric_string => true, as: 'numDistinctSensitiveValues' + collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + collection :top_sensitive_values, as: 'topSensitiveValues', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ValueFrequency, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ValueFrequency::Representation + + end + end + + class GooglePrivacyDlpV2beta1LDiversityHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityEquivalenceClass, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityEquivalenceClass::Representation + + property :sensitive_value_frequency_lower_bound, :numeric_string => true, as: 'sensitiveValueFrequencyLowerBound' + property :sensitive_value_frequency_upper_bound, :numeric_string => true, as: 'sensitiveValueFrequencyUpperBound' + end + end + + class GooglePrivacyDlpV2beta1LDiversityResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :sensitive_value_frequency_histogram_buckets, as: 'sensitiveValueFrequencyHistogramBuckets', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityHistogramBucket, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityHistogramBucket::Representation + + end + end + class GooglePrivacyDlpV2beta1ListInfoTypesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -691,6 +1307,26 @@ module Google end end + class GooglePrivacyDlpV2beta1NumericalStatsConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1NumericalStatsResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_value, as: 'maxValue', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + property :min_value, as: 'minValue', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + collection :quantile_values, as: 'quantileValues', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + end + end + class GooglePrivacyDlpV2beta1OperationConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -725,6 +1361,44 @@ module Google end end + class GooglePrivacyDlpV2beta1PrimitiveTransformation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucketing_config, as: 'bucketingConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BucketingConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BucketingConfig::Representation + + property :character_mask_config, as: 'characterMaskConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CharacterMaskConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CharacterMaskConfig::Representation + + property :crypto_hash_config, as: 'cryptoHashConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoHashConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoHashConfig::Representation + + property :crypto_replace_ffx_fpe_config, as: 'cryptoReplaceFfxFpeConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig::Representation + + property :fixed_size_bucketing_config, as: 'fixedSizeBucketingConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FixedSizeBucketingConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FixedSizeBucketingConfig::Representation + + property :redact_config, as: 'redactConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactConfig::Representation + + property :replace_config, as: 'replaceConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceValueConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceValueConfig::Representation + + property :replace_with_info_type_config, as: 'replaceWithInfoTypeConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceWithInfoTypeConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceWithInfoTypeConfig::Representation + + property :time_part_config, as: 'timePartConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TimePartConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TimePartConfig::Representation + + end + end + + class GooglePrivacyDlpV2beta1PrivacyMetric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :categorical_stats_config, as: 'categoricalStatsConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoricalStatsConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoricalStatsConfig::Representation + + property :k_anonymity_config, as: 'kAnonymityConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityConfig::Representation + + property :l_diversity_config, as: 'lDiversityConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityConfig::Representation + + property :numerical_stats_config, as: 'numericalStatsConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1NumericalStatsConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1NumericalStatsConfig::Representation + + end + end + class GooglePrivacyDlpV2beta1Projection # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -748,6 +1422,14 @@ module Google end end + class GooglePrivacyDlpV2beta1RecordCondition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expressions, as: 'expressions', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Expressions, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Expressions::Representation + + end + end + class GooglePrivacyDlpV2beta1RecordKey # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -758,6 +1440,30 @@ module Google end end + class GooglePrivacyDlpV2beta1RecordSuppression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordCondition, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordCondition::Representation + + end + end + + class GooglePrivacyDlpV2beta1RecordTransformations + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :field_transformations, as: 'fieldTransformations', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldTransformation, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldTransformation::Representation + + collection :record_suppressions, as: 'recordSuppressions', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordSuppression, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordSuppression::Representation + + end + end + + class GooglePrivacyDlpV2beta1RedactConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GooglePrivacyDlpV2beta1RedactContentRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -789,6 +1495,45 @@ module Google end end + class GooglePrivacyDlpV2beta1ReplaceValueConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :new_value, as: 'newValue', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + end + end + + class GooglePrivacyDlpV2beta1ReplaceWithInfoTypeConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :requested_privacy_metric, as: 'requestedPrivacyMetric', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrivacyMetric, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrivacyMetric::Representation + + property :requested_source_table, as: 'requestedSourceTable', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta1RiskAnalysisOperationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :categorical_stats_result, as: 'categoricalStatsResult', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoricalStatsResult, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoricalStatsResult::Representation + + property :k_anonymity_result, as: 'kAnonymityResult', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityResult, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityResult::Representation + + property :l_diversity_result, as: 'lDiversityResult', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityResult, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityResult::Representation + + property :numerical_stats_result, as: 'numericalStatsResult', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1NumericalStatsResult, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1NumericalStatsResult::Representation + + end + end + class GooglePrivacyDlpV2beta1Row # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -809,6 +1554,15 @@ module Google end end + class GooglePrivacyDlpV2beta1SummaryResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :count, :numeric_string => true, as: 'count' + property :details, as: 'details' + end + end + class GooglePrivacyDlpV2beta1Table # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -826,6 +1580,45 @@ module Google end end + class GooglePrivacyDlpV2beta1TimePartConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :part_to_extract, as: 'partToExtract' + end + end + + class GooglePrivacyDlpV2beta1TransformationSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + collection :field_transformations, as: 'fieldTransformations', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldTransformation, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldTransformation::Representation + + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType::Representation + + property :record_suppress, as: 'recordSuppress', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordSuppression, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordSuppression::Representation + + collection :results, as: 'results', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1SummaryResult, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1SummaryResult::Representation + + property :transformation, as: 'transformation', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation::Representation + + end + end + + class GooglePrivacyDlpV2beta1TransientCryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1UnwrappedCryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, :base64 => true, as: 'key' + end + end + class GooglePrivacyDlpV2beta1Value # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -841,6 +1634,15 @@ module Google end end + class GooglePrivacyDlpV2beta1ValueFrequency + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, :numeric_string => true, as: 'count' + property :value, as: 'value', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + end + end + class GoogleProtobufEmpty # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dlp_v2beta1/service.rb b/generated/google/apis/dlp_v2beta1/service.rb index 3c727c273..9a51702d4 100644 --- a/generated/google/apis/dlp_v2beta1/service.rb +++ b/generated/google/apis/dlp_v2beta1/service.rb @@ -49,6 +49,37 @@ module Google @batch_path = 'batch' end + # De-identifies potentially sensitive info from a list of strings. + # This method has limits on input size and output size. + # @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentRequest] google_privacy_dlp_v2beta1_deidentify_content_request_object + # @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::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse] + # + # @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 deidentify_content(google_privacy_dlp_v2beta1_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/content:deidentify', options) + command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentRequest::Representation + command.request_object = google_privacy_dlp_v2beta1_deidentify_content_request_object + command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse::Representation + command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Finds potentially sensitive info in a list of strings. # This method has limits on input size, processing time, and output size. # @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentRequest] google_privacy_dlp_v2beta1_inspect_content_request_object @@ -111,6 +142,37 @@ module Google execute_or_queue_command(command, &block) end + # Schedules a job to compute risk analysis metrics over content in a Google + # Cloud Platform repository. + # @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest] google_privacy_dlp_v2beta1_analyze_data_source_risk_request_object + # @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::DlpV2beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation] + # + # @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 analyze_data_source(google_privacy_dlp_v2beta1_analyze_data_source_risk_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/dataSource:analyze', options) + command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest::Representation + command.request_object = google_privacy_dlp_v2beta1_analyze_data_source_risk_request_object + command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Cancels an operation. Use the get method to check whether the cancellation # succeeded or whether the operation completed despite cancellation. # @param [String] name diff --git a/generated/google/apis/testing_v1/classes.rb b/generated/google/apis/testing_v1/classes.rb deleted file mode 100644 index b4d81148e..000000000 --- a/generated/google/apis/testing_v1/classes.rb +++ /dev/null @@ -1,1616 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'date' -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module TestingV1 - - # Identifies an account and how to log into it - class Account - include Google::Apis::Core::Hashable - - # Enables automatic Google account login. - # If set, the service will automatically generate a Google test account and add - # it to the device, before executing the test. Note that test accounts might be - # reused. - # Many applications show their full set of functionalities when an account is - # present on the device. Logging into the device with these generated accounts - # allows testing more functionalities. - # Corresponds to the JSON property `googleAuto` - # @return [Google::Apis::TestingV1::GoogleAuto] - attr_accessor :google_auto - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @google_auto = args[:google_auto] if args.key?(:google_auto) - end - end - - # A single Android device. - class AndroidDevice - include Google::Apis::Core::Hashable - - # The id of the Android device to be used. - # Use the EnvironmentDiscoveryService to get supported options. - # Required - # Corresponds to the JSON property `androidModelId` - # @return [String] - attr_accessor :android_model_id - - # The id of the Android OS version to be used. - # Use the EnvironmentDiscoveryService to get supported options. - # Required - # Corresponds to the JSON property `androidVersionId` - # @return [String] - attr_accessor :android_version_id - - # The locale the test device used for testing. - # Use the EnvironmentDiscoveryService to get supported options. - # Required - # Corresponds to the JSON property `locale` - # @return [String] - attr_accessor :locale - - # How the device is oriented during the test. - # Use the EnvironmentDiscoveryService to get supported options. - # Required - # Corresponds to the JSON property `orientation` - # @return [String] - attr_accessor :orientation - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @android_model_id = args[:android_model_id] if args.key?(:android_model_id) - @android_version_id = args[:android_version_id] if args.key?(:android_version_id) - @locale = args[:locale] if args.key?(:locale) - @orientation = args[:orientation] if args.key?(:orientation) - end - end - - # The currently supported Android devices. - class AndroidDeviceCatalog - include Google::Apis::Core::Hashable - - # The set of supported Android device models. - # @OutputOnly - # Corresponds to the JSON property `models` - # @return [Array] - attr_accessor :models - - # Configuration that can be selected at the time a test is run. - # Corresponds to the JSON property `runtimeConfiguration` - # @return [Google::Apis::TestingV1::AndroidRuntimeConfiguration] - attr_accessor :runtime_configuration - - # The set of supported Android OS versions. - # @OutputOnly - # Corresponds to the JSON property `versions` - # @return [Array] - attr_accessor :versions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @models = args[:models] if args.key?(:models) - @runtime_configuration = args[:runtime_configuration] if args.key?(:runtime_configuration) - @versions = args[:versions] if args.key?(:versions) - end - end - - # A list of Android device configurations in which the test is to be executed. - class AndroidDeviceList - include Google::Apis::Core::Hashable - - # A list of Android devices - # Required - # Corresponds to the JSON property `androidDevices` - # @return [Array] - attr_accessor :android_devices - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @android_devices = args[:android_devices] if args.key?(:android_devices) - end - end - - # A test of an Android application that can control an Android component - # independently of its normal lifecycle. - # Android instrumentation tests run an application APK and test APK inside the - # same process on a virtual or physical AndroidDevice. They also specify - # a test runner class, such as com.google.GoogleTestRunner, which can vary - # on the specific instrumentation framework chosen. - # See for - # more information on types of Android tests. - class AndroidInstrumentationTest - include Google::Apis::Core::Hashable - - # A reference to a file, used for user inputs. - # Corresponds to the JSON property `appApk` - # @return [Google::Apis::TestingV1::FileReference] - attr_accessor :app_apk - - # The java package for the application under test. - # Optional, default is determined by examining the application's manifest. - # Corresponds to the JSON property `appPackageId` - # @return [String] - attr_accessor :app_package_id - - # The option of whether running each test within its own invocation of - # instrumentation with Android Test Orchestrator or not. - # ** Orchestrator is only compatible with AndroidJUnitRunner version 1.0 or - # higher! ** - # Orchestrator offers the following benefits: - # - No shared state - # - Crashes are isolated - # - Logs are scoped per test - # See - # - # for more information about Android Test Orchestrator. - # Optional, if empty, test will be run without orchestrator. - # Corresponds to the JSON property `orchestratorOption` - # @return [String] - attr_accessor :orchestrator_option - - # A reference to a file, used for user inputs. - # Corresponds to the JSON property `testApk` - # @return [Google::Apis::TestingV1::FileReference] - attr_accessor :test_apk - - # The java package for the test to be executed. - # Optional, default is determined by examining the application's manifest. - # Corresponds to the JSON property `testPackageId` - # @return [String] - attr_accessor :test_package_id - - # The InstrumentationTestRunner class. - # Optional, default is determined by examining the application's manifest. - # Corresponds to the JSON property `testRunnerClass` - # @return [String] - attr_accessor :test_runner_class - - # Each target must be fully qualified with the package name or class name, - # in one of these formats: - # - "package package_name" - # - "class package_name.class_name" - # - "class package_name.class_name#method_name" - # Optional, if empty, all targets in the module will be run. - # Corresponds to the JSON property `testTargets` - # @return [Array] - attr_accessor :test_targets - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app_apk = args[:app_apk] if args.key?(:app_apk) - @app_package_id = args[:app_package_id] if args.key?(:app_package_id) - @orchestrator_option = args[:orchestrator_option] if args.key?(:orchestrator_option) - @test_apk = args[:test_apk] if args.key?(:test_apk) - @test_package_id = args[:test_package_id] if args.key?(:test_package_id) - @test_runner_class = args[:test_runner_class] if args.key?(:test_runner_class) - @test_targets = args[:test_targets] if args.key?(:test_targets) - end - end - - # A set of Android device configuration permutations is defined by the - # the cross-product of the given axes. Internally, the given AndroidMatrix - # will be expanded into a set of AndroidDevices. - # Only supported permutations will be instantiated. Invalid permutations - # (e.g., incompatible models/versions) are ignored. - class AndroidMatrix - include Google::Apis::Core::Hashable - - # The ids of the set of Android device to be used. - # Use the EnvironmentDiscoveryService to get supported options. - # Required - # Corresponds to the JSON property `androidModelIds` - # @return [Array] - attr_accessor :android_model_ids - - # The ids of the set of Android OS version to be used. - # Use the EnvironmentDiscoveryService to get supported options. - # Required - # Corresponds to the JSON property `androidVersionIds` - # @return [Array] - attr_accessor :android_version_ids - - # The set of locales the test device will enable for testing. - # Use the EnvironmentDiscoveryService to get supported options. - # Required - # Corresponds to the JSON property `locales` - # @return [Array] - attr_accessor :locales - - # The set of orientations to test with. - # Use the EnvironmentDiscoveryService to get supported options. - # Required - # Corresponds to the JSON property `orientations` - # @return [Array] - attr_accessor :orientations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @android_model_ids = args[:android_model_ids] if args.key?(:android_model_ids) - @android_version_ids = args[:android_version_ids] if args.key?(:android_version_ids) - @locales = args[:locales] if args.key?(:locales) - @orientations = args[:orientations] if args.key?(:orientations) - end - end - - # A description of an Android device tests may be run on. - class AndroidModel - include Google::Apis::Core::Hashable - - # The company that this device is branded with. - # Example: "Google", "Samsung" - # @OutputOnly - # Corresponds to the JSON property `brand` - # @return [String] - attr_accessor :brand - - # The name of the industrial design. - # This corresponds to android.os.Build.DEVICE - # @OutputOnly - # Corresponds to the JSON property `codename` - # @return [String] - attr_accessor :codename - - # Whether this device is virtual or physical. - # @OutputOnly - # Corresponds to the JSON property `form` - # @return [String] - attr_accessor :form - - # The unique opaque id for this model. - # Use this for invoking the TestExecutionService. - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The manufacturer of this device. - # @OutputOnly - # Corresponds to the JSON property `manufacturer` - # @return [String] - attr_accessor :manufacturer - - # The human-readable marketing name for this device model. - # Examples: "Nexus 5", "Galaxy S5" - # @OutputOnly - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Screen density in DPI. - # This corresponds to ro.sf.lcd_density - # @OutputOnly - # Corresponds to the JSON property `screenDensity` - # @return [Fixnum] - attr_accessor :screen_density - - # Screen size in the horizontal (X) dimension measured in pixels. - # @OutputOnly - # Corresponds to the JSON property `screenX` - # @return [Fixnum] - attr_accessor :screen_x - - # Screen size in the vertical (Y) dimension measured in pixels. - # @OutputOnly - # Corresponds to the JSON property `screenY` - # @return [Fixnum] - attr_accessor :screen_y - - # The list of supported ABIs for this device. - # This corresponds to either android.os.Build.SUPPORTED_ABIS (for API level - # 21 and above) or android.os.Build.CPU_ABI/CPU_ABI2. - # The most preferred ABI is the first element in the list. - # Elements are optionally prefixed by "version_id:" (where version_id is - # the id of an AndroidVersion), denoting an ABI that is supported only on - # a particular version. - # @OutputOnly - # Corresponds to the JSON property `supportedAbis` - # @return [Array] - attr_accessor :supported_abis - - # The set of Android versions this device supports. - # @OutputOnly - # Corresponds to the JSON property `supportedVersionIds` - # @return [Array] - attr_accessor :supported_version_ids - - # Tags for this dimension. - # Examples: "default", "preview", "deprecated" - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @brand = args[:brand] if args.key?(:brand) - @codename = args[:codename] if args.key?(:codename) - @form = args[:form] if args.key?(:form) - @id = args[:id] if args.key?(:id) - @manufacturer = args[:manufacturer] if args.key?(:manufacturer) - @name = args[:name] if args.key?(:name) - @screen_density = args[:screen_density] if args.key?(:screen_density) - @screen_x = args[:screen_x] if args.key?(:screen_x) - @screen_y = args[:screen_y] if args.key?(:screen_y) - @supported_abis = args[:supported_abis] if args.key?(:supported_abis) - @supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids) - @tags = args[:tags] if args.key?(:tags) - end - end - - # A test of an android application that explores the application on a virtual - # or physical Android Device, finding culprits and crashes as it goes. - class AndroidRoboTest - include Google::Apis::Core::Hashable - - # A reference to a file, used for user inputs. - # Corresponds to the JSON property `appApk` - # @return [Google::Apis::TestingV1::FileReference] - attr_accessor :app_apk - - # The initial activity that should be used to start the app. - # Optional - # Corresponds to the JSON property `appInitialActivity` - # @return [String] - attr_accessor :app_initial_activity - - # The java package for the application under test. - # Optional, default is determined by examining the application's manifest. - # Corresponds to the JSON property `appPackageId` - # @return [String] - attr_accessor :app_package_id - - # The max depth of the traversal stack Robo can explore. Needs to be at least - # 2 to make Robo explore the app beyond the first activity. - # Default is 50. - # Optional - # Corresponds to the JSON property `maxDepth` - # @return [Fixnum] - attr_accessor :max_depth - - # The max number of steps Robo can execute. - # Default is no limit. - # Optional - # Corresponds to the JSON property `maxSteps` - # @return [Fixnum] - attr_accessor :max_steps - - # A set of directives Robo should apply during the crawl. - # This allows users to customize the crawl. For example, the username and - # password for a test account can be provided. - # Optional - # Corresponds to the JSON property `roboDirectives` - # @return [Array] - attr_accessor :robo_directives - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app_apk = args[:app_apk] if args.key?(:app_apk) - @app_initial_activity = args[:app_initial_activity] if args.key?(:app_initial_activity) - @app_package_id = args[:app_package_id] if args.key?(:app_package_id) - @max_depth = args[:max_depth] if args.key?(:max_depth) - @max_steps = args[:max_steps] if args.key?(:max_steps) - @robo_directives = args[:robo_directives] if args.key?(:robo_directives) - end - end - - # Configuration that can be selected at the time a test is run. - class AndroidRuntimeConfiguration - include Google::Apis::Core::Hashable - - # The set of available locales. - # @OutputOnly - # Corresponds to the JSON property `locales` - # @return [Array] - attr_accessor :locales - - # The set of available orientations. - # @OutputOnly - # Corresponds to the JSON property `orientations` - # @return [Array] - attr_accessor :orientations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @locales = args[:locales] if args.key?(:locales) - @orientations = args[:orientations] if args.key?(:orientations) - end - end - - # A test of an Android Application with a Test Loop. - # The intent will be implicitly added, since Games is the only - # user of this api, for the time being. - class AndroidTestLoop - include Google::Apis::Core::Hashable - - # A reference to a file, used for user inputs. - # Corresponds to the JSON property `appApk` - # @return [Google::Apis::TestingV1::FileReference] - attr_accessor :app_apk - - # The java package for the application under test. - # Optional, default is determined by examining the application's manifest. - # Corresponds to the JSON property `appPackageId` - # @return [String] - attr_accessor :app_package_id - - # The list of scenario labels that should be run during the test. - # The scenario labels should map to labels defined in the application's - # manifest. For example, player_experience and - # com.google.test.loops.player_experience add all of the loops labeled in the - # manifest with the com.google.test.loops.player_experience name to the - # execution. - # Optional. Scenarios can also be specified in the scenarios field. - # Corresponds to the JSON property `scenarioLabels` - # @return [Array] - attr_accessor :scenario_labels - - # The list of scenarios that should be run during the test. - # Optional, default is all test loops, derived from the application's - # manifest. - # Corresponds to the JSON property `scenarios` - # @return [Array] - attr_accessor :scenarios - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app_apk = args[:app_apk] if args.key?(:app_apk) - @app_package_id = args[:app_package_id] if args.key?(:app_package_id) - @scenario_labels = args[:scenario_labels] if args.key?(:scenario_labels) - @scenarios = args[:scenarios] if args.key?(:scenarios) - end - end - - # A version of the Android OS - class AndroidVersion - include Google::Apis::Core::Hashable - - # The API level for this Android version. - # Examples: 18, 19 - # @OutputOnly - # Corresponds to the JSON property `apiLevel` - # @return [Fixnum] - attr_accessor :api_level - - # The code name for this Android version. - # Examples: "JellyBean", "KitKat" - # @OutputOnly - # Corresponds to the JSON property `codeName` - # @return [String] - attr_accessor :code_name - - # Data about the relative number of devices running a - # given configuration of the Android platform. - # Corresponds to the JSON property `distribution` - # @return [Google::Apis::TestingV1::Distribution] - attr_accessor :distribution - - # An opaque id for this Android version. - # Use this id to invoke the TestExecutionService. - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Represents a whole calendar date, e.g. date of birth. The time of day and - # time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `releaseDate` - # @return [Google::Apis::TestingV1::Date] - attr_accessor :release_date - - # Tags for this dimension. - # Examples: "default", "preview", "deprecated" - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - # A string representing this version of the Android OS. - # Examples: "4.3", "4.4" - # @OutputOnly - # Corresponds to the JSON property `versionString` - # @return [String] - attr_accessor :version_string - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @api_level = args[:api_level] if args.key?(:api_level) - @code_name = args[:code_name] if args.key?(:code_name) - @distribution = args[:distribution] if args.key?(:distribution) - @id = args[:id] if args.key?(:id) - @release_date = args[:release_date] if args.key?(:release_date) - @tags = args[:tags] if args.key?(:tags) - @version_string = args[:version_string] if args.key?(:version_string) - end - end - - # Response containing the current state of the specified test matrix. - class CancelTestMatrixResponse - include Google::Apis::Core::Hashable - - # The current rolled-up state of the test matrix. - # If this state is already final, then the cancelation request will - # have no effect. - # Corresponds to the JSON property `testState` - # @return [String] - attr_accessor :test_state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @test_state = args[:test_state] if args.key?(:test_state) - end - end - - # Information about the client which invoked the test. - class ClientInfo - include Google::Apis::Core::Hashable - - # The list of detailed information about client. - # Corresponds to the JSON property `clientInfoDetails` - # @return [Array] - attr_accessor :client_info_details - - # Client name, such as gcloud. - # Required - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_info_details = args[:client_info_details] if args.key?(:client_info_details) - @name = args[:name] if args.key?(:name) - end - end - - # Key-value pair of detailed information about the client which invoked the - # test. For example `'Version', '1.0'`, `'Release Track', 'BETA'` - class ClientInfoDetail - include Google::Apis::Core::Hashable - - # The key of detailed client information. - # Required - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # The value of detailed client information. - # Required - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key = args[:key] if args.key?(:key) - @value = args[:value] if args.key?(:value) - end - end - - # Represents a whole calendar date, e.g. date of birth. The time of day and - # time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - class Date - include Google::Apis::Core::Hashable - - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 - # if specifying a year/month where the day is not significant. - # Corresponds to the JSON property `day` - # @return [Fixnum] - attr_accessor :day - - # Month of year. Must be from 1 to 12. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without - # a year. - # Corresponds to the JSON property `year` - # @return [Fixnum] - attr_accessor :year - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @day = args[:day] if args.key?(:day) - @month = args[:month] if args.key?(:month) - @year = args[:year] if args.key?(:year) - end - end - - # A single device file description. - class DeviceFile - include Google::Apis::Core::Hashable - - # An opaque binary blob file to install on the device before the test starts - # Corresponds to the JSON property `obbFile` - # @return [Google::Apis::TestingV1::ObbFile] - attr_accessor :obb_file - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @obb_file = args[:obb_file] if args.key?(:obb_file) - end - end - - # Data about the relative number of devices running a - # given configuration of the Android platform. - class Distribution - include Google::Apis::Core::Hashable - - # The estimated fraction (0-1) of the total market with this configuration. - # @OutputOnly - # Corresponds to the JSON property `marketShare` - # @return [Float] - attr_accessor :market_share - - # The time this distribution was measured. - # @OutputOnly - # Corresponds to the JSON property `measurementTime` - # @return [String] - attr_accessor :measurement_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @market_share = args[:market_share] if args.key?(:market_share) - @measurement_time = args[:measurement_time] if args.key?(:measurement_time) - end - end - - # The environment in which the test is run. - class Environment - include Google::Apis::Core::Hashable - - # A single Android device. - # Corresponds to the JSON property `androidDevice` - # @return [Google::Apis::TestingV1::AndroidDevice] - attr_accessor :android_device - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @android_device = args[:android_device] if args.key?(:android_device) - end - end - - # The matrix of environments in which the test is to be executed. - class EnvironmentMatrix - include Google::Apis::Core::Hashable - - # A list of Android device configurations in which the test is to be executed. - # Corresponds to the JSON property `androidDeviceList` - # @return [Google::Apis::TestingV1::AndroidDeviceList] - attr_accessor :android_device_list - - # A set of Android device configuration permutations is defined by the - # the cross-product of the given axes. Internally, the given AndroidMatrix - # will be expanded into a set of AndroidDevices. - # Only supported permutations will be instantiated. Invalid permutations - # (e.g., incompatible models/versions) are ignored. - # Corresponds to the JSON property `androidMatrix` - # @return [Google::Apis::TestingV1::AndroidMatrix] - attr_accessor :android_matrix - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @android_device_list = args[:android_device_list] if args.key?(:android_device_list) - @android_matrix = args[:android_matrix] if args.key?(:android_matrix) - end - end - - # A key-value pair passed as an environment variable to the test - class EnvironmentVariable - include Google::Apis::Core::Hashable - - # Key for the environment variable - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # Value for the environment variable - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key = args[:key] if args.key?(:key) - @value = args[:value] if args.key?(:value) - end - end - - # A reference to a file, used for user inputs. - class FileReference - include Google::Apis::Core::Hashable - - # A path to a file in Google Cloud Storage. - # Example: gs://build-app-1414623860166/app-debug-unaligned.apk - # Corresponds to the JSON property `gcsPath` - # @return [String] - attr_accessor :gcs_path - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @gcs_path = args[:gcs_path] if args.key?(:gcs_path) - end - end - - # Enables automatic Google account login. - # If set, the service will automatically generate a Google test account and add - # it to the device, before executing the test. Note that test accounts might be - # reused. - # Many applications show their full set of functionalities when an account is - # present on the device. Logging into the device with these generated accounts - # allows testing more functionalities. - class GoogleAuto - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # A storage location within Google cloud storage (GCS). - class GoogleCloudStorage - include Google::Apis::Core::Hashable - - # The path to a directory in GCS that will - # eventually contain the results for this test. - # The requesting user must have write access on the bucket in the supplied - # path. - # Required - # Corresponds to the JSON property `gcsPath` - # @return [String] - attr_accessor :gcs_path - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @gcs_path = args[:gcs_path] if args.key?(:gcs_path) - end - end - - # A location/region designation for language. - class Locale - include Google::Apis::Core::Hashable - - # The id for this locale. - # Example: "en_US" - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A human-friendly name for this language/locale. - # Example: "English" - # @OutputOnly - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A human-friendy string representing the region for this locale. - # Example: "United States" - # Not present for every locale. - # @OutputOnly - # Corresponds to the JSON property `region` - # @return [String] - attr_accessor :region - - # Tags for this dimension. - # Examples: "default" - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - @region = args[:region] if args.key?(:region) - @tags = args[:tags] if args.key?(:tags) - end - end - - # - class NetworkConfiguration - include Google::Apis::Core::Hashable - - # Network emulation parameters - # Corresponds to the JSON property `downRule` - # @return [Google::Apis::TestingV1::TrafficRule] - attr_accessor :down_rule - - # The unique opaque id for this network traffic configuration - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Network emulation parameters - # Corresponds to the JSON property `upRule` - # @return [Google::Apis::TestingV1::TrafficRule] - attr_accessor :up_rule - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @down_rule = args[:down_rule] if args.key?(:down_rule) - @id = args[:id] if args.key?(:id) - @up_rule = args[:up_rule] if args.key?(:up_rule) - end - end - - # - class NetworkConfigurationCatalog - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `configurations` - # @return [Array] - attr_accessor :configurations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @configurations = args[:configurations] if args.key?(:configurations) - end - end - - # An opaque binary blob file to install on the device before the test starts - class ObbFile - include Google::Apis::Core::Hashable - - # A reference to a file, used for user inputs. - # Corresponds to the JSON property `obb` - # @return [Google::Apis::TestingV1::FileReference] - attr_accessor :obb - - # OBB file name which must conform to the format as specified by - # Android - # e.g. [main|patch].0300110.com.example.android.obb - # which will be installed into - # /Android/obb// - # on the device - # Required - # Corresponds to the JSON property `obbFileName` - # @return [String] - attr_accessor :obb_file_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @obb = args[:obb] if args.key?(:obb) - @obb_file_name = args[:obb_file_name] if args.key?(:obb_file_name) - end - end - - # Screen orientation of the device. - class Orientation - include Google::Apis::Core::Hashable - - # The id for this orientation. - # Example: "portrait" - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A human-friendly name for this orientation. - # Example: "portrait" - # @OutputOnly - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Tags for this dimension. - # Examples: "default" - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - @tags = args[:tags] if args.key?(:tags) - end - end - - # Locations where the results of running the test are stored. - class ResultStorage - include Google::Apis::Core::Hashable - - # A storage location within Google cloud storage (GCS). - # Corresponds to the JSON property `googleCloudStorage` - # @return [Google::Apis::TestingV1::GoogleCloudStorage] - attr_accessor :google_cloud_storage - - # Represents a tool results execution resource. - # This has the results of a TestMatrix. - # Corresponds to the JSON property `toolResultsExecution` - # @return [Google::Apis::TestingV1::ToolResultsExecution] - attr_accessor :tool_results_execution - - # Represents a tool results history resource. - # Corresponds to the JSON property `toolResultsHistory` - # @return [Google::Apis::TestingV1::ToolResultsHistory] - attr_accessor :tool_results_history - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @google_cloud_storage = args[:google_cloud_storage] if args.key?(:google_cloud_storage) - @tool_results_execution = args[:tool_results_execution] if args.key?(:tool_results_execution) - @tool_results_history = args[:tool_results_history] if args.key?(:tool_results_history) - end - end - - # Directs Robo to interact with a specific UI element if it is encountered - # during the crawl. Currently, Robo can perform text entry or element click. - class RoboDirective - include Google::Apis::Core::Hashable - - # The type of action that Robo should perform on the specified element. - # Required. - # Corresponds to the JSON property `actionType` - # @return [String] - attr_accessor :action_type - - # The text that Robo is directed to set. If left empty, the directive will be - # treated as a CLICK on the element matching the resource_name. - # Optional - # Corresponds to the JSON property `inputText` - # @return [String] - attr_accessor :input_text - - # The android resource name of the target UI element - # For example, - # in Java: R.string.foo - # in xml: @string/foo - # Only the “foo” part is needed. - # Reference doc: - # https://developer.android.com/guide/topics/resources/accessing-resources.html - # Required - # Corresponds to the JSON property `resourceName` - # @return [String] - attr_accessor :resource_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @action_type = args[:action_type] if args.key?(:action_type) - @input_text = args[:input_text] if args.key?(:input_text) - @resource_name = args[:resource_name] if args.key?(:resource_name) - end - end - - # Additional details about the progress of the running test. - class TestDetails - include Google::Apis::Core::Hashable - - # If the TestState is ERROR, then this string will contain human-readable - # details about the error. - # @OutputOnly - # Corresponds to the JSON property `errorMessage` - # @return [String] - attr_accessor :error_message - - # Human-readable, detailed descriptions of the test's progress. - # For example: "Provisioning a device", "Starting Test". - # During the course of execution new data may be appended - # to the end of progress_messages. - # @OutputOnly - # Corresponds to the JSON property `progressMessages` - # @return [Array] - attr_accessor :progress_messages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error_message = args[:error_message] if args.key?(:error_message) - @progress_messages = args[:progress_messages] if args.key?(:progress_messages) - end - end - - # A description of a test environment. - class TestEnvironmentCatalog - include Google::Apis::Core::Hashable - - # The currently supported Android devices. - # Corresponds to the JSON property `androidDeviceCatalog` - # @return [Google::Apis::TestingV1::AndroidDeviceCatalog] - attr_accessor :android_device_catalog - - # Supported network configurations - # Corresponds to the JSON property `networkConfigurationCatalog` - # @return [Google::Apis::TestingV1::NetworkConfigurationCatalog] - attr_accessor :network_configuration_catalog - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @android_device_catalog = args[:android_device_catalog] if args.key?(:android_device_catalog) - @network_configuration_catalog = args[:network_configuration_catalog] if args.key?(:network_configuration_catalog) - end - end - - # Specifies a single test to be executed in a single environment. - class TestExecution - include Google::Apis::Core::Hashable - - # The environment in which the test is run. - # Corresponds to the JSON property `environment` - # @return [Google::Apis::TestingV1::Environment] - attr_accessor :environment - - # Unique id set by the backend. - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Id of the containing TestMatrix. - # @OutputOnly - # Corresponds to the JSON property `matrixId` - # @return [String] - attr_accessor :matrix_id - - # The cloud project that owns the test execution. - # @OutputOnly - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Indicates the current progress of the test execution (e.g., FINISHED). - # @OutputOnly - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Additional details about the progress of the running test. - # Corresponds to the JSON property `testDetails` - # @return [Google::Apis::TestingV1::TestDetails] - attr_accessor :test_details - - # A description of how to run the test. - # Corresponds to the JSON property `testSpecification` - # @return [Google::Apis::TestingV1::TestSpecification] - attr_accessor :test_specification - - # The time this test execution was initially created. - # @OutputOnly - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - # Represents a tool results step resource. - # This has the results of a TestExecution. - # Corresponds to the JSON property `toolResultsStep` - # @return [Google::Apis::TestingV1::ToolResultsStep] - attr_accessor :tool_results_step - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @environment = args[:environment] if args.key?(:environment) - @id = args[:id] if args.key?(:id) - @matrix_id = args[:matrix_id] if args.key?(:matrix_id) - @project_id = args[:project_id] if args.key?(:project_id) - @state = args[:state] if args.key?(:state) - @test_details = args[:test_details] if args.key?(:test_details) - @test_specification = args[:test_specification] if args.key?(:test_specification) - @timestamp = args[:timestamp] if args.key?(:timestamp) - @tool_results_step = args[:tool_results_step] if args.key?(:tool_results_step) - end - end - - # A group of one or more TestExecutions, built by taking a - # product of values over a pre-defined set of axes. - class TestMatrix - include Google::Apis::Core::Hashable - - # Information about the client which invoked the test. - # Corresponds to the JSON property `clientInfo` - # @return [Google::Apis::TestingV1::ClientInfo] - attr_accessor :client_info - - # The matrix of environments in which the test is to be executed. - # Corresponds to the JSON property `environmentMatrix` - # @return [Google::Apis::TestingV1::EnvironmentMatrix] - attr_accessor :environment_matrix - - # Describes why the matrix is considered invalid. - # Only useful for matrices in the INVALID state. - # @OutputOnly - # Corresponds to the JSON property `invalidMatrixDetails` - # @return [String] - attr_accessor :invalid_matrix_details - - # The cloud project that owns the test matrix. - # @OutputOnly - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Locations where the results of running the test are stored. - # Corresponds to the JSON property `resultStorage` - # @return [Google::Apis::TestingV1::ResultStorage] - attr_accessor :result_storage - - # Indicates the current progress of the test matrix (e.g., FINISHED) - # @OutputOnly - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # The list of test executions that the service creates for this matrix. - # @OutputOnly - # Corresponds to the JSON property `testExecutions` - # @return [Array] - attr_accessor :test_executions - - # Unique id set by the service. - # @OutputOnly - # Corresponds to the JSON property `testMatrixId` - # @return [String] - attr_accessor :test_matrix_id - - # A description of how to run the test. - # Corresponds to the JSON property `testSpecification` - # @return [Google::Apis::TestingV1::TestSpecification] - attr_accessor :test_specification - - # The time this test matrix was initially created. - # @OutputOnly - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_info = args[:client_info] if args.key?(:client_info) - @environment_matrix = args[:environment_matrix] if args.key?(:environment_matrix) - @invalid_matrix_details = args[:invalid_matrix_details] if args.key?(:invalid_matrix_details) - @project_id = args[:project_id] if args.key?(:project_id) - @result_storage = args[:result_storage] if args.key?(:result_storage) - @state = args[:state] if args.key?(:state) - @test_executions = args[:test_executions] if args.key?(:test_executions) - @test_matrix_id = args[:test_matrix_id] if args.key?(:test_matrix_id) - @test_specification = args[:test_specification] if args.key?(:test_specification) - @timestamp = args[:timestamp] if args.key?(:timestamp) - end - end - - # A description of how to set up the device prior to running the test - class TestSetup - include Google::Apis::Core::Hashable - - # Identifies an account and how to log into it - # Corresponds to the JSON property `account` - # @return [Google::Apis::TestingV1::Account] - attr_accessor :account - - # The directories on the device to upload to GCS at the end of the test; - # they must be absolute, whitelisted paths. - # Refer to RegularFile for whitelisted paths. - # Optional - # Corresponds to the JSON property `directoriesToPull` - # @return [Array] - attr_accessor :directories_to_pull - - # Environment variables to set for the test (only applicable for - # instrumentation tests). - # Corresponds to the JSON property `environmentVariables` - # @return [Array] - attr_accessor :environment_variables - - # Optional - # Corresponds to the JSON property `filesToPush` - # @return [Array] - attr_accessor :files_to_push - - # The network traffic profile used for running the test. - # Optional - # Corresponds to the JSON property `networkProfile` - # @return [String] - attr_accessor :network_profile - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @account = args[:account] if args.key?(:account) - @directories_to_pull = args[:directories_to_pull] if args.key?(:directories_to_pull) - @environment_variables = args[:environment_variables] if args.key?(:environment_variables) - @files_to_push = args[:files_to_push] if args.key?(:files_to_push) - @network_profile = args[:network_profile] if args.key?(:network_profile) - end - end - - # A description of how to run the test. - class TestSpecification - include Google::Apis::Core::Hashable - - # A test of an Android application that can control an Android component - # independently of its normal lifecycle. - # Android instrumentation tests run an application APK and test APK inside the - # same process on a virtual or physical AndroidDevice. They also specify - # a test runner class, such as com.google.GoogleTestRunner, which can vary - # on the specific instrumentation framework chosen. - # See for - # more information on types of Android tests. - # Corresponds to the JSON property `androidInstrumentationTest` - # @return [Google::Apis::TestingV1::AndroidInstrumentationTest] - attr_accessor :android_instrumentation_test - - # A test of an android application that explores the application on a virtual - # or physical Android Device, finding culprits and crashes as it goes. - # Corresponds to the JSON property `androidRoboTest` - # @return [Google::Apis::TestingV1::AndroidRoboTest] - attr_accessor :android_robo_test - - # A test of an Android Application with a Test Loop. - # The intent will be implicitly added, since Games is the only - # user of this api, for the time being. - # Corresponds to the JSON property `androidTestLoop` - # @return [Google::Apis::TestingV1::AndroidTestLoop] - attr_accessor :android_test_loop - - # Enables automatic Google account login. - # If set, the service will automatically generate a Google test account and - # add it to the device, before executing the test. Note that test accounts - # might be reused. - # Many applications show their full set of functionalities when an account is - # present on the device. Logging into the device with these generated - # accounts allows testing more functionalities. - # Default is false. - # Optional - # Corresponds to the JSON property `autoGoogleLogin` - # @return [Boolean] - attr_accessor :auto_google_login - alias_method :auto_google_login?, :auto_google_login - - # Disables performance metrics recording; may reduce test latency. - # Corresponds to the JSON property `disablePerformanceMetrics` - # @return [Boolean] - attr_accessor :disable_performance_metrics - alias_method :disable_performance_metrics?, :disable_performance_metrics - - # Disables video recording; may reduce test latency. - # Corresponds to the JSON property `disableVideoRecording` - # @return [Boolean] - attr_accessor :disable_video_recording - alias_method :disable_video_recording?, :disable_video_recording - - # A description of how to set up the device prior to running the test - # Corresponds to the JSON property `testSetup` - # @return [Google::Apis::TestingV1::TestSetup] - attr_accessor :test_setup - - # Max time a test execution is allowed to run before it is - # automatically cancelled. - # Optional, default is 5 min. - # Corresponds to the JSON property `testTimeout` - # @return [String] - attr_accessor :test_timeout - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @android_instrumentation_test = args[:android_instrumentation_test] if args.key?(:android_instrumentation_test) - @android_robo_test = args[:android_robo_test] if args.key?(:android_robo_test) - @android_test_loop = args[:android_test_loop] if args.key?(:android_test_loop) - @auto_google_login = args[:auto_google_login] if args.key?(:auto_google_login) - @disable_performance_metrics = args[:disable_performance_metrics] if args.key?(:disable_performance_metrics) - @disable_video_recording = args[:disable_video_recording] if args.key?(:disable_video_recording) - @test_setup = args[:test_setup] if args.key?(:test_setup) - @test_timeout = args[:test_timeout] if args.key?(:test_timeout) - end - end - - # Represents a tool results execution resource. - # This has the results of a TestMatrix. - class ToolResultsExecution - include Google::Apis::Core::Hashable - - # A tool results execution ID. - # @OutputOnly - # Corresponds to the JSON property `executionId` - # @return [String] - attr_accessor :execution_id - - # A tool results history ID. - # @OutputOnly - # Corresponds to the JSON property `historyId` - # @return [String] - attr_accessor :history_id - - # The cloud project that owns the tool results execution. - # @OutputOnly - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @execution_id = args[:execution_id] if args.key?(:execution_id) - @history_id = args[:history_id] if args.key?(:history_id) - @project_id = args[:project_id] if args.key?(:project_id) - end - end - - # Represents a tool results history resource. - class ToolResultsHistory - include Google::Apis::Core::Hashable - - # A tool results history ID. - # Required - # Corresponds to the JSON property `historyId` - # @return [String] - attr_accessor :history_id - - # The cloud project that owns the tool results history. - # Required - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @history_id = args[:history_id] if args.key?(:history_id) - @project_id = args[:project_id] if args.key?(:project_id) - end - end - - # Represents a tool results step resource. - # This has the results of a TestExecution. - class ToolResultsStep - include Google::Apis::Core::Hashable - - # A tool results execution ID. - # @OutputOnly - # Corresponds to the JSON property `executionId` - # @return [String] - attr_accessor :execution_id - - # A tool results history ID. - # @OutputOnly - # Corresponds to the JSON property `historyId` - # @return [String] - attr_accessor :history_id - - # The cloud project that owns the tool results step. - # @OutputOnly - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # A tool results step ID. - # @OutputOnly - # Corresponds to the JSON property `stepId` - # @return [String] - attr_accessor :step_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @execution_id = args[:execution_id] if args.key?(:execution_id) - @history_id = args[:history_id] if args.key?(:history_id) - @project_id = args[:project_id] if args.key?(:project_id) - @step_id = args[:step_id] if args.key?(:step_id) - end - end - - # Network emulation parameters - class TrafficRule - include Google::Apis::Core::Hashable - - # Bandwidth in kbits/second - # Corresponds to the JSON property `bandwidth` - # @return [Float] - attr_accessor :bandwidth - - # Burst size in kbits - # Corresponds to the JSON property `burst` - # @return [Float] - attr_accessor :burst - - # Packet delay, must be >= 0 - # Corresponds to the JSON property `delay` - # @return [String] - attr_accessor :delay - - # Packet duplication ratio (0.0 - 1.0) - # Corresponds to the JSON property `packetDuplicationRatio` - # @return [Float] - attr_accessor :packet_duplication_ratio - - # Packet loss ratio (0.0 - 1.0) - # Corresponds to the JSON property `packetLossRatio` - # @return [Float] - attr_accessor :packet_loss_ratio - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bandwidth = args[:bandwidth] if args.key?(:bandwidth) - @burst = args[:burst] if args.key?(:burst) - @delay = args[:delay] if args.key?(:delay) - @packet_duplication_ratio = args[:packet_duplication_ratio] if args.key?(:packet_duplication_ratio) - @packet_loss_ratio = args[:packet_loss_ratio] if args.key?(:packet_loss_ratio) - end - end - end - end -end diff --git a/generated/google/apis/testing_v1/representations.rb b/generated/google/apis/testing_v1/representations.rb deleted file mode 100644 index 23c0b56be..000000000 --- a/generated/google/apis/testing_v1/representations.rb +++ /dev/null @@ -1,688 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'date' -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module TestingV1 - - class Account - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidDevice - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidDeviceCatalog - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidDeviceList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidInstrumentationTest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidMatrix - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidModel - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidRoboTest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidRuntimeConfiguration - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidTestLoop - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidVersion - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CancelTestMatrixResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClientInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClientInfoDetail - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Date - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeviceFile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Distribution - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Environment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EnvironmentMatrix - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EnvironmentVariable - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FileReference - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleAuto - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudStorage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Locale - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NetworkConfiguration - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NetworkConfigurationCatalog - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ObbFile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Orientation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ResultStorage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RoboDirective - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestDetails - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestEnvironmentCatalog - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestExecution - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestMatrix - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestSetup - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestSpecification - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ToolResultsExecution - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ToolResultsHistory - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ToolResultsStep - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TrafficRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Account - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :google_auto, as: 'googleAuto', class: Google::Apis::TestingV1::GoogleAuto, decorator: Google::Apis::TestingV1::GoogleAuto::Representation - - end - end - - class AndroidDevice - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :android_model_id, as: 'androidModelId' - property :android_version_id, as: 'androidVersionId' - property :locale, as: 'locale' - property :orientation, as: 'orientation' - end - end - - class AndroidDeviceCatalog - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :models, as: 'models', class: Google::Apis::TestingV1::AndroidModel, decorator: Google::Apis::TestingV1::AndroidModel::Representation - - property :runtime_configuration, as: 'runtimeConfiguration', class: Google::Apis::TestingV1::AndroidRuntimeConfiguration, decorator: Google::Apis::TestingV1::AndroidRuntimeConfiguration::Representation - - collection :versions, as: 'versions', class: Google::Apis::TestingV1::AndroidVersion, decorator: Google::Apis::TestingV1::AndroidVersion::Representation - - end - end - - class AndroidDeviceList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :android_devices, as: 'androidDevices', class: Google::Apis::TestingV1::AndroidDevice, decorator: Google::Apis::TestingV1::AndroidDevice::Representation - - end - end - - class AndroidInstrumentationTest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :app_apk, as: 'appApk', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation - - property :app_package_id, as: 'appPackageId' - property :orchestrator_option, as: 'orchestratorOption' - property :test_apk, as: 'testApk', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation - - property :test_package_id, as: 'testPackageId' - property :test_runner_class, as: 'testRunnerClass' - collection :test_targets, as: 'testTargets' - end - end - - class AndroidMatrix - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :android_model_ids, as: 'androidModelIds' - collection :android_version_ids, as: 'androidVersionIds' - collection :locales, as: 'locales' - collection :orientations, as: 'orientations' - end - end - - class AndroidModel - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :brand, as: 'brand' - property :codename, as: 'codename' - property :form, as: 'form' - property :id, as: 'id' - property :manufacturer, as: 'manufacturer' - property :name, as: 'name' - property :screen_density, as: 'screenDensity' - property :screen_x, as: 'screenX' - property :screen_y, as: 'screenY' - collection :supported_abis, as: 'supportedAbis' - collection :supported_version_ids, as: 'supportedVersionIds' - collection :tags, as: 'tags' - end - end - - class AndroidRoboTest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :app_apk, as: 'appApk', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation - - property :app_initial_activity, as: 'appInitialActivity' - property :app_package_id, as: 'appPackageId' - property :max_depth, as: 'maxDepth' - property :max_steps, as: 'maxSteps' - collection :robo_directives, as: 'roboDirectives', class: Google::Apis::TestingV1::RoboDirective, decorator: Google::Apis::TestingV1::RoboDirective::Representation - - end - end - - class AndroidRuntimeConfiguration - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :locales, as: 'locales', class: Google::Apis::TestingV1::Locale, decorator: Google::Apis::TestingV1::Locale::Representation - - collection :orientations, as: 'orientations', class: Google::Apis::TestingV1::Orientation, decorator: Google::Apis::TestingV1::Orientation::Representation - - end - end - - class AndroidTestLoop - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :app_apk, as: 'appApk', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation - - property :app_package_id, as: 'appPackageId' - collection :scenario_labels, as: 'scenarioLabels' - collection :scenarios, as: 'scenarios' - end - end - - class AndroidVersion - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :api_level, as: 'apiLevel' - property :code_name, as: 'codeName' - property :distribution, as: 'distribution', class: Google::Apis::TestingV1::Distribution, decorator: Google::Apis::TestingV1::Distribution::Representation - - property :id, as: 'id' - property :release_date, as: 'releaseDate', class: Google::Apis::TestingV1::Date, decorator: Google::Apis::TestingV1::Date::Representation - - collection :tags, as: 'tags' - property :version_string, as: 'versionString' - end - end - - class CancelTestMatrixResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :test_state, as: 'testState' - end - end - - class ClientInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :client_info_details, as: 'clientInfoDetails', class: Google::Apis::TestingV1::ClientInfoDetail, decorator: Google::Apis::TestingV1::ClientInfoDetail::Representation - - property :name, as: 'name' - end - end - - class ClientInfoDetail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :value, as: 'value' - end - end - - class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :day, as: 'day' - property :month, as: 'month' - property :year, as: 'year' - end - end - - class DeviceFile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :obb_file, as: 'obbFile', class: Google::Apis::TestingV1::ObbFile, decorator: Google::Apis::TestingV1::ObbFile::Representation - - end - end - - class Distribution - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :market_share, as: 'marketShare' - property :measurement_time, as: 'measurementTime' - end - end - - class Environment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :android_device, as: 'androidDevice', class: Google::Apis::TestingV1::AndroidDevice, decorator: Google::Apis::TestingV1::AndroidDevice::Representation - - end - end - - class EnvironmentMatrix - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :android_device_list, as: 'androidDeviceList', class: Google::Apis::TestingV1::AndroidDeviceList, decorator: Google::Apis::TestingV1::AndroidDeviceList::Representation - - property :android_matrix, as: 'androidMatrix', class: Google::Apis::TestingV1::AndroidMatrix, decorator: Google::Apis::TestingV1::AndroidMatrix::Representation - - end - end - - class EnvironmentVariable - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :value, as: 'value' - end - end - - class FileReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :gcs_path, as: 'gcsPath' - end - end - - class GoogleAuto - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GoogleCloudStorage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :gcs_path, as: 'gcsPath' - end - end - - class Locale - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :name, as: 'name' - property :region, as: 'region' - collection :tags, as: 'tags' - end - end - - class NetworkConfiguration - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :down_rule, as: 'downRule', class: Google::Apis::TestingV1::TrafficRule, decorator: Google::Apis::TestingV1::TrafficRule::Representation - - property :id, as: 'id' - property :up_rule, as: 'upRule', class: Google::Apis::TestingV1::TrafficRule, decorator: Google::Apis::TestingV1::TrafficRule::Representation - - end - end - - class NetworkConfigurationCatalog - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :configurations, as: 'configurations', class: Google::Apis::TestingV1::NetworkConfiguration, decorator: Google::Apis::TestingV1::NetworkConfiguration::Representation - - end - end - - class ObbFile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :obb, as: 'obb', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation - - property :obb_file_name, as: 'obbFileName' - end - end - - class Orientation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :name, as: 'name' - collection :tags, as: 'tags' - end - end - - class ResultStorage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :google_cloud_storage, as: 'googleCloudStorage', class: Google::Apis::TestingV1::GoogleCloudStorage, decorator: Google::Apis::TestingV1::GoogleCloudStorage::Representation - - property :tool_results_execution, as: 'toolResultsExecution', class: Google::Apis::TestingV1::ToolResultsExecution, decorator: Google::Apis::TestingV1::ToolResultsExecution::Representation - - property :tool_results_history, as: 'toolResultsHistory', class: Google::Apis::TestingV1::ToolResultsHistory, decorator: Google::Apis::TestingV1::ToolResultsHistory::Representation - - end - end - - class RoboDirective - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :action_type, as: 'actionType' - property :input_text, as: 'inputText' - property :resource_name, as: 'resourceName' - end - end - - class TestDetails - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error_message, as: 'errorMessage' - collection :progress_messages, as: 'progressMessages' - end - end - - class TestEnvironmentCatalog - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :android_device_catalog, as: 'androidDeviceCatalog', class: Google::Apis::TestingV1::AndroidDeviceCatalog, decorator: Google::Apis::TestingV1::AndroidDeviceCatalog::Representation - - property :network_configuration_catalog, as: 'networkConfigurationCatalog', class: Google::Apis::TestingV1::NetworkConfigurationCatalog, decorator: Google::Apis::TestingV1::NetworkConfigurationCatalog::Representation - - end - end - - class TestExecution - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :environment, as: 'environment', class: Google::Apis::TestingV1::Environment, decorator: Google::Apis::TestingV1::Environment::Representation - - property :id, as: 'id' - property :matrix_id, as: 'matrixId' - property :project_id, as: 'projectId' - property :state, as: 'state' - property :test_details, as: 'testDetails', class: Google::Apis::TestingV1::TestDetails, decorator: Google::Apis::TestingV1::TestDetails::Representation - - property :test_specification, as: 'testSpecification', class: Google::Apis::TestingV1::TestSpecification, decorator: Google::Apis::TestingV1::TestSpecification::Representation - - property :timestamp, as: 'timestamp' - property :tool_results_step, as: 'toolResultsStep', class: Google::Apis::TestingV1::ToolResultsStep, decorator: Google::Apis::TestingV1::ToolResultsStep::Representation - - end - end - - class TestMatrix - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_info, as: 'clientInfo', class: Google::Apis::TestingV1::ClientInfo, decorator: Google::Apis::TestingV1::ClientInfo::Representation - - property :environment_matrix, as: 'environmentMatrix', class: Google::Apis::TestingV1::EnvironmentMatrix, decorator: Google::Apis::TestingV1::EnvironmentMatrix::Representation - - property :invalid_matrix_details, as: 'invalidMatrixDetails' - property :project_id, as: 'projectId' - property :result_storage, as: 'resultStorage', class: Google::Apis::TestingV1::ResultStorage, decorator: Google::Apis::TestingV1::ResultStorage::Representation - - property :state, as: 'state' - collection :test_executions, as: 'testExecutions', class: Google::Apis::TestingV1::TestExecution, decorator: Google::Apis::TestingV1::TestExecution::Representation - - property :test_matrix_id, as: 'testMatrixId' - property :test_specification, as: 'testSpecification', class: Google::Apis::TestingV1::TestSpecification, decorator: Google::Apis::TestingV1::TestSpecification::Representation - - property :timestamp, as: 'timestamp' - end - end - - class TestSetup - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :account, as: 'account', class: Google::Apis::TestingV1::Account, decorator: Google::Apis::TestingV1::Account::Representation - - collection :directories_to_pull, as: 'directoriesToPull' - collection :environment_variables, as: 'environmentVariables', class: Google::Apis::TestingV1::EnvironmentVariable, decorator: Google::Apis::TestingV1::EnvironmentVariable::Representation - - collection :files_to_push, as: 'filesToPush', class: Google::Apis::TestingV1::DeviceFile, decorator: Google::Apis::TestingV1::DeviceFile::Representation - - property :network_profile, as: 'networkProfile' - end - end - - class TestSpecification - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :android_instrumentation_test, as: 'androidInstrumentationTest', class: Google::Apis::TestingV1::AndroidInstrumentationTest, decorator: Google::Apis::TestingV1::AndroidInstrumentationTest::Representation - - property :android_robo_test, as: 'androidRoboTest', class: Google::Apis::TestingV1::AndroidRoboTest, decorator: Google::Apis::TestingV1::AndroidRoboTest::Representation - - property :android_test_loop, as: 'androidTestLoop', class: Google::Apis::TestingV1::AndroidTestLoop, decorator: Google::Apis::TestingV1::AndroidTestLoop::Representation - - property :auto_google_login, as: 'autoGoogleLogin' - property :disable_performance_metrics, as: 'disablePerformanceMetrics' - property :disable_video_recording, as: 'disableVideoRecording' - property :test_setup, as: 'testSetup', class: Google::Apis::TestingV1::TestSetup, decorator: Google::Apis::TestingV1::TestSetup::Representation - - property :test_timeout, as: 'testTimeout' - end - end - - class ToolResultsExecution - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :execution_id, as: 'executionId' - property :history_id, as: 'historyId' - property :project_id, as: 'projectId' - end - end - - class ToolResultsHistory - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :history_id, as: 'historyId' - property :project_id, as: 'projectId' - end - end - - class ToolResultsStep - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :execution_id, as: 'executionId' - property :history_id, as: 'historyId' - property :project_id, as: 'projectId' - property :step_id, as: 'stepId' - end - end - - class TrafficRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bandwidth, as: 'bandwidth' - property :burst, as: 'burst' - property :delay, as: 'delay' - property :packet_duplication_ratio, as: 'packetDuplicationRatio' - property :packet_loss_ratio, as: 'packetLossRatio' - end - end - end - end -end diff --git a/generated/google/apis/testing_v1/service.rb b/generated/google/apis/testing_v1/service.rb deleted file mode 100644 index 478b829eb..000000000 --- a/generated/google/apis/testing_v1/service.rb +++ /dev/null @@ -1,221 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module TestingV1 - # Google Cloud Testing API - # - # Allows developers to run automated tests for their mobile applications on - # Google infrastructure. - # - # @example - # require 'google/apis/testing_v1' - # - # Testing = Google::Apis::TestingV1 # Alias the module - # service = Testing::TestingService.new - # - # @see https://developers.google.com/cloud-test-lab/ - class TestingService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - - # @return [String] - # 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. - attr_accessor :quota_user - - def initialize - super('https://testing.googleapis.com/', '') - @batch_path = 'batch' - end - - # Cancels unfinished test executions in a test matrix. - # This call returns immediately and cancellation proceeds asychronously. - # If the matrix is already final, this operation will have no effect. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the Test Matrix does not exist - # @param [String] project_id - # Cloud project that owns the test. - # @param [String] test_matrix_id - # Test matrix that will be canceled. - # @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::TestingV1::CancelTestMatrixResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::TestingV1::CancelTestMatrixResponse] - # - # @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 cancel_project_test_matrix(project_id, test_matrix_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/testMatrices/{testMatrixId}:cancel', options) - command.response_representation = Google::Apis::TestingV1::CancelTestMatrixResponse::Representation - command.response_class = Google::Apis::TestingV1::CancelTestMatrixResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['testMatrixId'] = test_matrix_id unless test_matrix_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Request to run a matrix of tests according to the given specifications. - # Unsupported environments will be returned in the state UNSUPPORTED. - # Matrices are limited to at most 200 supported executions. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - # - INVALID_ARGUMENT - if the request is malformed or if the matrix expands - # to more than 200 supported executions - # @param [String] project_id - # The GCE project under which this job will run. - # @param [Google::Apis::TestingV1::TestMatrix] test_matrix_object - # @param [String] request_id - # A string id used to detect duplicated requests. - # Ids are automatically scoped to a project, so - # users should ensure the ID is unique per-project. - # A UUID is recommended. - # Optional, but strongly recommended. - # @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::TestingV1::TestMatrix] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::TestingV1::TestMatrix] - # - # @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_project_test_matrix(project_id, test_matrix_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/testMatrices', options) - command.request_representation = Google::Apis::TestingV1::TestMatrix::Representation - command.request_object = test_matrix_object - command.response_representation = Google::Apis::TestingV1::TestMatrix::Representation - command.response_class = Google::Apis::TestingV1::TestMatrix - command.params['projectId'] = project_id unless project_id.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? - execute_or_queue_command(command, &block) - end - - # Check the status of a test matrix. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the Test Matrix does not exist - # @param [String] project_id - # Cloud project that owns the test matrix. - # @param [String] test_matrix_id - # Unique test matrix id which was assigned by the service. - # @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::TestingV1::TestMatrix] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::TestingV1::TestMatrix] - # - # @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_test_matrix(project_id, test_matrix_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/testMatrices/{testMatrixId}', options) - command.response_representation = Google::Apis::TestingV1::TestMatrix::Representation - command.response_class = Google::Apis::TestingV1::TestMatrix - command.params['projectId'] = project_id unless project_id.nil? - command.params['testMatrixId'] = test_matrix_id unless test_matrix_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Get the catalog of supported test environments. - # May return any of the following canonical error codes: - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the environment type does not exist - # - INTERNAL - if an internal error occurred - # @param [String] environment_type - # The type of environment that should be listed. - # Required - # @param [String] project_id - # For authorization, the cloud project requesting the TestEnvironmentCatalog. - # Optional - # @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::TestingV1::TestEnvironmentCatalog] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::TestingV1::TestEnvironmentCatalog] - # - # @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_test_environment_catalog(environment_type, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/testEnvironmentCatalog/{environmentType}', options) - command.response_representation = Google::Apis::TestingV1::TestEnvironmentCatalog::Representation - command.response_class = Google::Apis::TestingV1::TestEnvironmentCatalog - command.params['environmentType'] = environment_type unless environment_type.nil? - command.query['projectId'] = project_id unless project_id.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 - - def apply_command_defaults(command) - command.query['key'] = key unless key.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - end - end - end - end -end diff --git a/generated/google/apis/youtube_v3.rb b/generated/google/apis/youtube_v3.rb index 00ba605a3..00fafc75f 100644 --- a/generated/google/apis/youtube_v3.rb +++ b/generated/google/apis/youtube_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/youtube/v3 module YoutubeV3 VERSION = 'V3' - REVISION = '20170130' + REVISION = '20170903' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_v3/classes.rb b/generated/google/apis/youtube_v3/classes.rb index 86124249e..91f45a10c 100644 --- a/generated/google/apis/youtube_v3/classes.rb +++ b/generated/google/apis/youtube_v3/classes.rb @@ -2289,7 +2289,7 @@ module Google end # Ratings schemes. The country-specific ratings are mostly for movies and shows. - # NEXT_ID: 69 + # NEXT_ID: 71 class ContentRating include Google::Apis::Core::Hashable @@ -2547,6 +2547,11 @@ module Google # @return [String] attr_accessor :meku_rating + # The rating system for MENA countries, a clone of MPAA. It is needed to + # Corresponds to the JSON property `menaMpaaRating` + # @return [String] + attr_accessor :mena_mpaa_rating + # The video's rating from the Ministero dei Beni e delle Attività Culturali e # del Turismo (Italy). # Corresponds to the JSON property `mibacRating` @@ -2568,6 +2573,12 @@ module Google # @return [String] attr_accessor :mpaa_rating + # The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/ + # md/ratings/v2.3/html/US_MPAAT_Ratings.html. + # Corresponds to the JSON property `mpaatRating` + # @return [String] + attr_accessor :mpaat_rating + # The video's rating from the Movie and Television Review and Classification # Board (Philippines). # Corresponds to the JSON property `mtrcbRating` @@ -2716,10 +2727,12 @@ module Google @mda_rating = args[:mda_rating] if args.key?(:mda_rating) @medietilsynet_rating = args[:medietilsynet_rating] if args.key?(:medietilsynet_rating) @meku_rating = args[:meku_rating] if args.key?(:meku_rating) + @mena_mpaa_rating = args[:mena_mpaa_rating] if args.key?(:mena_mpaa_rating) @mibac_rating = args[:mibac_rating] if args.key?(:mibac_rating) @moc_rating = args[:moc_rating] if args.key?(:moc_rating) @moctw_rating = args[:moctw_rating] if args.key?(:moctw_rating) @mpaa_rating = args[:mpaa_rating] if args.key?(:mpaa_rating) + @mpaat_rating = args[:mpaat_rating] if args.key?(:mpaat_rating) @mtrcb_rating = args[:mtrcb_rating] if args.key?(:mtrcb_rating) @nbc_rating = args[:nbc_rating] if args.key?(:nbc_rating) @nbcpl_rating = args[:nbcpl_rating] if args.key?(:nbcpl_rating) @@ -3698,11 +3711,6 @@ module Google # @return [Google::Apis::YoutubeV3::LiveBroadcastStatus] attr_accessor :status - # - # Corresponds to the JSON property `topicDetails` - # @return [Google::Apis::YoutubeV3::LiveBroadcastTopicDetails] - attr_accessor :topic_details - def initialize(**args) update!(**args) end @@ -3716,7 +3724,6 @@ module Google @snippet = args[:snippet] if args.key?(:snippet) @statistics = args[:statistics] if args.key?(:statistics) @status = args[:status] if args.key?(:status) - @topic_details = args[:topic_details] if args.key?(:topic_details) end end @@ -3783,6 +3790,12 @@ module Google attr_accessor :enable_low_latency alias_method :enable_low_latency?, :enable_low_latency + # + # Corresponds to the JSON property `mesh` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :mesh + # Settings and Info of the monitor stream # Corresponds to the JSON property `monitorStream` # @return [Google::Apis::YoutubeV3::MonitorStreamInfo] @@ -3829,6 +3842,7 @@ module Google @enable_dvr = args[:enable_dvr] if args.key?(:enable_dvr) @enable_embed = args[:enable_embed] if args.key?(:enable_embed) @enable_low_latency = args[:enable_low_latency] if args.key?(:enable_low_latency) + @mesh = args[:mesh] if args.key?(:mesh) @monitor_stream = args[:monitor_stream] if args.key?(:monitor_stream) @projection = args[:projection] if args.key?(:projection) @record_from_start = args[:record_from_start] if args.key?(:record_from_start) @@ -4077,83 +4091,6 @@ module Google end end - # - class LiveBroadcastTopic - include Google::Apis::Core::Hashable - - # Information about the topic matched. - # Corresponds to the JSON property `snippet` - # @return [Google::Apis::YoutubeV3::LiveBroadcastTopicSnippet] - attr_accessor :snippet - - # The type of the topic. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # If this flag is set it means that we have not been able to match the topic - # title and type provided to a known entity. - # Corresponds to the JSON property `unmatched` - # @return [Boolean] - attr_accessor :unmatched - alias_method :unmatched?, :unmatched - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @snippet = args[:snippet] if args.key?(:snippet) - @type = args[:type] if args.key?(:type) - @unmatched = args[:unmatched] if args.key?(:unmatched) - end - end - - # - class LiveBroadcastTopicDetails - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `topics` - # @return [Array] - attr_accessor :topics - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @topics = args[:topics] if args.key?(:topics) - end - end - - # - class LiveBroadcastTopicSnippet - include Google::Apis::Core::Hashable - - # The name of the topic. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The date at which the topic was released. Filled for types: videoGame - # Corresponds to the JSON property `releaseDate` - # @return [String] - attr_accessor :release_date - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @release_date = args[:release_date] if args.key?(:release_date) - end - end - # A liveChatBan resource represents a ban for a YouTube live chat. class LiveChatBan include Google::Apis::Core::Hashable @@ -7507,7 +7444,7 @@ module Google attr_accessor :caption # Ratings schemes. The country-specific ratings are mostly for movies and shows. - # NEXT_ID: 69 + # NEXT_ID: 71 # Corresponds to the JSON property `contentRating` # @return [Google::Apis::YoutubeV3::ContentRating] attr_accessor :content_rating diff --git a/generated/google/apis/youtube_v3/representations.rb b/generated/google/apis/youtube_v3/representations.rb index bf7b469e4..d0a50e0aa 100644 --- a/generated/google/apis/youtube_v3/representations.rb +++ b/generated/google/apis/youtube_v3/representations.rb @@ -484,24 +484,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LiveBroadcastTopic - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LiveBroadcastTopicDetails - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LiveBroadcastTopicSnippet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class LiveChatBan class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1759,10 +1741,12 @@ module Google property :mda_rating, as: 'mdaRating' property :medietilsynet_rating, as: 'medietilsynetRating' property :meku_rating, as: 'mekuRating' + property :mena_mpaa_rating, as: 'menaMpaaRating' property :mibac_rating, as: 'mibacRating' property :moc_rating, as: 'mocRating' property :moctw_rating, as: 'moctwRating' property :mpaa_rating, as: 'mpaaRating' + property :mpaat_rating, as: 'mpaatRating' property :mtrcb_rating, as: 'mtrcbRating' property :nbc_rating, as: 'nbcRating' property :nbcpl_rating, as: 'nbcplRating' @@ -2041,8 +2025,6 @@ module Google property :status, as: 'status', class: Google::Apis::YoutubeV3::LiveBroadcastStatus, decorator: Google::Apis::YoutubeV3::LiveBroadcastStatus::Representation - property :topic_details, as: 'topicDetails', class: Google::Apis::YoutubeV3::LiveBroadcastTopicDetails, decorator: Google::Apis::YoutubeV3::LiveBroadcastTopicDetails::Representation - end end @@ -2058,6 +2040,7 @@ module Google property :enable_dvr, as: 'enableDvr' property :enable_embed, as: 'enableEmbed' property :enable_low_latency, as: 'enableLowLatency' + property :mesh, :base64 => true, as: 'mesh' property :monitor_stream, as: 'monitorStream', class: Google::Apis::YoutubeV3::MonitorStreamInfo, decorator: Google::Apis::YoutubeV3::MonitorStreamInfo::Representation property :projection, as: 'projection' @@ -2125,32 +2108,6 @@ module Google end end - class LiveBroadcastTopic - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveBroadcastTopicSnippet, decorator: Google::Apis::YoutubeV3::LiveBroadcastTopicSnippet::Representation - - property :type, as: 'type' - property :unmatched, as: 'unmatched' - end - end - - class LiveBroadcastTopicDetails - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :topics, as: 'topics', class: Google::Apis::YoutubeV3::LiveBroadcastTopic, decorator: Google::Apis::YoutubeV3::LiveBroadcastTopic::Representation - - end - end - - class LiveBroadcastTopicSnippet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :release_date, as: 'releaseDate' - end - end - class LiveChatBan # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/youtube_v3/service.rb b/generated/google/apis/youtube_v3/service.rb index 23f74c157..45f5c1179 100644 --- a/generated/google/apis/youtube_v3/service.rb +++ b/generated/google/apis/youtube_v3/service.rb @@ -523,6 +523,15 @@ module Google # Set the brandingSettings.image.bannerExternalUrl property's value to the URL # obtained in step 2. # @param [Google::Apis::YoutubeV3::ChannelBannerResource] channel_banner_resource_object + # @param [String] channel_id + # The channelId parameter identifies the YouTube channel to which the banner is + # uploaded. The channelId parameter was introduced as a required parameter in + # May 2017. As this was a backward-incompatible change, channelBanners.insert + # requests that do not specify this parameter will not return an error until six + # months have passed from the time that the parameter was introduced. Please see + # the API Terms of Service for the official policy regarding backward + # incompatible changes and the API revision history for the exact date that the + # parameter was introduced. # @param [String] on_behalf_of_content_owner # Note: This parameter is intended exclusively for YouTube content partners. # The onBehalfOfContentOwner parameter indicates that the request's @@ -558,7 +567,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_channel_banner(channel_banner_resource_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + def insert_channel_banner(channel_banner_resource_object = nil, channel_id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'channelBanners/insert', options) else @@ -570,6 +579,7 @@ module Google command.request_object = channel_banner_resource_object command.response_representation = Google::Apis::YoutubeV3::ChannelBannerResource::Representation command.response_class = Google::Apis::YoutubeV3::ChannelBannerResource + command.query['channelId'] = channel_id unless channel_id.nil? command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?