From 0e70f11571130648dfca4a9f9481a4875c35808c Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 6 Mar 2018 00:36:10 +0000 Subject: [PATCH] Autogenerated update (2018-03-06) Delete: - serviceusage_v1 Update: - appengine_v1 - appengine_v1alpha - appengine_v1beta - appengine_v1beta4 - appengine_v1beta5 - firebasedynamiclinks_v1 - genomics_v2alpha1 - people_v1 - sheets_v4 - slides_v1 --- api_names_out.yaml | 416 +++++++++++++ generated/google/apis/appengine_v1.rb | 2 +- generated/google/apis/appengine_v1/classes.rb | 9 +- .../apis/appengine_v1/representations.rb | 1 + generated/google/apis/appengine_v1alpha.rb | 2 +- .../google/apis/appengine_v1alpha/classes.rb | 7 + .../apis/appengine_v1alpha/representations.rb | 1 + generated/google/apis/appengine_v1beta.rb | 2 +- .../google/apis/appengine_v1beta/classes.rb | 9 +- .../apis/appengine_v1beta/representations.rb | 1 + generated/google/apis/appengine_v1beta4.rb | 2 +- .../google/apis/appengine_v1beta4/classes.rb | 7 + .../apis/appengine_v1beta4/representations.rb | 1 + generated/google/apis/appengine_v1beta5.rb | 2 +- .../google/apis/appengine_v1beta5/classes.rb | 7 + .../apis/appengine_v1beta5/representations.rb | 1 + .../google/apis/firebasedynamiclinks_v1.rb | 2 +- .../apis/firebasedynamiclinks_v1/classes.rb | 4 +- generated/google/apis/genomics_v2alpha1.rb | 2 +- .../google/apis/genomics_v2alpha1/classes.rb | 12 +- .../google/apis/genomics_v2alpha1/service.rb | 13 +- generated/google/apis/people_v1.rb | 2 +- generated/google/apis/people_v1/service.rb | 2 - ...iceusage_v1.rb => serviceusage_v1beta1.rb} | 12 +- .../classes.rb | 556 ++++++++++-------- .../representations.rb | 260 ++++---- .../service.rb | 259 +++----- generated/google/apis/sheets_v4.rb | 2 +- generated/google/apis/sheets_v4/classes.rb | 2 +- generated/google/apis/slides_v1.rb | 2 +- generated/google/apis/slides_v1/classes.rb | 8 +- generated/google/apis/slides_v1/service.rb | 5 +- 32 files changed, 1030 insertions(+), 583 deletions(-) rename generated/google/apis/{serviceusage_v1.rb => serviceusage_v1beta1.rb} (84%) rename generated/google/apis/{serviceusage_v1 => serviceusage_v1beta1}/classes.rb (91%) rename generated/google/apis/{serviceusage_v1 => serviceusage_v1beta1}/representations.rb (78%) rename generated/google/apis/{serviceusage_v1 => serviceusage_v1beta1}/service.rb (60%) diff --git a/api_names_out.yaml b/api_names_out.yaml index 21b3e4835..9281e8867 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -7247,6 +7247,7 @@ "/appengine:v1/LivenessCheck/successThreshold": success_threshold "/appengine:v1/LivenessCheck/timeout": timeout "/appengine:v1/Location": location +"/appengine:v1/Location/displayName": display_name "/appengine:v1/Location/labels": labels "/appengine:v1/Location/labels/label": label "/appengine:v1/Location/locationId": location_id @@ -7635,6 +7636,7 @@ "/appengine:v1alpha/ListOperationsResponse/operations": operations "/appengine:v1alpha/ListOperationsResponse/operations/operation": operation "/appengine:v1alpha/Location": location +"/appengine:v1alpha/Location/displayName": display_name "/appengine:v1alpha/Location/labels": labels "/appengine:v1alpha/Location/labels/label": label "/appengine:v1alpha/Location/locationId": location_id @@ -7980,6 +7982,7 @@ "/appengine:v1beta/LivenessCheck/successThreshold": success_threshold "/appengine:v1beta/LivenessCheck/timeout": timeout "/appengine:v1beta/Location": location +"/appengine:v1beta/Location/displayName": display_name "/appengine:v1beta/Location/labels": labels "/appengine:v1beta/Location/labels/label": label "/appengine:v1beta/Location/locationId": location_id @@ -8447,6 +8450,7 @@ "/appengine:v1beta4/ListVersionsResponse/versions": versions "/appengine:v1beta4/ListVersionsResponse/versions/version": version "/appengine:v1beta4/Location": location +"/appengine:v1beta4/Location/displayName": display_name "/appengine:v1beta4/Location/labels": labels "/appengine:v1beta4/Location/labels/label": label "/appengine:v1beta4/Location/locationId": location_id @@ -8830,6 +8834,7 @@ "/appengine:v1beta5/ListVersionsResponse/versions": versions "/appengine:v1beta5/ListVersionsResponse/versions/version": version "/appengine:v1beta5/Location": location +"/appengine:v1beta5/Location/displayName": display_name "/appengine:v1beta5/Location/labels": labels "/appengine:v1beta5/Location/labels/label": label "/appengine:v1beta5/Location/locationId": location_id @@ -61886,6 +61891,417 @@ "/serviceusage:v1/serviceusage.services.search": search_services "/serviceusage:v1/serviceusage.services.search/pageSize": page_size "/serviceusage:v1/serviceusage.services.search/pageToken": page_token +"/serviceusage:v1beta1/Api": api +"/serviceusage:v1beta1/Api/methods": methods_prop +"/serviceusage:v1beta1/Api/methods/methods_prop": methods_prop +"/serviceusage:v1beta1/Api/mixins": mixins +"/serviceusage:v1beta1/Api/mixins/mixin": mixin +"/serviceusage:v1beta1/Api/name": name +"/serviceusage:v1beta1/Api/options": options +"/serviceusage:v1beta1/Api/options/option": option +"/serviceusage:v1beta1/Api/sourceContext": source_context +"/serviceusage:v1beta1/Api/syntax": syntax +"/serviceusage:v1beta1/Api/version": version +"/serviceusage:v1beta1/AuthProvider": auth_provider +"/serviceusage:v1beta1/AuthProvider/audiences": audiences +"/serviceusage:v1beta1/AuthProvider/authorizationUrl": authorization_url +"/serviceusage:v1beta1/AuthProvider/id": id +"/serviceusage:v1beta1/AuthProvider/issuer": issuer +"/serviceusage:v1beta1/AuthProvider/jwksUri": jwks_uri +"/serviceusage:v1beta1/AuthRequirement": auth_requirement +"/serviceusage:v1beta1/AuthRequirement/audiences": audiences +"/serviceusage:v1beta1/AuthRequirement/providerId": provider_id +"/serviceusage:v1beta1/Authentication": authentication +"/serviceusage:v1beta1/Authentication/providers": providers +"/serviceusage:v1beta1/Authentication/providers/provider": provider +"/serviceusage:v1beta1/Authentication/rules": rules +"/serviceusage:v1beta1/Authentication/rules/rule": rule +"/serviceusage:v1beta1/AuthenticationRule": authentication_rule +"/serviceusage:v1beta1/AuthenticationRule/allowWithoutCredential": allow_without_credential +"/serviceusage:v1beta1/AuthenticationRule/customAuth": custom_auth +"/serviceusage:v1beta1/AuthenticationRule/oauth": oauth +"/serviceusage:v1beta1/AuthenticationRule/requirements": requirements +"/serviceusage:v1beta1/AuthenticationRule/requirements/requirement": requirement +"/serviceusage:v1beta1/AuthenticationRule/selector": selector +"/serviceusage:v1beta1/AuthorizationConfig": authorization_config +"/serviceusage:v1beta1/AuthorizationConfig/provider": provider +"/serviceusage:v1beta1/AuthorizationRule": authorization_rule +"/serviceusage:v1beta1/AuthorizationRule/permissions": permissions +"/serviceusage:v1beta1/AuthorizationRule/selector": selector +"/serviceusage:v1beta1/Backend": backend +"/serviceusage:v1beta1/Backend/rules": rules +"/serviceusage:v1beta1/Backend/rules/rule": rule +"/serviceusage:v1beta1/BackendRule": backend_rule +"/serviceusage:v1beta1/BackendRule/address": address +"/serviceusage:v1beta1/BackendRule/deadline": deadline +"/serviceusage:v1beta1/BackendRule/minDeadline": min_deadline +"/serviceusage:v1beta1/BackendRule/selector": selector +"/serviceusage:v1beta1/BatchEnableServicesRequest": batch_enable_services_request +"/serviceusage:v1beta1/BatchEnableServicesRequest/serviceIds": service_ids +"/serviceusage:v1beta1/BatchEnableServicesRequest/serviceIds/service_id": service_id +"/serviceusage:v1beta1/Billing": billing +"/serviceusage:v1beta1/Billing/consumerDestinations": consumer_destinations +"/serviceusage:v1beta1/Billing/consumerDestinations/consumer_destination": consumer_destination +"/serviceusage:v1beta1/BillingDestination": billing_destination +"/serviceusage:v1beta1/BillingDestination/metrics": metrics +"/serviceusage:v1beta1/BillingDestination/metrics/metric": metric +"/serviceusage:v1beta1/BillingDestination/monitoredResource": monitored_resource +"/serviceusage:v1beta1/Context": context +"/serviceusage:v1beta1/Context/rules": rules +"/serviceusage:v1beta1/Context/rules/rule": rule +"/serviceusage:v1beta1/ContextRule": context_rule +"/serviceusage:v1beta1/ContextRule/allowedRequestExtensions": allowed_request_extensions +"/serviceusage:v1beta1/ContextRule/allowedRequestExtensions/allowed_request_extension": allowed_request_extension +"/serviceusage:v1beta1/ContextRule/allowedResponseExtensions": allowed_response_extensions +"/serviceusage:v1beta1/ContextRule/allowedResponseExtensions/allowed_response_extension": allowed_response_extension +"/serviceusage:v1beta1/ContextRule/provided": provided +"/serviceusage:v1beta1/ContextRule/provided/provided": provided +"/serviceusage:v1beta1/ContextRule/requested": requested +"/serviceusage:v1beta1/ContextRule/requested/requested": requested +"/serviceusage:v1beta1/ContextRule/selector": selector +"/serviceusage:v1beta1/Control": control +"/serviceusage:v1beta1/Control/environment": environment +"/serviceusage:v1beta1/CustomAuthRequirements": custom_auth_requirements +"/serviceusage:v1beta1/CustomAuthRequirements/provider": provider +"/serviceusage:v1beta1/CustomError": custom_error +"/serviceusage:v1beta1/CustomError/rules": rules +"/serviceusage:v1beta1/CustomError/rules/rule": rule +"/serviceusage:v1beta1/CustomError/types": types +"/serviceusage:v1beta1/CustomError/types/type": type +"/serviceusage:v1beta1/CustomErrorRule": custom_error_rule +"/serviceusage:v1beta1/CustomErrorRule/isErrorType": is_error_type +"/serviceusage:v1beta1/CustomErrorRule/selector": selector +"/serviceusage:v1beta1/CustomHttpPattern": custom_http_pattern +"/serviceusage:v1beta1/CustomHttpPattern/kind": kind +"/serviceusage:v1beta1/CustomHttpPattern/path": path +"/serviceusage:v1beta1/DisableServiceRequest": disable_service_request +"/serviceusage:v1beta1/Documentation": documentation +"/serviceusage:v1beta1/Documentation/documentationRootUrl": documentation_root_url +"/serviceusage:v1beta1/Documentation/overview": overview +"/serviceusage:v1beta1/Documentation/pages": pages +"/serviceusage:v1beta1/Documentation/pages/page": page +"/serviceusage:v1beta1/Documentation/rules": rules +"/serviceusage:v1beta1/Documentation/rules/rule": rule +"/serviceusage:v1beta1/Documentation/summary": summary +"/serviceusage:v1beta1/DocumentationRule": documentation_rule +"/serviceusage:v1beta1/DocumentationRule/deprecationDescription": deprecation_description +"/serviceusage:v1beta1/DocumentationRule/description": description +"/serviceusage:v1beta1/DocumentationRule/selector": selector +"/serviceusage:v1beta1/EnableServiceRequest": enable_service_request +"/serviceusage:v1beta1/Endpoint": endpoint +"/serviceusage:v1beta1/Endpoint/aliases": aliases +"/serviceusage:v1beta1/Endpoint/aliases/alias": alias +"/serviceusage:v1beta1/Endpoint/allowCors": allow_cors +"/serviceusage:v1beta1/Endpoint/features": features +"/serviceusage:v1beta1/Endpoint/features/feature": feature +"/serviceusage:v1beta1/Endpoint/name": name +"/serviceusage:v1beta1/Endpoint/target": target +"/serviceusage:v1beta1/Enum": enum +"/serviceusage:v1beta1/Enum/enumvalue": enumvalue +"/serviceusage:v1beta1/Enum/enumvalue/enumvalue": enumvalue +"/serviceusage:v1beta1/Enum/name": name +"/serviceusage:v1beta1/Enum/options": options +"/serviceusage:v1beta1/Enum/options/option": option +"/serviceusage:v1beta1/Enum/sourceContext": source_context +"/serviceusage:v1beta1/Enum/syntax": syntax +"/serviceusage:v1beta1/EnumValue": enum_value +"/serviceusage:v1beta1/EnumValue/name": name +"/serviceusage:v1beta1/EnumValue/number": number +"/serviceusage:v1beta1/EnumValue/options": options +"/serviceusage:v1beta1/EnumValue/options/option": option +"/serviceusage:v1beta1/Experimental": experimental +"/serviceusage:v1beta1/Experimental/authorization": authorization +"/serviceusage:v1beta1/Field": field +"/serviceusage:v1beta1/Field/cardinality": cardinality +"/serviceusage:v1beta1/Field/defaultValue": default_value +"/serviceusage:v1beta1/Field/jsonName": json_name +"/serviceusage:v1beta1/Field/kind": kind +"/serviceusage:v1beta1/Field/name": name +"/serviceusage:v1beta1/Field/number": number +"/serviceusage:v1beta1/Field/oneofIndex": oneof_index +"/serviceusage:v1beta1/Field/options": options +"/serviceusage:v1beta1/Field/options/option": option +"/serviceusage:v1beta1/Field/packed": packed +"/serviceusage:v1beta1/Field/typeUrl": type_url +"/serviceusage:v1beta1/GoogleApiService": google_api_service +"/serviceusage:v1beta1/GoogleApiService/apis": apis +"/serviceusage:v1beta1/GoogleApiService/apis/api": api +"/serviceusage:v1beta1/GoogleApiService/authentication": authentication +"/serviceusage:v1beta1/GoogleApiService/backend": backend +"/serviceusage:v1beta1/GoogleApiService/billing": billing +"/serviceusage:v1beta1/GoogleApiService/configVersion": config_version +"/serviceusage:v1beta1/GoogleApiService/context": context +"/serviceusage:v1beta1/GoogleApiService/control": control +"/serviceusage:v1beta1/GoogleApiService/customError": custom_error +"/serviceusage:v1beta1/GoogleApiService/documentation": documentation +"/serviceusage:v1beta1/GoogleApiService/endpoints": endpoints +"/serviceusage:v1beta1/GoogleApiService/endpoints/endpoint": endpoint +"/serviceusage:v1beta1/GoogleApiService/enums": enums +"/serviceusage:v1beta1/GoogleApiService/enums/enum": enum +"/serviceusage:v1beta1/GoogleApiService/experimental": experimental +"/serviceusage:v1beta1/GoogleApiService/http": http +"/serviceusage:v1beta1/GoogleApiService/id": id +"/serviceusage:v1beta1/GoogleApiService/logging": logging +"/serviceusage:v1beta1/GoogleApiService/logs": logs +"/serviceusage:v1beta1/GoogleApiService/logs/log": log +"/serviceusage:v1beta1/GoogleApiService/metrics": metrics +"/serviceusage:v1beta1/GoogleApiService/metrics/metric": metric +"/serviceusage:v1beta1/GoogleApiService/monitoredResources": monitored_resources +"/serviceusage:v1beta1/GoogleApiService/monitoredResources/monitored_resource": monitored_resource +"/serviceusage:v1beta1/GoogleApiService/monitoring": monitoring +"/serviceusage:v1beta1/GoogleApiService/name": name +"/serviceusage:v1beta1/GoogleApiService/producerProjectId": producer_project_id +"/serviceusage:v1beta1/GoogleApiService/quota": quota +"/serviceusage:v1beta1/GoogleApiService/sourceInfo": source_info +"/serviceusage:v1beta1/GoogleApiService/systemParameters": system_parameters +"/serviceusage:v1beta1/GoogleApiService/systemTypes": system_types +"/serviceusage:v1beta1/GoogleApiService/systemTypes/system_type": system_type +"/serviceusage:v1beta1/GoogleApiService/title": title +"/serviceusage:v1beta1/GoogleApiService/types": types +"/serviceusage:v1beta1/GoogleApiService/types/type": type +"/serviceusage:v1beta1/GoogleApiService/usage": usage +"/serviceusage:v1beta1/GoogleApiService/visibility": visibility +"/serviceusage:v1beta1/Http": http +"/serviceusage:v1beta1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion +"/serviceusage:v1beta1/Http/rules": rules +"/serviceusage:v1beta1/Http/rules/rule": rule +"/serviceusage:v1beta1/HttpRule": http_rule +"/serviceusage:v1beta1/HttpRule/additionalBindings": additional_bindings +"/serviceusage:v1beta1/HttpRule/additionalBindings/additional_binding": additional_binding +"/serviceusage:v1beta1/HttpRule/authorizations": authorizations +"/serviceusage:v1beta1/HttpRule/authorizations/authorization": authorization +"/serviceusage:v1beta1/HttpRule/body": body +"/serviceusage:v1beta1/HttpRule/custom": custom +"/serviceusage:v1beta1/HttpRule/delete": delete +"/serviceusage:v1beta1/HttpRule/get": get +"/serviceusage:v1beta1/HttpRule/mediaDownload": media_download +"/serviceusage:v1beta1/HttpRule/mediaUpload": media_upload +"/serviceusage:v1beta1/HttpRule/patch": patch +"/serviceusage:v1beta1/HttpRule/post": post +"/serviceusage:v1beta1/HttpRule/put": put +"/serviceusage:v1beta1/HttpRule/restCollection": rest_collection +"/serviceusage:v1beta1/HttpRule/restMethodName": rest_method_name +"/serviceusage:v1beta1/HttpRule/selector": selector +"/serviceusage:v1beta1/LabelDescriptor": label_descriptor +"/serviceusage:v1beta1/LabelDescriptor/description": description +"/serviceusage:v1beta1/LabelDescriptor/key": key +"/serviceusage:v1beta1/LabelDescriptor/valueType": value_type +"/serviceusage:v1beta1/ListOperationsResponse": list_operations_response +"/serviceusage:v1beta1/ListOperationsResponse/nextPageToken": next_page_token +"/serviceusage:v1beta1/ListOperationsResponse/operations": operations +"/serviceusage:v1beta1/ListOperationsResponse/operations/operation": operation +"/serviceusage:v1beta1/ListServicesResponse": list_services_response +"/serviceusage:v1beta1/ListServicesResponse/nextPageToken": next_page_token +"/serviceusage:v1beta1/ListServicesResponse/services": services +"/serviceusage:v1beta1/ListServicesResponse/services/service": service +"/serviceusage:v1beta1/LogDescriptor": log_descriptor +"/serviceusage:v1beta1/LogDescriptor/description": description +"/serviceusage:v1beta1/LogDescriptor/displayName": display_name +"/serviceusage:v1beta1/LogDescriptor/labels": labels +"/serviceusage:v1beta1/LogDescriptor/labels/label": label +"/serviceusage:v1beta1/LogDescriptor/name": name +"/serviceusage:v1beta1/Logging": logging +"/serviceusage:v1beta1/Logging/consumerDestinations": consumer_destinations +"/serviceusage:v1beta1/Logging/consumerDestinations/consumer_destination": consumer_destination +"/serviceusage:v1beta1/Logging/producerDestinations": producer_destinations +"/serviceusage:v1beta1/Logging/producerDestinations/producer_destination": producer_destination +"/serviceusage:v1beta1/LoggingDestination": logging_destination +"/serviceusage:v1beta1/LoggingDestination/logs": logs +"/serviceusage:v1beta1/LoggingDestination/logs/log": log +"/serviceusage:v1beta1/LoggingDestination/monitoredResource": monitored_resource +"/serviceusage:v1beta1/MediaDownload": media_download +"/serviceusage:v1beta1/MediaDownload/completeNotification": complete_notification +"/serviceusage:v1beta1/MediaDownload/downloadService": download_service +"/serviceusage:v1beta1/MediaDownload/dropzone": dropzone +"/serviceusage:v1beta1/MediaDownload/enabled": enabled +"/serviceusage:v1beta1/MediaDownload/maxDirectDownloadSize": max_direct_download_size +"/serviceusage:v1beta1/MediaDownload/useDirectDownload": use_direct_download +"/serviceusage:v1beta1/MediaUpload": media_upload +"/serviceusage:v1beta1/MediaUpload/completeNotification": complete_notification +"/serviceusage:v1beta1/MediaUpload/dropzone": dropzone +"/serviceusage:v1beta1/MediaUpload/enabled": enabled +"/serviceusage:v1beta1/MediaUpload/maxSize": max_size +"/serviceusage:v1beta1/MediaUpload/mimeTypes": mime_types +"/serviceusage:v1beta1/MediaUpload/mimeTypes/mime_type": mime_type +"/serviceusage:v1beta1/MediaUpload/progressNotification": progress_notification +"/serviceusage:v1beta1/MediaUpload/startNotification": start_notification +"/serviceusage:v1beta1/MediaUpload/uploadService": upload_service +"/serviceusage:v1beta1/Method": method_prop +"/serviceusage:v1beta1/Method/name": name +"/serviceusage:v1beta1/Method/options": options +"/serviceusage:v1beta1/Method/options/option": option +"/serviceusage:v1beta1/Method/requestStreaming": request_streaming +"/serviceusage:v1beta1/Method/requestTypeUrl": request_type_url +"/serviceusage:v1beta1/Method/responseStreaming": response_streaming +"/serviceusage:v1beta1/Method/responseTypeUrl": response_type_url +"/serviceusage:v1beta1/Method/syntax": syntax +"/serviceusage:v1beta1/MetricDescriptor": metric_descriptor +"/serviceusage:v1beta1/MetricDescriptor/description": description +"/serviceusage:v1beta1/MetricDescriptor/displayName": display_name +"/serviceusage:v1beta1/MetricDescriptor/labels": labels +"/serviceusage:v1beta1/MetricDescriptor/labels/label": label +"/serviceusage:v1beta1/MetricDescriptor/metricKind": metric_kind +"/serviceusage:v1beta1/MetricDescriptor/name": name +"/serviceusage:v1beta1/MetricDescriptor/type": type +"/serviceusage:v1beta1/MetricDescriptor/unit": unit +"/serviceusage:v1beta1/MetricDescriptor/valueType": value_type +"/serviceusage:v1beta1/MetricRule": metric_rule +"/serviceusage:v1beta1/MetricRule/metricCosts": metric_costs +"/serviceusage:v1beta1/MetricRule/metricCosts/metric_cost": metric_cost +"/serviceusage:v1beta1/MetricRule/selector": selector +"/serviceusage:v1beta1/Mixin": mixin +"/serviceusage:v1beta1/Mixin/name": name +"/serviceusage:v1beta1/Mixin/root": root +"/serviceusage:v1beta1/MonitoredResourceDescriptor": monitored_resource_descriptor +"/serviceusage:v1beta1/MonitoredResourceDescriptor/description": description +"/serviceusage:v1beta1/MonitoredResourceDescriptor/displayName": display_name +"/serviceusage:v1beta1/MonitoredResourceDescriptor/labels": labels +"/serviceusage:v1beta1/MonitoredResourceDescriptor/labels/label": label +"/serviceusage:v1beta1/MonitoredResourceDescriptor/name": name +"/serviceusage:v1beta1/MonitoredResourceDescriptor/type": type +"/serviceusage:v1beta1/Monitoring": monitoring +"/serviceusage:v1beta1/Monitoring/consumerDestinations": consumer_destinations +"/serviceusage:v1beta1/Monitoring/consumerDestinations/consumer_destination": consumer_destination +"/serviceusage:v1beta1/Monitoring/producerDestinations": producer_destinations +"/serviceusage:v1beta1/Monitoring/producerDestinations/producer_destination": producer_destination +"/serviceusage:v1beta1/MonitoringDestination": monitoring_destination +"/serviceusage:v1beta1/MonitoringDestination/metrics": metrics +"/serviceusage:v1beta1/MonitoringDestination/metrics/metric": metric +"/serviceusage:v1beta1/MonitoringDestination/monitoredResource": monitored_resource +"/serviceusage:v1beta1/OAuthRequirements": o_auth_requirements +"/serviceusage:v1beta1/OAuthRequirements/canonicalScopes": canonical_scopes +"/serviceusage:v1beta1/Operation": operation +"/serviceusage:v1beta1/Operation/done": done +"/serviceusage:v1beta1/Operation/error": error +"/serviceusage:v1beta1/Operation/metadata": metadata +"/serviceusage:v1beta1/Operation/metadata/metadatum": metadatum +"/serviceusage:v1beta1/Operation/name": name +"/serviceusage:v1beta1/Operation/response": response +"/serviceusage:v1beta1/Operation/response/response": response +"/serviceusage:v1beta1/OperationMetadata": operation_metadata +"/serviceusage:v1beta1/OperationMetadata/progressPercentage": progress_percentage +"/serviceusage:v1beta1/OperationMetadata/resourceNames": resource_names +"/serviceusage:v1beta1/OperationMetadata/resourceNames/resource_name": resource_name +"/serviceusage:v1beta1/OperationMetadata/startTime": start_time +"/serviceusage:v1beta1/OperationMetadata/steps": steps +"/serviceusage:v1beta1/OperationMetadata/steps/step": step +"/serviceusage:v1beta1/Option": option +"/serviceusage:v1beta1/Option/name": name +"/serviceusage:v1beta1/Option/value": value +"/serviceusage:v1beta1/Option/value/value": value +"/serviceusage:v1beta1/Page": page +"/serviceusage:v1beta1/Page/content": content +"/serviceusage:v1beta1/Page/name": name +"/serviceusage:v1beta1/Page/subpages": subpages +"/serviceusage:v1beta1/Page/subpages/subpage": subpage +"/serviceusage:v1beta1/Quota": quota +"/serviceusage:v1beta1/Quota/limits": limits +"/serviceusage:v1beta1/Quota/limits/limit": limit +"/serviceusage:v1beta1/Quota/metricRules": metric_rules +"/serviceusage:v1beta1/Quota/metricRules/metric_rule": metric_rule +"/serviceusage:v1beta1/QuotaLimit": quota_limit +"/serviceusage:v1beta1/QuotaLimit/defaultLimit": default_limit +"/serviceusage:v1beta1/QuotaLimit/description": description +"/serviceusage:v1beta1/QuotaLimit/displayName": display_name +"/serviceusage:v1beta1/QuotaLimit/duration": duration +"/serviceusage:v1beta1/QuotaLimit/freeTier": free_tier +"/serviceusage:v1beta1/QuotaLimit/maxLimit": max_limit +"/serviceusage:v1beta1/QuotaLimit/metric": metric +"/serviceusage:v1beta1/QuotaLimit/name": name +"/serviceusage:v1beta1/QuotaLimit/unit": unit +"/serviceusage:v1beta1/QuotaLimit/values": values +"/serviceusage:v1beta1/QuotaLimit/values/value": value +"/serviceusage:v1beta1/Service": service +"/serviceusage:v1beta1/Service/config": config +"/serviceusage:v1beta1/Service/name": name +"/serviceusage:v1beta1/Service/parent": parent +"/serviceusage:v1beta1/Service/state": state +"/serviceusage:v1beta1/ServiceConfig": service_config +"/serviceusage:v1beta1/ServiceConfig/apis": apis +"/serviceusage:v1beta1/ServiceConfig/apis/api": api +"/serviceusage:v1beta1/ServiceConfig/authentication": authentication +"/serviceusage:v1beta1/ServiceConfig/documentation": documentation +"/serviceusage:v1beta1/ServiceConfig/endpoints": endpoints +"/serviceusage:v1beta1/ServiceConfig/endpoints/endpoint": endpoint +"/serviceusage:v1beta1/ServiceConfig/name": name +"/serviceusage:v1beta1/ServiceConfig/quota": quota +"/serviceusage:v1beta1/ServiceConfig/title": title +"/serviceusage:v1beta1/ServiceConfig/usage": usage +"/serviceusage:v1beta1/SourceContext": source_context +"/serviceusage:v1beta1/SourceContext/fileName": file_name +"/serviceusage:v1beta1/SourceInfo": source_info +"/serviceusage:v1beta1/SourceInfo/sourceFiles": source_files +"/serviceusage:v1beta1/SourceInfo/sourceFiles/source_file": source_file +"/serviceusage:v1beta1/SourceInfo/sourceFiles/source_file/source_file": source_file +"/serviceusage:v1beta1/Status": status +"/serviceusage:v1beta1/Status/code": code +"/serviceusage:v1beta1/Status/details": details +"/serviceusage:v1beta1/Status/details/detail": detail +"/serviceusage:v1beta1/Status/details/detail/detail": detail +"/serviceusage:v1beta1/Status/message": message +"/serviceusage:v1beta1/Step": step +"/serviceusage:v1beta1/Step/description": description +"/serviceusage:v1beta1/Step/status": status +"/serviceusage:v1beta1/SystemParameter": system_parameter +"/serviceusage:v1beta1/SystemParameter/httpHeader": http_header +"/serviceusage:v1beta1/SystemParameter/name": name +"/serviceusage:v1beta1/SystemParameter/urlQueryParameter": url_query_parameter +"/serviceusage:v1beta1/SystemParameterRule": system_parameter_rule +"/serviceusage:v1beta1/SystemParameterRule/parameters": parameters +"/serviceusage:v1beta1/SystemParameterRule/parameters/parameter": parameter +"/serviceusage:v1beta1/SystemParameterRule/selector": selector +"/serviceusage:v1beta1/SystemParameters": system_parameters +"/serviceusage:v1beta1/SystemParameters/rules": rules +"/serviceusage:v1beta1/SystemParameters/rules/rule": rule +"/serviceusage:v1beta1/Type": type +"/serviceusage:v1beta1/Type/fields": fields +"/serviceusage:v1beta1/Type/fields/field": field +"/serviceusage:v1beta1/Type/name": name +"/serviceusage:v1beta1/Type/oneofs": oneofs +"/serviceusage:v1beta1/Type/oneofs/oneof": oneof +"/serviceusage:v1beta1/Type/options": options +"/serviceusage:v1beta1/Type/options/option": option +"/serviceusage:v1beta1/Type/sourceContext": source_context +"/serviceusage:v1beta1/Type/syntax": syntax +"/serviceusage:v1beta1/Usage": usage +"/serviceusage:v1beta1/Usage/producerNotificationChannel": producer_notification_channel +"/serviceusage:v1beta1/Usage/requirements": requirements +"/serviceusage:v1beta1/Usage/requirements/requirement": requirement +"/serviceusage:v1beta1/Usage/rules": rules +"/serviceusage:v1beta1/Usage/rules/rule": rule +"/serviceusage:v1beta1/UsageRule": usage_rule +"/serviceusage:v1beta1/UsageRule/allowUnregisteredCalls": allow_unregistered_calls +"/serviceusage:v1beta1/UsageRule/selector": selector +"/serviceusage:v1beta1/UsageRule/skipServiceControl": skip_service_control +"/serviceusage:v1beta1/Visibility": visibility +"/serviceusage:v1beta1/Visibility/rules": rules +"/serviceusage:v1beta1/Visibility/rules/rule": rule +"/serviceusage:v1beta1/VisibilityRule": visibility_rule +"/serviceusage:v1beta1/VisibilityRule/restriction": restriction +"/serviceusage:v1beta1/VisibilityRule/selector": selector +"/serviceusage:v1beta1/fields": fields +"/serviceusage:v1beta1/key": key +"/serviceusage:v1beta1/quotaUser": quota_user +"/serviceusage:v1beta1/serviceusage.operations.get": get_operation +"/serviceusage:v1beta1/serviceusage.operations.get/name": name +"/serviceusage:v1beta1/serviceusage.operations.list": list_operations +"/serviceusage:v1beta1/serviceusage.operations.list/filter": filter +"/serviceusage:v1beta1/serviceusage.operations.list/name": name +"/serviceusage:v1beta1/serviceusage.operations.list/pageSize": page_size +"/serviceusage:v1beta1/serviceusage.operations.list/pageToken": page_token +"/serviceusage:v1beta1/serviceusage.services.batchEnable": batch_enable_services +"/serviceusage:v1beta1/serviceusage.services.batchEnable/parent": parent +"/serviceusage:v1beta1/serviceusage.services.disable": disable_service +"/serviceusage:v1beta1/serviceusage.services.disable/name": name +"/serviceusage:v1beta1/serviceusage.services.enable": enable_service +"/serviceusage:v1beta1/serviceusage.services.enable/name": name +"/serviceusage:v1beta1/serviceusage.services.get": get_service +"/serviceusage:v1beta1/serviceusage.services.get/name": name +"/serviceusage:v1beta1/serviceusage.services.list": list_services +"/serviceusage:v1beta1/serviceusage.services.list/filter": filter +"/serviceusage:v1beta1/serviceusage.services.list/pageSize": page_size +"/serviceusage:v1beta1/serviceusage.services.list/pageToken": page_token +"/serviceusage:v1beta1/serviceusage.services.list/parent": parent "/serviceuser:v1/Api": api "/serviceuser:v1/Api/methods": methods_prop "/serviceuser:v1/Api/methods/methods_prop": methods_prop diff --git a/generated/google/apis/appengine_v1.rb b/generated/google/apis/appengine_v1.rb index 241b9a980..322e10e4b 100644 --- a/generated/google/apis/appengine_v1.rb +++ b/generated/google/apis/appengine_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1 VERSION = 'V1' - REVISION = '20180222' + REVISION = '20180301' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1/classes.rb b/generated/google/apis/appengine_v1/classes.rb index 8dead7392..cb1abf7e8 100644 --- a/generated/google/apis/appengine_v1/classes.rb +++ b/generated/google/apis/appengine_v1/classes.rb @@ -153,7 +153,7 @@ module Google # Location from which this application runs. Application instances run out of # the data centers in the specified location, which is also where all of the - # application's end user content is stored.Defaults to us-central1.View the list + # application's end user content is stored.Defaults to us-central.View the list # of supported locations (https://cloud.google.com/appengine/docs/locations). # Corresponds to the JSON property `locationId` # @return [String] @@ -1446,6 +1446,12 @@ module Google class Location include Google::Apis::Core::Hashable + # The friendly name for this location, typically a nearby city name. For example, + # "Tokyo". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + # Cross-service attributes for the location. For example # `"cloud.googleapis.com/region": "us-east1"` # Corresponds to the JSON property `labels` @@ -1475,6 +1481,7 @@ module Google # Update properties of this object def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @location_id = args[:location_id] if args.key?(:location_id) @metadata = args[:metadata] if args.key?(:metadata) diff --git a/generated/google/apis/appengine_v1/representations.rb b/generated/google/apis/appengine_v1/representations.rb index 5dec48c3c..def05544f 100644 --- a/generated/google/apis/appengine_v1/representations.rb +++ b/generated/google/apis/appengine_v1/representations.rb @@ -806,6 +806,7 @@ module Google class Location # @private class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' hash :labels, as: 'labels' property :location_id, as: 'locationId' hash :metadata, as: 'metadata' diff --git a/generated/google/apis/appengine_v1alpha.rb b/generated/google/apis/appengine_v1alpha.rb index 76f2ffd51..74aabddad 100644 --- a/generated/google/apis/appengine_v1alpha.rb +++ b/generated/google/apis/appengine_v1alpha.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1alpha VERSION = 'V1alpha' - REVISION = '20180222' + REVISION = '20180301' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1alpha/classes.rb b/generated/google/apis/appengine_v1alpha/classes.rb index d22acafeb..062128697 100644 --- a/generated/google/apis/appengine_v1alpha/classes.rb +++ b/generated/google/apis/appengine_v1alpha/classes.rb @@ -395,6 +395,12 @@ module Google class Location include Google::Apis::Core::Hashable + # The friendly name for this location, typically a nearby city name. For example, + # "Tokyo". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + # Cross-service attributes for the location. For example # `"cloud.googleapis.com/region": "us-east1"` # Corresponds to the JSON property `labels` @@ -424,6 +430,7 @@ module Google # Update properties of this object def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @location_id = args[:location_id] if args.key?(:location_id) @metadata = args[:metadata] if args.key?(:metadata) diff --git a/generated/google/apis/appengine_v1alpha/representations.rb b/generated/google/apis/appengine_v1alpha/representations.rb index 21bc43f6a..45f2ac55f 100644 --- a/generated/google/apis/appengine_v1alpha/representations.rb +++ b/generated/google/apis/appengine_v1alpha/representations.rb @@ -279,6 +279,7 @@ module Google class Location # @private class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' hash :labels, as: 'labels' property :location_id, as: 'locationId' hash :metadata, as: 'metadata' diff --git a/generated/google/apis/appengine_v1beta.rb b/generated/google/apis/appengine_v1beta.rb index 349e38aea..86e98de85 100644 --- a/generated/google/apis/appengine_v1beta.rb +++ b/generated/google/apis/appengine_v1beta.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta VERSION = 'V1beta' - REVISION = '20180222' + REVISION = '20180301' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1beta/classes.rb b/generated/google/apis/appengine_v1beta/classes.rb index f7533c113..45fe2859e 100644 --- a/generated/google/apis/appengine_v1beta/classes.rb +++ b/generated/google/apis/appengine_v1beta/classes.rb @@ -153,7 +153,7 @@ module Google # Location from which this application runs. Application instances run out of # the data centers in the specified location, which is also where all of the - # application's end user content is stored.Defaults to us-central1.View the list + # application's end user content is stored.Defaults to us-central.View the list # of supported locations (https://cloud.google.com/appengine/docs/locations). # Corresponds to the JSON property `locationId` # @return [String] @@ -1580,6 +1580,12 @@ module Google class Location include Google::Apis::Core::Hashable + # The friendly name for this location, typically a nearby city name. For example, + # "Tokyo". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + # Cross-service attributes for the location. For example # `"cloud.googleapis.com/region": "us-east1"` # Corresponds to the JSON property `labels` @@ -1609,6 +1615,7 @@ module Google # Update properties of this object def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @location_id = args[:location_id] if args.key?(:location_id) @metadata = args[:metadata] if args.key?(:metadata) diff --git a/generated/google/apis/appengine_v1beta/representations.rb b/generated/google/apis/appengine_v1beta/representations.rb index bb6e63bc3..7b63fb055 100644 --- a/generated/google/apis/appengine_v1beta/representations.rb +++ b/generated/google/apis/appengine_v1beta/representations.rb @@ -865,6 +865,7 @@ module Google class Location # @private class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' hash :labels, as: 'labels' property :location_id, as: 'locationId' hash :metadata, as: 'metadata' diff --git a/generated/google/apis/appengine_v1beta4.rb b/generated/google/apis/appengine_v1beta4.rb index 666106bda..4b15abfb5 100644 --- a/generated/google/apis/appengine_v1beta4.rb +++ b/generated/google/apis/appengine_v1beta4.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta4 VERSION = 'V1beta4' - REVISION = '20180222' + REVISION = '20180301' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1beta4/classes.rb b/generated/google/apis/appengine_v1beta4/classes.rb index 55fc2e495..dd7152e96 100644 --- a/generated/google/apis/appengine_v1beta4/classes.rb +++ b/generated/google/apis/appengine_v1beta4/classes.rb @@ -953,6 +953,12 @@ module Google class Location include Google::Apis::Core::Hashable + # The friendly name for this location, typically a nearby city name. For example, + # "Tokyo". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + # Cross-service attributes for the location. For example # `"cloud.googleapis.com/region": "us-east1"` # Corresponds to the JSON property `labels` @@ -982,6 +988,7 @@ module Google # Update properties of this object def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @location_id = args[:location_id] if args.key?(:location_id) @metadata = args[:metadata] if args.key?(:metadata) diff --git a/generated/google/apis/appengine_v1beta4/representations.rb b/generated/google/apis/appengine_v1beta4/representations.rb index 2bdd8acc9..ce24cf25a 100644 --- a/generated/google/apis/appengine_v1beta4/representations.rb +++ b/generated/google/apis/appengine_v1beta4/representations.rb @@ -561,6 +561,7 @@ module Google class Location # @private class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' hash :labels, as: 'labels' property :location_id, as: 'locationId' hash :metadata, as: 'metadata' diff --git a/generated/google/apis/appengine_v1beta5.rb b/generated/google/apis/appengine_v1beta5.rb index f32f97668..c87438f55 100644 --- a/generated/google/apis/appengine_v1beta5.rb +++ b/generated/google/apis/appengine_v1beta5.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta5 VERSION = 'V1beta5' - REVISION = '20180222' + REVISION = '20180301' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1beta5/classes.rb b/generated/google/apis/appengine_v1beta5/classes.rb index d0cc01c60..ce4b1449e 100644 --- a/generated/google/apis/appengine_v1beta5/classes.rb +++ b/generated/google/apis/appengine_v1beta5/classes.rb @@ -953,6 +953,12 @@ module Google class Location include Google::Apis::Core::Hashable + # The friendly name for this location, typically a nearby city name. For example, + # "Tokyo". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + # Cross-service attributes for the location. For example # `"cloud.googleapis.com/region": "us-east1"` # Corresponds to the JSON property `labels` @@ -982,6 +988,7 @@ module Google # Update properties of this object def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @location_id = args[:location_id] if args.key?(:location_id) @metadata = args[:metadata] if args.key?(:metadata) diff --git a/generated/google/apis/appengine_v1beta5/representations.rb b/generated/google/apis/appengine_v1beta5/representations.rb index 90293413f..497807f8d 100644 --- a/generated/google/apis/appengine_v1beta5/representations.rb +++ b/generated/google/apis/appengine_v1beta5/representations.rb @@ -555,6 +555,7 @@ module Google class Location # @private class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' hash :labels, as: 'labels' property :location_id, as: 'locationId' hash :metadata, as: 'metadata' diff --git a/generated/google/apis/firebasedynamiclinks_v1.rb b/generated/google/apis/firebasedynamiclinks_v1.rb index 1daa6accb..bd3315711 100644 --- a/generated/google/apis/firebasedynamiclinks_v1.rb +++ b/generated/google/apis/firebasedynamiclinks_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/dynamic-links/ module FirebasedynamiclinksV1 VERSION = 'V1' - REVISION = '20180102' + REVISION = '20180303' # View and administer all your Firebase data and settings AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' diff --git a/generated/google/apis/firebasedynamiclinks_v1/classes.rb b/generated/google/apis/firebasedynamiclinks_v1/classes.rb index aa506d690..1b1cd37f0 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/classes.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/classes.rb @@ -99,8 +99,8 @@ module Google # Full long Dynamic Link URL with desired query parameters specified. # For example, # "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample", - # [Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a- - # dynamic-link-programmatically). + # [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link- + # shortener). # Corresponds to the JSON property `longDynamicLink` # @return [String] attr_accessor :long_dynamic_link diff --git a/generated/google/apis/genomics_v2alpha1.rb b/generated/google/apis/genomics_v2alpha1.rb index 64665efef..0122f12d9 100644 --- a/generated/google/apis/genomics_v2alpha1.rb +++ b/generated/google/apis/genomics_v2alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/genomics module GenomicsV2alpha1 VERSION = 'V2alpha1' - REVISION = '20180222' + REVISION = '20180303' # 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/genomics_v2alpha1/classes.rb b/generated/google/apis/genomics_v2alpha1/classes.rb index 9066262c8..1fe3b3383 100644 --- a/generated/google/apis/genomics_v2alpha1/classes.rb +++ b/generated/google/apis/genomics_v2alpha1/classes.rb @@ -42,6 +42,16 @@ module Google # The environment to pass into the container. This environment is merged # with any values specified in the Pipeline message. These values overwrite # any in the Pipeline message. + # In addition to the values passed here, a few other values are + # automatically injected into the environment. These cannot be hidden or + # overwritten. + # `GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline has failed + # because an action has exited with a non-zero status (and did not have the + # IGNORE_EXIT_STATUS flag set). This can be used to determine if additional + # debug or logging actions should execute. + # `GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last + # non-background action that executed. This can be used by workflow engine + # authors to determine whether an individual action has succeeded or failed. # Corresponds to the JSON property `environment` # @return [Hash] attr_accessor :environment @@ -975,7 +985,7 @@ module Google include Google::Apis::Core::Hashable # User defined labels to associate with the returned operation. These - # labels are not propogated to any Google Cloud Platform resources used by + # labels are not propagated to any Google Cloud Platform resources used by # the operation, and may be modified at any time. # To associate labels with resources created while executing the operation, # see the appropriate resource message (i.e., VirtualMachine). diff --git a/generated/google/apis/genomics_v2alpha1/service.rb b/generated/google/apis/genomics_v2alpha1/service.rb index 673975691..46e6cc749 100644 --- a/generated/google/apis/genomics_v2alpha1/service.rb +++ b/generated/google/apis/genomics_v2alpha1/service.rb @@ -48,12 +48,13 @@ module Google end # Runs a pipeline. - # **Note:** In order to use this method, the Genomics Service Agent must have - # access to your project. This is done automatically when the Genomics API - # is first enabled, but if you delete this permission, or if you have - # already enabled the Genomics API prior to the launch of the v2alpha1 API, - # you must disable and re-enable the API to grant the Genomics Service Agent - # the required permissions. + # **Note:** In order to use this method, the Genomics Service Agent + # must have access to your project. This is done automatically when the + # Genomics API is first enabled, but if you delete this permission, or if + # you have already enabled the Genomics API prior to the launch of the + # v2alpha1 API, you must disable and re-enable the API to grant the Genomics + # Service Agent the required permissions. + # [1]: /genomics/gsa # @param [Google::Apis::GenomicsV2alpha1::RunPipelineRequest] run_pipeline_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index 46989483c..a0bcda62e 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20180225' + REVISION = '20180303' # Manage your contacts AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' diff --git a/generated/google/apis/people_v1/service.rb b/generated/google/apis/people_v1/service.rb index ac32ba1fb..554a4f5d1 100644 --- a/generated/google/apis/people_v1/service.rb +++ b/generated/google/apis/people_v1/service.rb @@ -527,7 +527,6 @@ module Google # * addresses # * biographies # * birthdays - # * braggingRights # * emailAddresses # * events # * genders @@ -541,7 +540,6 @@ module Google # * phoneNumbers # * relations # * residences - # * skills # * urls # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/serviceusage_v1.rb b/generated/google/apis/serviceusage_v1beta1.rb similarity index 84% rename from generated/google/apis/serviceusage_v1.rb rename to generated/google/apis/serviceusage_v1beta1.rb index 310184c3e..ab1965876 100644 --- a/generated/google/apis/serviceusage_v1.rb +++ b/generated/google/apis/serviceusage_v1beta1.rb @@ -12,9 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'google/apis/serviceusage_v1/service.rb' -require 'google/apis/serviceusage_v1/classes.rb' -require 'google/apis/serviceusage_v1/representations.rb' +require 'google/apis/serviceusage_v1beta1/service.rb' +require 'google/apis/serviceusage_v1beta1/classes.rb' +require 'google/apis/serviceusage_v1beta1/representations.rb' module Google module Apis @@ -25,9 +25,9 @@ module Google # consumers no longer use. # # @see https://cloud.google.com/service-usage/ - module ServiceusageV1 - VERSION = 'V1' - REVISION = '20180210' + module ServiceusageV1beta1 + VERSION = 'V1beta1' + REVISION = '20180303' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceusage_v1/classes.rb b/generated/google/apis/serviceusage_v1beta1/classes.rb similarity index 91% rename from generated/google/apis/serviceusage_v1/classes.rb rename to generated/google/apis/serviceusage_v1beta1/classes.rb index 2bb6fec6a..8bd40495e 100644 --- a/generated/google/apis/serviceusage_v1/classes.rb +++ b/generated/google/apis/serviceusage_v1beta1/classes.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis - module ServiceusageV1 + module ServiceusageV1beta1 # Api is a light-weight descriptor for an API Interface. # Interfaces are also described as "protocol buffer services" in some contexts, @@ -35,12 +35,12 @@ module Google # The methods of this interface, in unspecified order. # Corresponds to the JSON property `methods` - # @return [Array] + # @return [Array] attr_accessor :methods_prop # Included interfaces. See Mixin. # Corresponds to the JSON property `mixins` - # @return [Array] + # @return [Array] attr_accessor :mixins # The fully qualified name of this interface, including package name @@ -51,13 +51,13 @@ module Google # Any metadata attached to the interface. # Corresponds to the JSON property `options` - # @return [Array] + # @return [Array] attr_accessor :options # `SourceContext` represents information about the source of a # protobuf element, like the file in which it is defined. # Corresponds to the JSON property `sourceContext` - # @return [Google::Apis::ServiceusageV1::SourceContext] + # @return [Google::Apis::ServiceusageV1beta1::SourceContext] attr_accessor :source_context # The source syntax of the service. @@ -236,13 +236,13 @@ module Google # Defines a set of authentication providers that a service supports. # Corresponds to the JSON property `providers` - # @return [Array] + # @return [Array] attr_accessor :providers # A list of authentication rules that apply to individual API methods. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` - # @return [Array] + # @return [Array] attr_accessor :rules def initialize(**args) @@ -279,7 +279,7 @@ module Google # Configuration for a custom authentication provider. # Corresponds to the JSON property `customAuth` - # @return [Google::Apis::ServiceusageV1::CustomAuthRequirements] + # @return [Google::Apis::ServiceusageV1beta1::CustomAuthRequirements] attr_accessor :custom_auth # OAuth scopes are a way to define data and permissions on data. For example, @@ -297,12 +297,12 @@ module Google # request to be accepted and passed to the backend, a request can still fail # due to the backend requiring additional scopes or permissions. # Corresponds to the JSON property `oauth` - # @return [Google::Apis::ServiceusageV1::OAuthRequirements] + # @return [Google::Apis::ServiceusageV1beta1::OAuthRequirements] attr_accessor :oauth # Requirements for additional authentication providers. # Corresponds to the JSON property `requirements` - # @return [Array] + # @return [Array] attr_accessor :requirements # Selects the methods to which this rule applies. @@ -401,7 +401,7 @@ module Google # A list of API backend rules that apply to individual API methods. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` - # @return [Array] + # @return [Array] attr_accessor :rules def initialize(**args) @@ -454,6 +454,34 @@ module Google end end + # Request message for the `BatchEnableServices` method. + class BatchEnableServicesRequest + include Google::Apis::Core::Hashable + + # The identifiers of the services to enable on the project. + # A valid identifier would be: + # serviceusage.googleapis.com + # Enabling services requires that each service is public or is shared with + # the user enabling the service. + # Two or more services must be specified. To enable a single service, + # use the `EnableService` method instead. + # A single request can enable a maximum of 20 services at a time. If more + # than 20 services are specified, the request will fail, and no state changes + # will occur. + # Corresponds to the JSON property `serviceIds` + # @return [Array] + attr_accessor :service_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_ids = args[:service_ids] if args.key?(:service_ids) + end + end + # Billing related configuration of the service. # The following example shows how to configure monitored resources and metrics # for billing: @@ -481,7 +509,7 @@ module Google # a different monitored resource type. A metric can be used in at most # one consumer destination. # Corresponds to the JSON property `consumerDestinations` - # @return [Array] + # @return [Array] attr_accessor :consumer_destinations def initialize(**args) @@ -522,19 +550,6 @@ module Google end end - # The request message for Operations.CancelOperation. - class CancelOperationRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - # `Context` defines which contexts an API requests. # Example: # context: @@ -569,7 +584,7 @@ module Google # A list of RPC context rules that apply to individual API methods. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` - # @return [Array] + # @return [Array] attr_accessor :rules def initialize(**args) @@ -686,7 +701,7 @@ module Google # The list of custom error rules that apply to individual API messages. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` - # @return [Array] + # @return [Array] attr_accessor :rules # The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. @@ -758,7 +773,7 @@ module Google end end - # Request message for DisableService. + # Request message for the `DisableService` method. class DisableServiceRequest include Google::Apis::Core::Hashable @@ -851,13 +866,13 @@ module Google # The top level pages for the documentation set. # Corresponds to the JSON property `pages` - # @return [Array] + # @return [Array] attr_accessor :pages # A list of documentation rules that apply to individual API elements. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` - # @return [Array] + # @return [Array] attr_accessor :rules # A short summary of what the service does. Can only be provided by @@ -917,26 +932,7 @@ module Google 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 EnableService. + # Request message for the `EnableService` method. class EnableServiceRequest include Google::Apis::Core::Hashable @@ -949,26 +945,6 @@ module Google end end - # The EnabledState reflects whether the service has been explicitly enabled or - # not. - class EnabledState - include Google::Apis::Core::Hashable - - # Whether or not the service has been explicitly enabled. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @state = args[:state] if args.key?(:state) - end - end - # `Endpoint` describes a network endpoint that serves a set of APIs. # A service may expose any number of endpoints, and all endpoints share the # same service configuration, such as quota configuration and monitoring @@ -1044,7 +1020,7 @@ module Google # Enum value definitions. # Corresponds to the JSON property `enumvalue` - # @return [Array] + # @return [Array] attr_accessor :enumvalue # Enum type name. @@ -1054,13 +1030,13 @@ module Google # Protocol buffer options. # Corresponds to the JSON property `options` - # @return [Array] + # @return [Array] attr_accessor :options # `SourceContext` represents information about the source of a # protobuf element, like the file in which it is defined. # Corresponds to the JSON property `sourceContext` - # @return [Google::Apis::ServiceusageV1::SourceContext] + # @return [Google::Apis::ServiceusageV1beta1::SourceContext] attr_accessor :source_context # The source syntax. @@ -1098,7 +1074,7 @@ module Google # Protocol buffer options. # Corresponds to the JSON property `options` - # @return [Array] + # @return [Array] attr_accessor :options def initialize(**args) @@ -1126,7 +1102,7 @@ module Google # authorization: # provider: firebaserules.googleapis.com # Corresponds to the JSON property `authorization` - # @return [Google::Apis::ServiceusageV1::AuthorizationConfig] + # @return [Google::Apis::ServiceusageV1beta1::AuthorizationConfig] attr_accessor :authorization def initialize(**args) @@ -1181,7 +1157,7 @@ module Google # The protocol buffer options. # Corresponds to the JSON property `options` - # @return [Array] + # @return [Array] attr_accessor :options # Whether to use alternative packed wire representation. @@ -1245,7 +1221,7 @@ module Google # normalization process. It is an error to specify an API interface here # which cannot be resolved against the associated IDL files. # Corresponds to the JSON property `apis` - # @return [Array] + # @return [Array] attr_accessor :apis # `Authentication` defines the authentication configuration for an API. @@ -1261,12 +1237,12 @@ module Google # requirements: # provider_id: google_calendar_auth # Corresponds to the JSON property `authentication` - # @return [Google::Apis::ServiceusageV1::Authentication] + # @return [Google::Apis::ServiceusageV1beta1::Authentication] attr_accessor :authentication # `Backend` defines the backend configuration for a service. # Corresponds to the JSON property `backend` - # @return [Google::Apis::ServiceusageV1::Backend] + # @return [Google::Apis::ServiceusageV1beta1::Backend] attr_accessor :backend # Billing related configuration of the service. @@ -1289,7 +1265,7 @@ module Google # metrics: # - library.googleapis.com/book/borrowed_count # Corresponds to the JSON property `billing` - # @return [Google::Apis::ServiceusageV1::Billing] + # @return [Google::Apis::ServiceusageV1beta1::Billing] attr_accessor :billing # The semantic version of the service configuration. The config version @@ -1329,14 +1305,14 @@ module Google # You can also specify extension ID instead of fully qualified extension name # here. # Corresponds to the JSON property `context` - # @return [Google::Apis::ServiceusageV1::Context] + # @return [Google::Apis::ServiceusageV1beta1::Context] attr_accessor :context # Selects and configures the service controller used by the service. The # service controller handles features like abuse, quota, billing, logging, # monitoring, etc. # Corresponds to the JSON property `control` - # @return [Google::Apis::ServiceusageV1::Control] + # @return [Google::Apis::ServiceusageV1beta1::Control] attr_accessor :control # Customize service error responses. For example, list any service @@ -1348,7 +1324,7 @@ module Google # - google.foo.v1.CustomError # - google.foo.v1.AnotherError # Corresponds to the JSON property `customError` - # @return [Google::Apis::ServiceusageV1::CustomError] + # @return [Google::Apis::ServiceusageV1beta1::CustomError] attr_accessor :custom_error # `Documentation` provides the information for describing a service. @@ -1405,14 +1381,14 @@ module Google # The directive `suppress_warning` does not directly affect documentation # and is documented together with service config validation. # Corresponds to the JSON property `documentation` - # @return [Google::Apis::ServiceusageV1::Documentation] + # @return [Google::Apis::ServiceusageV1beta1::Documentation] attr_accessor :documentation # Configuration for network endpoints. If this is empty, then an endpoint # with the same name as the service is automatically generated to service all # defined APIs. # Corresponds to the JSON property `endpoints` - # @return [Array] + # @return [Array] attr_accessor :endpoints # A list of all enum types included in this API service. Enums @@ -1422,20 +1398,20 @@ module Google # enums: # - name: google.someapi.v1.SomeEnum # Corresponds to the JSON property `enums` - # @return [Array] + # @return [Array] attr_accessor :enums # Experimental service configuration. These configuration options can # only be used by whitelisted users. # Corresponds to the JSON property `experimental` - # @return [Google::Apis::ServiceusageV1::Experimental] + # @return [Google::Apis::ServiceusageV1beta1::Experimental] attr_accessor :experimental # Defines the HTTP configuration for an API service. It contains a list of # HttpRule, each specifying the mapping of an RPC method # to one or more HTTP REST API methods. # Corresponds to the JSON property `http` - # @return [Google::Apis::ServiceusageV1::Http] + # @return [Google::Apis::ServiceusageV1beta1::Http] attr_accessor :http # A unique ID for a specific instance of this message, typically assigned @@ -1473,23 +1449,23 @@ module Google # logs: # - activity_history # Corresponds to the JSON property `logging` - # @return [Google::Apis::ServiceusageV1::Logging] + # @return [Google::Apis::ServiceusageV1beta1::Logging] attr_accessor :logging # Defines the logs used by this service. # Corresponds to the JSON property `logs` - # @return [Array] + # @return [Array] attr_accessor :logs # Defines the metrics used by this service. # Corresponds to the JSON property `metrics` - # @return [Array] + # @return [Array] attr_accessor :metrics # Defines the monitored resources used by this service. This is required # by the Service.monitoring and Service.logging configurations. # Corresponds to the JSON property `monitoredResources` - # @return [Array] + # @return [Array] attr_accessor :monitored_resources # Monitoring configuration of the service. @@ -1528,7 +1504,7 @@ module Google # - library.googleapis.com/book/returned_count # - library.googleapis.com/book/overdue_count # Corresponds to the JSON property `monitoring` - # @return [Google::Apis::ServiceusageV1::Monitoring] + # @return [Google::Apis::ServiceusageV1beta1::Monitoring] attr_accessor :monitoring # The DNS address at which this service is available, @@ -1582,12 +1558,12 @@ module Google # metric_kind: DELTA # value_type: INT64 # Corresponds to the JSON property `quota` - # @return [Google::Apis::ServiceusageV1::Quota] + # @return [Google::Apis::ServiceusageV1beta1::Quota] attr_accessor :quota # Source information used to create a Service Config # Corresponds to the JSON property `sourceInfo` - # @return [Google::Apis::ServiceusageV1::SourceInfo] + # @return [Google::Apis::ServiceusageV1beta1::SourceInfo] attr_accessor :source_info # ### System parameter configuration @@ -1596,7 +1572,7 @@ module Google # and/or a URL query parameter. This configuration specifies which methods # change the names of the system parameters. # Corresponds to the JSON property `systemParameters` - # @return [Google::Apis::ServiceusageV1::SystemParameters] + # @return [Google::Apis::ServiceusageV1beta1::SystemParameters] attr_accessor :system_parameters # A list of all proto message types included in this API service. @@ -1605,7 +1581,7 @@ module Google # show up in the generated discovery doc. This field should only be used # to define system APIs in ESF. # Corresponds to the JSON property `systemTypes` - # @return [Array] + # @return [Array] attr_accessor :system_types # The product title for this service. @@ -1621,12 +1597,12 @@ module Google # types: # - name: google.protobuf.Int32 # Corresponds to the JSON property `types` - # @return [Array] + # @return [Array] attr_accessor :types # Configuration controlling usage of a service. # Corresponds to the JSON property `usage` - # @return [Google::Apis::ServiceusageV1::Usage] + # @return [Google::Apis::ServiceusageV1beta1::Usage] attr_accessor :usage # `Visibility` defines restrictions for the visibility of service @@ -1647,7 +1623,7 @@ module Google # Here, all methods are publicly visible except for the restricted methods # EnhancedSearch and Delegate. # Corresponds to the JSON property `visibility` - # @return [Google::Apis::ServiceusageV1::Visibility] + # @return [Google::Apis::ServiceusageV1beta1::Visibility] attr_accessor :visibility def initialize(**args) @@ -1707,7 +1683,7 @@ module Google # A list of HTTP configuration rules that apply to individual API methods. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` - # @return [Array] + # @return [Array] attr_accessor :rules def initialize(**args) @@ -1908,7 +1884,7 @@ module Google # not contain an `additional_bindings` field themselves (that is, # the nesting may only be one level deep). # Corresponds to the JSON property `additionalBindings` - # @return [Array] + # @return [Array] attr_accessor :additional_bindings # Specifies the permission(s) required for an API element for the overall @@ -1916,7 +1892,7 @@ module Google # that contain the name of the resource and indicates the permissions that # will be checked on that resource. # Corresponds to the JSON property `authorizations` - # @return [Array] + # @return [Array] attr_accessor :authorizations # The name of the request field whose value is mapped to the HTTP body, or @@ -1929,7 +1905,7 @@ module Google # A custom pattern is used for defining custom HTTP verb. # Corresponds to the JSON property `custom` - # @return [Google::Apis::ServiceusageV1::CustomHttpPattern] + # @return [Google::Apis::ServiceusageV1beta1::CustomHttpPattern] attr_accessor :custom # Used for deleting a resource. @@ -1947,7 +1923,7 @@ module Google # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to # your configuration for Bytestream methods. # Corresponds to the JSON property `mediaDownload` - # @return [Google::Apis::ServiceusageV1::MediaDownload] + # @return [Google::Apis::ServiceusageV1beta1::MediaDownload] attr_accessor :media_download # Defines the Media configuration for a service in case of an upload. @@ -1955,7 +1931,7 @@ module Google # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to # your configuration for Bytestream methods. # Corresponds to the JSON property `mediaUpload` - # @return [Google::Apis::ServiceusageV1::MediaUpload] + # @return [Google::Apis::ServiceusageV1beta1::MediaUpload] attr_accessor :media_upload # Used for updating a resource. @@ -2071,32 +2047,6 @@ module Google end end - # Response message for ListEnabledServices. - class ListEnabledServicesResponse - include Google::Apis::Core::Hashable - - # Token that can be passed to `ListEnabledServices` to resume a paginated - # query. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The state of the enabled services for the requested parent. - # Corresponds to the JSON property `services` - # @return [Array] - attr_accessor :services - - 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) - @services = args[:services] if args.key?(:services) - end - end - # The response message for Operations.ListOperations. class ListOperationsResponse include Google::Apis::Core::Hashable @@ -2108,7 +2058,7 @@ module Google # A list of operations that matches the specified filter in the request. # Corresponds to the JSON property `operations` - # @return [Array] + # @return [Array] attr_accessor :operations def initialize(**args) @@ -2122,6 +2072,32 @@ module Google end end + # Response message for the `ListServices` method. + class ListServicesResponse + include Google::Apis::Core::Hashable + + # Token that can be passed to `ListServices` to resume a paginated + # query. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The available services for the requested project. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services + + 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) + @services = args[:services] if args.key?(:services) + end + end + # A description of a log type. Example in YAML format: # - name: library.googleapis.com/activity_history # description: The history of borrowing and returning library items. @@ -2148,7 +2124,7 @@ module Google # Runtime requests that contain labels not specified here are # considered invalid. # Corresponds to the JSON property `labels` - # @return [Array] + # @return [Array] attr_accessor :labels # The name of the log. It must be less than 512 characters long and can @@ -2207,7 +2183,7 @@ module Google # different monitored resource type. A log can be used in at most # one consumer destination. # Corresponds to the JSON property `consumerDestinations` - # @return [Array] + # @return [Array] attr_accessor :consumer_destinations # Logging configurations for sending logs to the producer project. @@ -2215,7 +2191,7 @@ module Google # different monitored resource type. A log can be used in at most # one producer destination. # Corresponds to the JSON property `producerDestinations` - # @return [Array] + # @return [Array] attr_accessor :producer_destinations def initialize(**args) @@ -2402,7 +2378,7 @@ module Google # Any metadata attached to the method. # Corresponds to the JSON property `options` - # @return [Array] + # @return [Array] attr_accessor :options # If true, the request is streamed. @@ -2474,7 +2450,7 @@ module Google # you can look at latencies for successful responses or just # for responses that failed. # Corresponds to the JSON property `labels` - # @return [Array] + # @return [Array] attr_accessor :labels # Whether the metric records instantaneous values, changes to a value, etc. @@ -2724,7 +2700,7 @@ module Google # resource type. For example, an individual Google Cloud SQL database is # identified by values for the labels `"database_id"` and `"zone"`. # Corresponds to the JSON property `labels` - # @return [Array] + # @return [Array] attr_accessor :labels # Optional. The resource name of the monitored resource descriptor: @@ -2801,7 +2777,7 @@ module Google # different monitored resource type. A metric can be used in at most # one consumer destination. # Corresponds to the JSON property `consumerDestinations` - # @return [Array] + # @return [Array] attr_accessor :consumer_destinations # Monitoring configurations for sending metrics to the producer project. @@ -2809,7 +2785,7 @@ module Google # different monitored resource type. A metric can be used in at most # one producer destination. # Corresponds to the JSON property `producerDestinations` - # @return [Array] + # @return [Array] attr_accessor :producer_destinations def initialize(**args) @@ -2940,7 +2916,7 @@ module Google # - Logging. If some API errors are stored in logs, the message `Status` could # be used directly after any stripping needed for security/privacy reasons. # Corresponds to the JSON property `error` - # @return [Google::Apis::ServiceusageV1::Status] + # @return [Google::Apis::ServiceusageV1beta1::Status] attr_accessor :error # Service-specific metadata associated with the operation. It typically @@ -3006,7 +2982,7 @@ module Google # Detailed status information for each step. The order is undetermined. # Corresponds to the JSON property `steps` - # @return [Array] + # @return [Array] attr_accessor :steps def initialize(**args) @@ -3087,7 +3063,7 @@ module Google # Subpages of this page. The order of subpages specified here will be # honored in the generated docset. # Corresponds to the JSON property `subpages` - # @return [Array] + # @return [Array] attr_accessor :subpages def initialize(**args) @@ -3102,54 +3078,6 @@ module Google end end - # The published version of a Service that is managed by - # Google Service Management. - class PublishedService - include Google::Apis::Core::Hashable - - # The resource name of the service. - # A valid name would be: - # - services/serviceusage.googleapis.com - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # `Service` is the root object of Google service configuration schema. It - # describes basic information about a service, such as the name and the - # title, and delegates other aspects to sub-sections. Each sub-section is - # either a proto message or a repeated proto message that configures a - # specific aspect, such as auth. See each proto message definition for details. - # Example: - # type: google.api.Service - # config_version: 3 - # name: calendar.googleapis.com - # title: Google Calendar API - # apis: - # - name: google.calendar.v3.Calendar - # authentication: - # providers: - # - id: google_calendar_auth - # jwks_uri: https://www.googleapis.com/oauth2/v1/certs - # issuer: https://securetoken.google.com - # rules: - # - selector: "*" - # requirements: - # provider_id: google_calendar_auth - # Corresponds to the JSON property `service` - # @return [Google::Apis::ServiceusageV1::GoogleApiService] - attr_accessor :service - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @service = args[:service] if args.key?(:service) - end - end - # Quota configuration helps to achieve fairness and budgeting in service # usage. # The quota configuration works this way: @@ -3194,13 +3122,13 @@ module Google # List of `QuotaLimit` definitions for the service. # Corresponds to the JSON property `limits` - # @return [Array] + # @return [Array] attr_accessor :limits # List of `MetricRule` definitions, each one mapping a selected method to one # or more metrics. # Corresponds to the JSON property `metricRules` - # @return [Array] + # @return [Array] attr_accessor :metric_rules def initialize(**args) @@ -3330,41 +3258,14 @@ module Google end end - # Response message for SearchServices. - class SearchServicesResponse + # A service that is available for use by the consumer. + class Service include Google::Apis::Core::Hashable - # Token that can be passed to `SearchServices` to resume a paginated query. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The state of services available publicly or available to the authenticated - # caller. - # Corresponds to the JSON property `services` - # @return [Array] - attr_accessor :services - - 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) - @services = args[:services] if args.key?(:services) - end - end - - # The properties of a consumer with respect to a Service. - class ServiceState - include Google::Apis::Core::Hashable - - # The EnabledState reflects whether the service has been explicitly enabled or - # not. - # Corresponds to the JSON property `enabled` - # @return [Google::Apis::ServiceusageV1::EnabledState] - attr_accessor :enabled + # The configuration of the service. + # Corresponds to the JSON property `config` + # @return [Google::Apis::ServiceusageV1beta1::ServiceConfig] + attr_accessor :config # The resource name of the consumer and service. # A valid name would be: @@ -3373,11 +3274,17 @@ module Google # @return [String] attr_accessor :name - # The published version of a Service that is managed by - # Google Service Management. - # Corresponds to the JSON property `service` - # @return [Google::Apis::ServiceusageV1::PublishedService] - attr_accessor :service + # The resource name of the consumer. + # A valid name would be: + # - projects/123 + # Corresponds to the JSON property `parent` + # @return [String] + attr_accessor :parent + + # Whether or not the service has been enabled for use by the consumer. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state def initialize(**args) update!(**args) @@ -3385,9 +3292,176 @@ module Google # Update properties of this object def update!(**args) - @enabled = args[:enabled] if args.key?(:enabled) + @config = args[:config] if args.key?(:config) @name = args[:name] if args.key?(:name) - @service = args[:service] if args.key?(:service) + @parent = args[:parent] if args.key?(:parent) + @state = args[:state] if args.key?(:state) + end + end + + # The configuration of the service. + class ServiceConfig + include Google::Apis::Core::Hashable + + # A list of API interfaces exported by this service. Contains only the names, + # versions, and method names of the interfaces. + # Corresponds to the JSON property `apis` + # @return [Array] + attr_accessor :apis + + # `Authentication` defines the authentication configuration for an API. + # Example for an API targeted for external use: + # name: calendar.googleapis.com + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com + # rules: + # - selector: "*" + # requirements: + # provider_id: google_calendar_auth + # Corresponds to the JSON property `authentication` + # @return [Google::Apis::ServiceusageV1beta1::Authentication] + attr_accessor :authentication + + # `Documentation` provides the information for describing a service. + # Example: + #
documentation:
+        # summary: >
+        # The Google Calendar API gives access
+        # to most calendar features.
+        # pages:
+        # - name: Overview
+        # content: (== include google/foo/overview.md ==)
+        # - name: Tutorial
+        # content: (== include google/foo/tutorial.md ==)
+        # subpages;
+        # - name: Java
+        # content: (== include google/foo/tutorial_java.md ==)
+        # rules:
+        # - selector: google.calendar.Calendar.Get
+        # description: >
+        # ...
+        # - selector: google.calendar.Calendar.Put
+        # description: >
+        # ...
+        # 
+ # Documentation is provided in markdown syntax. In addition to + # standard markdown features, definition lists, tables and fenced + # code blocks are supported. Section headers can be provided and are + # interpreted relative to the section nesting of the context where + # a documentation fragment is embedded. + # Documentation from the IDL is merged with documentation defined + # via the config at normalization time, where documentation provided + # by config rules overrides IDL provided. + # A number of constructs specific to the API platform are supported + # in documentation text. + # In order to reference a proto element, the following + # notation can be used: + #
[fully.qualified.proto.name][]
+ # To override the display text used for the link, this can be used: + #
[display text][fully.qualified.proto.name]
+ # Text can be excluded from doc using the following notation: + #
(-- internal comment --)
+ # Comments can be made conditional using a visibility label. The below + # text will be only rendered if the `BETA` label is available: + #
(--BETA: comment for BETA users --)
+ # A few directives are available in documentation. Note that + # directives must appear on a single line to be properly + # identified. The `include` directive includes a markdown file from + # an external source: + #
(== include path/to/file ==)
+ # The `resource_for` directive marks a message to be the resource of + # a collection in REST view. If it is not specified, tools attempt + # to infer the resource from the operations in a collection: + #
(== resource_for v1.shelves.books ==)
+ # The directive `suppress_warning` does not directly affect documentation + # and is documented together with service config validation. + # Corresponds to the JSON property `documentation` + # @return [Google::Apis::ServiceusageV1beta1::Documentation] + attr_accessor :documentation + + # Configuration for network endpoints. Contains only the names and aliases + # of the endpoints. + # Corresponds to the JSON property `endpoints` + # @return [Array] + attr_accessor :endpoints + + # The DNS address at which this service is available. + # An example DNS address would be: + # `calendar.googleapis.com`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Quota configuration helps to achieve fairness and budgeting in service + # usage. + # The quota configuration works this way: + # - The service configuration defines a set of metrics. + # - For API calls, the quota.metric_rules maps methods to metrics with + # corresponding costs. + # - The quota.limits defines limits on the metrics, which will be used for + # quota checks at runtime. + # An example quota configuration in yaml format: + # quota: + # - name: apiWriteQpsPerProject + # metric: library.googleapis.com/write_calls + # unit: "1/min/`project`" # rate limit for consumer projects + # values: + # STANDARD: 10000 + # # The metric rules bind all methods to the read_calls metric, + # # except for the UpdateBook and DeleteBook methods. These two methods + # # are mapped to the write_calls metric, with the UpdateBook method + # # consuming at twice rate as the DeleteBook method. + # metric_rules: + # - selector: "*" + # metric_costs: + # library.googleapis.com/read_calls: 1 + # - selector: google.example.library.v1.LibraryService.UpdateBook + # metric_costs: + # library.googleapis.com/write_calls: 2 + # - selector: google.example.library.v1.LibraryService.DeleteBook + # metric_costs: + # library.googleapis.com/write_calls: 1 + # Corresponding Metric definition: + # metrics: + # - name: library.googleapis.com/read_calls + # display_name: Read requests + # metric_kind: DELTA + # value_type: INT64 + # - name: library.googleapis.com/write_calls + # display_name: Write requests + # metric_kind: DELTA + # value_type: INT64 + # Corresponds to the JSON property `quota` + # @return [Google::Apis::ServiceusageV1beta1::Quota] + attr_accessor :quota + + # The product title for this service. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # Configuration controlling usage of a service. + # Corresponds to the JSON property `usage` + # @return [Google::Apis::ServiceusageV1beta1::Usage] + attr_accessor :usage + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apis = args[:apis] if args.key?(:apis) + @authentication = args[:authentication] if args.key?(:authentication) + @documentation = args[:documentation] if args.key?(:documentation) + @endpoints = args[:endpoints] if args.key?(:endpoints) + @name = args[:name] if args.key?(:name) + @quota = args[:quota] if args.key?(:quota) + @title = args[:title] if args.key?(:title) + @usage = args[:usage] if args.key?(:usage) end end @@ -3574,7 +3648,7 @@ module Google # If none of the specified names are present the behavior is # parameter-dependent. # Corresponds to the JSON property `parameters` - # @return [Array] + # @return [Array] attr_accessor :parameters # Selects the methods to which this rule applies. Use '*' to indicate all @@ -3626,7 +3700,7 @@ module Google # http_header: Api-Key2 # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` - # @return [Array] + # @return [Array] attr_accessor :rules def initialize(**args) @@ -3645,7 +3719,7 @@ module Google # The list of fields. # Corresponds to the JSON property `fields` - # @return [Array] + # @return [Array] attr_accessor :fields # The fully qualified message name. @@ -3660,13 +3734,13 @@ module Google # The protocol buffer options. # Corresponds to the JSON property `options` - # @return [Array] + # @return [Array] attr_accessor :options # `SourceContext` represents information about the source of a # protobuf element, like the file in which it is defined. # Corresponds to the JSON property `sourceContext` - # @return [Google::Apis::ServiceusageV1::SourceContext] + # @return [Google::Apis::ServiceusageV1beta1::SourceContext] attr_accessor :source_context # The source syntax. @@ -3714,7 +3788,7 @@ module Google # A list of usage rules that apply to individual API methods. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` - # @return [Array] + # @return [Array] attr_accessor :rules def initialize(**args) @@ -3808,7 +3882,7 @@ module Google # A list of visibility rules that apply to individual API elements. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` - # @return [Array] + # @return [Array] attr_accessor :rules def initialize(**args) diff --git a/generated/google/apis/serviceusage_v1/representations.rb b/generated/google/apis/serviceusage_v1beta1/representations.rb similarity index 78% rename from generated/google/apis/serviceusage_v1/representations.rb rename to generated/google/apis/serviceusage_v1beta1/representations.rb index 581d2f968..0a4f5b7f1 100644 --- a/generated/google/apis/serviceusage_v1/representations.rb +++ b/generated/google/apis/serviceusage_v1beta1/representations.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis - module ServiceusageV1 + module ServiceusageV1beta1 class Api class Representation < Google::Apis::Core::JsonRepresentation; end @@ -76,6 +76,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BatchEnableServicesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Billing class Representation < Google::Apis::Core::JsonRepresentation; end @@ -88,12 +94,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class CancelOperationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Context class Representation < Google::Apis::Core::JsonRepresentation; end @@ -154,24 +154,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class EnableServiceRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EnabledState - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Endpoint class Representation < Google::Apis::Core::JsonRepresentation; end @@ -226,13 +214,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListEnabledServicesResponse + class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListOperationsResponse + class ListServicesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -340,12 +328,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class PublishedService - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Quota class Representation < Google::Apis::Core::JsonRepresentation; end @@ -358,13 +340,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SearchServicesResponse + class Service class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ServiceState + class ServiceConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -445,14 +427,14 @@ module Google class Api # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :methods_prop, as: 'methods', class: Google::Apis::ServiceusageV1::MethodProp, decorator: Google::Apis::ServiceusageV1::MethodProp::Representation + collection :methods_prop, as: 'methods', class: Google::Apis::ServiceusageV1beta1::MethodProp, decorator: Google::Apis::ServiceusageV1beta1::MethodProp::Representation - collection :mixins, as: 'mixins', class: Google::Apis::ServiceusageV1::Mixin, decorator: Google::Apis::ServiceusageV1::Mixin::Representation + collection :mixins, as: 'mixins', class: Google::Apis::ServiceusageV1beta1::Mixin, decorator: Google::Apis::ServiceusageV1beta1::Mixin::Representation property :name, as: 'name' - collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation + collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation - property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1::SourceContext, decorator: Google::Apis::ServiceusageV1::SourceContext::Representation + property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1beta1::SourceContext, decorator: Google::Apis::ServiceusageV1beta1::SourceContext::Representation property :syntax, as: 'syntax' property :version, as: 'version' @@ -481,9 +463,9 @@ module Google class Authentication # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :providers, as: 'providers', class: Google::Apis::ServiceusageV1::AuthProvider, decorator: Google::Apis::ServiceusageV1::AuthProvider::Representation + collection :providers, as: 'providers', class: Google::Apis::ServiceusageV1beta1::AuthProvider, decorator: Google::Apis::ServiceusageV1beta1::AuthProvider::Representation - collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::AuthenticationRule, decorator: Google::Apis::ServiceusageV1::AuthenticationRule::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::AuthenticationRule, decorator: Google::Apis::ServiceusageV1beta1::AuthenticationRule::Representation end end @@ -492,11 +474,11 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :allow_without_credential, as: 'allowWithoutCredential' - property :custom_auth, as: 'customAuth', class: Google::Apis::ServiceusageV1::CustomAuthRequirements, decorator: Google::Apis::ServiceusageV1::CustomAuthRequirements::Representation + property :custom_auth, as: 'customAuth', class: Google::Apis::ServiceusageV1beta1::CustomAuthRequirements, decorator: Google::Apis::ServiceusageV1beta1::CustomAuthRequirements::Representation - property :oauth, as: 'oauth', class: Google::Apis::ServiceusageV1::OAuthRequirements, decorator: Google::Apis::ServiceusageV1::OAuthRequirements::Representation + property :oauth, as: 'oauth', class: Google::Apis::ServiceusageV1beta1::OAuthRequirements, decorator: Google::Apis::ServiceusageV1beta1::OAuthRequirements::Representation - collection :requirements, as: 'requirements', class: Google::Apis::ServiceusageV1::AuthRequirement, decorator: Google::Apis::ServiceusageV1::AuthRequirement::Representation + collection :requirements, as: 'requirements', class: Google::Apis::ServiceusageV1beta1::AuthRequirement, decorator: Google::Apis::ServiceusageV1beta1::AuthRequirement::Representation property :selector, as: 'selector' end @@ -520,7 +502,7 @@ module Google class Backend # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::BackendRule, decorator: Google::Apis::ServiceusageV1::BackendRule::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::BackendRule, decorator: Google::Apis::ServiceusageV1beta1::BackendRule::Representation end end @@ -535,10 +517,17 @@ module Google end end + class BatchEnableServicesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :service_ids, as: 'serviceIds' + end + end + class Billing # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1::BillingDestination, decorator: Google::Apis::ServiceusageV1::BillingDestination::Representation + collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1beta1::BillingDestination, decorator: Google::Apis::ServiceusageV1beta1::BillingDestination::Representation end end @@ -551,16 +540,10 @@ module Google end end - class CancelOperationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class Context # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::ContextRule, decorator: Google::Apis::ServiceusageV1::ContextRule::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::ContextRule, decorator: Google::Apis::ServiceusageV1beta1::ContextRule::Representation end end @@ -593,7 +576,7 @@ module Google class CustomError # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::CustomErrorRule, decorator: Google::Apis::ServiceusageV1::CustomErrorRule::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::CustomErrorRule, decorator: Google::Apis::ServiceusageV1beta1::CustomErrorRule::Representation collection :types, as: 'types' end @@ -626,9 +609,9 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :documentation_root_url, as: 'documentationRootUrl' property :overview, as: 'overview' - collection :pages, as: 'pages', class: Google::Apis::ServiceusageV1::Page, decorator: Google::Apis::ServiceusageV1::Page::Representation + collection :pages, as: 'pages', class: Google::Apis::ServiceusageV1beta1::Page, decorator: Google::Apis::ServiceusageV1beta1::Page::Representation - collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::DocumentationRule, decorator: Google::Apis::ServiceusageV1::DocumentationRule::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::DocumentationRule, decorator: Google::Apis::ServiceusageV1beta1::DocumentationRule::Representation property :summary, as: 'summary' end @@ -643,25 +626,12 @@ module Google end end - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class EnableServiceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end - class EnabledState - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' - end - end - class Endpoint # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -676,12 +646,12 @@ module Google class Enum # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServiceusageV1::EnumValue, decorator: Google::Apis::ServiceusageV1::EnumValue::Representation + collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServiceusageV1beta1::EnumValue, decorator: Google::Apis::ServiceusageV1beta1::EnumValue::Representation property :name, as: 'name' - collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation + collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation - property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1::SourceContext, decorator: Google::Apis::ServiceusageV1::SourceContext::Representation + property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1beta1::SourceContext, decorator: Google::Apis::ServiceusageV1beta1::SourceContext::Representation property :syntax, as: 'syntax' end @@ -692,7 +662,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :number, as: 'number' - collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation + collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation end end @@ -700,7 +670,7 @@ module Google class Experimental # @private class Representation < Google::Apis::Core::JsonRepresentation - property :authorization, as: 'authorization', class: Google::Apis::ServiceusageV1::AuthorizationConfig, decorator: Google::Apis::ServiceusageV1::AuthorizationConfig::Representation + property :authorization, as: 'authorization', class: Google::Apis::ServiceusageV1beta1::AuthorizationConfig, decorator: Google::Apis::ServiceusageV1beta1::AuthorizationConfig::Representation end end @@ -715,7 +685,7 @@ module Google property :name, as: 'name' property :number, as: 'number' property :oneof_index, as: 'oneofIndex' - collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation + collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation property :packed, as: 'packed' property :type_url, as: 'typeUrl' @@ -725,58 +695,58 @@ module Google class GoogleApiService # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :apis, as: 'apis', class: Google::Apis::ServiceusageV1::Api, decorator: Google::Apis::ServiceusageV1::Api::Representation + collection :apis, as: 'apis', class: Google::Apis::ServiceusageV1beta1::Api, decorator: Google::Apis::ServiceusageV1beta1::Api::Representation - property :authentication, as: 'authentication', class: Google::Apis::ServiceusageV1::Authentication, decorator: Google::Apis::ServiceusageV1::Authentication::Representation + property :authentication, as: 'authentication', class: Google::Apis::ServiceusageV1beta1::Authentication, decorator: Google::Apis::ServiceusageV1beta1::Authentication::Representation - property :backend, as: 'backend', class: Google::Apis::ServiceusageV1::Backend, decorator: Google::Apis::ServiceusageV1::Backend::Representation + property :backend, as: 'backend', class: Google::Apis::ServiceusageV1beta1::Backend, decorator: Google::Apis::ServiceusageV1beta1::Backend::Representation - property :billing, as: 'billing', class: Google::Apis::ServiceusageV1::Billing, decorator: Google::Apis::ServiceusageV1::Billing::Representation + property :billing, as: 'billing', class: Google::Apis::ServiceusageV1beta1::Billing, decorator: Google::Apis::ServiceusageV1beta1::Billing::Representation property :config_version, as: 'configVersion' - property :context, as: 'context', class: Google::Apis::ServiceusageV1::Context, decorator: Google::Apis::ServiceusageV1::Context::Representation + property :context, as: 'context', class: Google::Apis::ServiceusageV1beta1::Context, decorator: Google::Apis::ServiceusageV1beta1::Context::Representation - property :control, as: 'control', class: Google::Apis::ServiceusageV1::Control, decorator: Google::Apis::ServiceusageV1::Control::Representation + property :control, as: 'control', class: Google::Apis::ServiceusageV1beta1::Control, decorator: Google::Apis::ServiceusageV1beta1::Control::Representation - property :custom_error, as: 'customError', class: Google::Apis::ServiceusageV1::CustomError, decorator: Google::Apis::ServiceusageV1::CustomError::Representation + property :custom_error, as: 'customError', class: Google::Apis::ServiceusageV1beta1::CustomError, decorator: Google::Apis::ServiceusageV1beta1::CustomError::Representation - property :documentation, as: 'documentation', class: Google::Apis::ServiceusageV1::Documentation, decorator: Google::Apis::ServiceusageV1::Documentation::Representation + property :documentation, as: 'documentation', class: Google::Apis::ServiceusageV1beta1::Documentation, decorator: Google::Apis::ServiceusageV1beta1::Documentation::Representation - collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceusageV1::Endpoint, decorator: Google::Apis::ServiceusageV1::Endpoint::Representation + collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceusageV1beta1::Endpoint, decorator: Google::Apis::ServiceusageV1beta1::Endpoint::Representation - collection :enums, as: 'enums', class: Google::Apis::ServiceusageV1::Enum, decorator: Google::Apis::ServiceusageV1::Enum::Representation + collection :enums, as: 'enums', class: Google::Apis::ServiceusageV1beta1::Enum, decorator: Google::Apis::ServiceusageV1beta1::Enum::Representation - property :experimental, as: 'experimental', class: Google::Apis::ServiceusageV1::Experimental, decorator: Google::Apis::ServiceusageV1::Experimental::Representation + property :experimental, as: 'experimental', class: Google::Apis::ServiceusageV1beta1::Experimental, decorator: Google::Apis::ServiceusageV1beta1::Experimental::Representation - property :http, as: 'http', class: Google::Apis::ServiceusageV1::Http, decorator: Google::Apis::ServiceusageV1::Http::Representation + property :http, as: 'http', class: Google::Apis::ServiceusageV1beta1::Http, decorator: Google::Apis::ServiceusageV1beta1::Http::Representation property :id, as: 'id' - property :logging, as: 'logging', class: Google::Apis::ServiceusageV1::Logging, decorator: Google::Apis::ServiceusageV1::Logging::Representation + property :logging, as: 'logging', class: Google::Apis::ServiceusageV1beta1::Logging, decorator: Google::Apis::ServiceusageV1beta1::Logging::Representation - collection :logs, as: 'logs', class: Google::Apis::ServiceusageV1::LogDescriptor, decorator: Google::Apis::ServiceusageV1::LogDescriptor::Representation + collection :logs, as: 'logs', class: Google::Apis::ServiceusageV1beta1::LogDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LogDescriptor::Representation - collection :metrics, as: 'metrics', class: Google::Apis::ServiceusageV1::MetricDescriptor, decorator: Google::Apis::ServiceusageV1::MetricDescriptor::Representation + collection :metrics, as: 'metrics', class: Google::Apis::ServiceusageV1beta1::MetricDescriptor, decorator: Google::Apis::ServiceusageV1beta1::MetricDescriptor::Representation - collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServiceusageV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServiceusageV1::MonitoredResourceDescriptor::Representation + collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServiceusageV1beta1::MonitoredResourceDescriptor, decorator: Google::Apis::ServiceusageV1beta1::MonitoredResourceDescriptor::Representation - property :monitoring, as: 'monitoring', class: Google::Apis::ServiceusageV1::Monitoring, decorator: Google::Apis::ServiceusageV1::Monitoring::Representation + property :monitoring, as: 'monitoring', class: Google::Apis::ServiceusageV1beta1::Monitoring, decorator: Google::Apis::ServiceusageV1beta1::Monitoring::Representation property :name, as: 'name' property :producer_project_id, as: 'producerProjectId' - property :quota, as: 'quota', class: Google::Apis::ServiceusageV1::Quota, decorator: Google::Apis::ServiceusageV1::Quota::Representation + property :quota, as: 'quota', class: Google::Apis::ServiceusageV1beta1::Quota, decorator: Google::Apis::ServiceusageV1beta1::Quota::Representation - property :source_info, as: 'sourceInfo', class: Google::Apis::ServiceusageV1::SourceInfo, decorator: Google::Apis::ServiceusageV1::SourceInfo::Representation + property :source_info, as: 'sourceInfo', class: Google::Apis::ServiceusageV1beta1::SourceInfo, decorator: Google::Apis::ServiceusageV1beta1::SourceInfo::Representation - property :system_parameters, as: 'systemParameters', class: Google::Apis::ServiceusageV1::SystemParameters, decorator: Google::Apis::ServiceusageV1::SystemParameters::Representation + property :system_parameters, as: 'systemParameters', class: Google::Apis::ServiceusageV1beta1::SystemParameters, decorator: Google::Apis::ServiceusageV1beta1::SystemParameters::Representation - collection :system_types, as: 'systemTypes', class: Google::Apis::ServiceusageV1::Type, decorator: Google::Apis::ServiceusageV1::Type::Representation + collection :system_types, as: 'systemTypes', class: Google::Apis::ServiceusageV1beta1::Type, decorator: Google::Apis::ServiceusageV1beta1::Type::Representation property :title, as: 'title' - collection :types, as: 'types', class: Google::Apis::ServiceusageV1::Type, decorator: Google::Apis::ServiceusageV1::Type::Representation + collection :types, as: 'types', class: Google::Apis::ServiceusageV1beta1::Type, decorator: Google::Apis::ServiceusageV1beta1::Type::Representation - property :usage, as: 'usage', class: Google::Apis::ServiceusageV1::Usage, decorator: Google::Apis::ServiceusageV1::Usage::Representation + property :usage, as: 'usage', class: Google::Apis::ServiceusageV1beta1::Usage, decorator: Google::Apis::ServiceusageV1beta1::Usage::Representation - property :visibility, as: 'visibility', class: Google::Apis::ServiceusageV1::Visibility, decorator: Google::Apis::ServiceusageV1::Visibility::Representation + property :visibility, as: 'visibility', class: Google::Apis::ServiceusageV1beta1::Visibility, decorator: Google::Apis::ServiceusageV1beta1::Visibility::Representation end end @@ -785,7 +755,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :fully_decode_reserved_expansion, as: 'fullyDecodeReservedExpansion' - collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::HttpRule, decorator: Google::Apis::ServiceusageV1::HttpRule::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::HttpRule, decorator: Google::Apis::ServiceusageV1beta1::HttpRule::Representation end end @@ -793,18 +763,18 @@ module Google class HttpRule # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1::HttpRule, decorator: Google::Apis::ServiceusageV1::HttpRule::Representation + collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1beta1::HttpRule, decorator: Google::Apis::ServiceusageV1beta1::HttpRule::Representation - collection :authorizations, as: 'authorizations', class: Google::Apis::ServiceusageV1::AuthorizationRule, decorator: Google::Apis::ServiceusageV1::AuthorizationRule::Representation + collection :authorizations, as: 'authorizations', class: Google::Apis::ServiceusageV1beta1::AuthorizationRule, decorator: Google::Apis::ServiceusageV1beta1::AuthorizationRule::Representation property :body, as: 'body' - property :custom, as: 'custom', class: Google::Apis::ServiceusageV1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1::CustomHttpPattern::Representation + property :custom, as: 'custom', class: Google::Apis::ServiceusageV1beta1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1beta1::CustomHttpPattern::Representation property :delete, as: 'delete' property :get, as: 'get' - property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceusageV1::MediaDownload, decorator: Google::Apis::ServiceusageV1::MediaDownload::Representation + property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceusageV1beta1::MediaDownload, decorator: Google::Apis::ServiceusageV1beta1::MediaDownload::Representation - property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceusageV1::MediaUpload, decorator: Google::Apis::ServiceusageV1::MediaUpload::Representation + property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceusageV1beta1::MediaUpload, decorator: Google::Apis::ServiceusageV1beta1::MediaUpload::Representation property :patch, as: 'patch' property :post, as: 'post' @@ -824,20 +794,20 @@ module Google end end - class ListEnabledServicesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :services, as: 'services', class: Google::Apis::ServiceusageV1::ServiceState, decorator: Google::Apis::ServiceusageV1::ServiceState::Representation - - end - end - class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' - collection :operations, as: 'operations', class: Google::Apis::ServiceusageV1::Operation, decorator: Google::Apis::ServiceusageV1::Operation::Representation + collection :operations, as: 'operations', class: Google::Apis::ServiceusageV1beta1::Operation, decorator: Google::Apis::ServiceusageV1beta1::Operation::Representation + + end + end + + class ListServicesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :services, as: 'services', class: Google::Apis::ServiceusageV1beta1::Service, decorator: Google::Apis::ServiceusageV1beta1::Service::Representation end end @@ -847,7 +817,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :display_name, as: 'displayName' - collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation + collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1beta1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LabelDescriptor::Representation property :name, as: 'name' end @@ -856,9 +826,9 @@ module Google class Logging # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1::LoggingDestination, decorator: Google::Apis::ServiceusageV1::LoggingDestination::Representation + collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1beta1::LoggingDestination, decorator: Google::Apis::ServiceusageV1beta1::LoggingDestination::Representation - collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceusageV1::LoggingDestination, decorator: Google::Apis::ServiceusageV1::LoggingDestination::Representation + collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceusageV1beta1::LoggingDestination, decorator: Google::Apis::ServiceusageV1beta1::LoggingDestination::Representation end end @@ -901,7 +871,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' - collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation + collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation property :request_streaming, as: 'requestStreaming' property :request_type_url, as: 'requestTypeUrl' @@ -916,7 +886,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :display_name, as: 'displayName' - collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation + collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1beta1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LabelDescriptor::Representation property :metric_kind, as: 'metricKind' property :name, as: 'name' @@ -947,7 +917,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :display_name, as: 'displayName' - collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation + collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1beta1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LabelDescriptor::Representation property :name, as: 'name' property :type, as: 'type' @@ -957,9 +927,9 @@ module Google class Monitoring # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1::MonitoringDestination, decorator: Google::Apis::ServiceusageV1::MonitoringDestination::Representation + collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1beta1::MonitoringDestination, decorator: Google::Apis::ServiceusageV1beta1::MonitoringDestination::Representation - collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceusageV1::MonitoringDestination, decorator: Google::Apis::ServiceusageV1::MonitoringDestination::Representation + collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceusageV1beta1::MonitoringDestination, decorator: Google::Apis::ServiceusageV1beta1::MonitoringDestination::Representation end end @@ -983,7 +953,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :done, as: 'done' - property :error, as: 'error', class: Google::Apis::ServiceusageV1::Status, decorator: Google::Apis::ServiceusageV1::Status::Representation + property :error, as: 'error', class: Google::Apis::ServiceusageV1beta1::Status, decorator: Google::Apis::ServiceusageV1beta1::Status::Representation hash :metadata, as: 'metadata' property :name, as: 'name' @@ -997,7 +967,7 @@ module Google property :progress_percentage, as: 'progressPercentage' collection :resource_names, as: 'resourceNames' property :start_time, as: 'startTime' - collection :steps, as: 'steps', class: Google::Apis::ServiceusageV1::Step, decorator: Google::Apis::ServiceusageV1::Step::Representation + collection :steps, as: 'steps', class: Google::Apis::ServiceusageV1beta1::Step, decorator: Google::Apis::ServiceusageV1beta1::Step::Representation end end @@ -1015,16 +985,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :content, as: 'content' property :name, as: 'name' - collection :subpages, as: 'subpages', class: Google::Apis::ServiceusageV1::Page, decorator: Google::Apis::ServiceusageV1::Page::Representation - - end - end - - class PublishedService - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :service, as: 'service', class: Google::Apis::ServiceusageV1::GoogleApiService, decorator: Google::Apis::ServiceusageV1::GoogleApiService::Representation + collection :subpages, as: 'subpages', class: Google::Apis::ServiceusageV1beta1::Page, decorator: Google::Apis::ServiceusageV1beta1::Page::Representation end end @@ -1032,9 +993,9 @@ module Google class Quota # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :limits, as: 'limits', class: Google::Apis::ServiceusageV1::QuotaLimit, decorator: Google::Apis::ServiceusageV1::QuotaLimit::Representation + collection :limits, as: 'limits', class: Google::Apis::ServiceusageV1beta1::QuotaLimit, decorator: Google::Apis::ServiceusageV1beta1::QuotaLimit::Representation - collection :metric_rules, as: 'metricRules', class: Google::Apis::ServiceusageV1::MetricRule, decorator: Google::Apis::ServiceusageV1::MetricRule::Representation + collection :metric_rules, as: 'metricRules', class: Google::Apis::ServiceusageV1beta1::MetricRule, decorator: Google::Apis::ServiceusageV1beta1::MetricRule::Representation end end @@ -1055,22 +1016,33 @@ module Google end end - class SearchServicesResponse + class Service # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :services, as: 'services', class: Google::Apis::ServiceusageV1::PublishedService, decorator: Google::Apis::ServiceusageV1::PublishedService::Representation + property :config, as: 'config', class: Google::Apis::ServiceusageV1beta1::ServiceConfig, decorator: Google::Apis::ServiceusageV1beta1::ServiceConfig::Representation + property :name, as: 'name' + property :parent, as: 'parent' + property :state, as: 'state' end end - class ServiceState + class ServiceConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :enabled, as: 'enabled', class: Google::Apis::ServiceusageV1::EnabledState, decorator: Google::Apis::ServiceusageV1::EnabledState::Representation + collection :apis, as: 'apis', class: Google::Apis::ServiceusageV1beta1::Api, decorator: Google::Apis::ServiceusageV1beta1::Api::Representation + + property :authentication, as: 'authentication', class: Google::Apis::ServiceusageV1beta1::Authentication, decorator: Google::Apis::ServiceusageV1beta1::Authentication::Representation + + property :documentation, as: 'documentation', class: Google::Apis::ServiceusageV1beta1::Documentation, decorator: Google::Apis::ServiceusageV1beta1::Documentation::Representation + + collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceusageV1beta1::Endpoint, decorator: Google::Apis::ServiceusageV1beta1::Endpoint::Representation property :name, as: 'name' - property :service, as: 'service', class: Google::Apis::ServiceusageV1::PublishedService, decorator: Google::Apis::ServiceusageV1::PublishedService::Representation + property :quota, as: 'quota', class: Google::Apis::ServiceusageV1beta1::Quota, decorator: Google::Apis::ServiceusageV1beta1::Quota::Representation + + property :title, as: 'title' + property :usage, as: 'usage', class: Google::Apis::ServiceusageV1beta1::Usage, decorator: Google::Apis::ServiceusageV1beta1::Usage::Representation end end @@ -1118,7 +1090,7 @@ module Google class SystemParameterRule # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :parameters, as: 'parameters', class: Google::Apis::ServiceusageV1::SystemParameter, decorator: Google::Apis::ServiceusageV1::SystemParameter::Representation + collection :parameters, as: 'parameters', class: Google::Apis::ServiceusageV1beta1::SystemParameter, decorator: Google::Apis::ServiceusageV1beta1::SystemParameter::Representation property :selector, as: 'selector' end @@ -1127,7 +1099,7 @@ module Google class SystemParameters # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::SystemParameterRule, decorator: Google::Apis::ServiceusageV1::SystemParameterRule::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::SystemParameterRule, decorator: Google::Apis::ServiceusageV1beta1::SystemParameterRule::Representation end end @@ -1135,13 +1107,13 @@ module Google class Type # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :fields, as: 'fields', class: Google::Apis::ServiceusageV1::Field, decorator: Google::Apis::ServiceusageV1::Field::Representation + collection :fields, as: 'fields', class: Google::Apis::ServiceusageV1beta1::Field, decorator: Google::Apis::ServiceusageV1beta1::Field::Representation property :name, as: 'name' collection :oneofs, as: 'oneofs' - collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation + collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation - property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1::SourceContext, decorator: Google::Apis::ServiceusageV1::SourceContext::Representation + property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1beta1::SourceContext, decorator: Google::Apis::ServiceusageV1beta1::SourceContext::Representation property :syntax, as: 'syntax' end @@ -1152,7 +1124,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :producer_notification_channel, as: 'producerNotificationChannel' collection :requirements, as: 'requirements' - collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::UsageRule, decorator: Google::Apis::ServiceusageV1::UsageRule::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::UsageRule, decorator: Google::Apis::ServiceusageV1beta1::UsageRule::Representation end end @@ -1169,7 +1141,7 @@ module Google class Visibility # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::VisibilityRule, decorator: Google::Apis::ServiceusageV1::VisibilityRule::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::VisibilityRule, decorator: Google::Apis::ServiceusageV1beta1::VisibilityRule::Representation end end diff --git a/generated/google/apis/serviceusage_v1/service.rb b/generated/google/apis/serviceusage_v1beta1/service.rb similarity index 60% rename from generated/google/apis/serviceusage_v1/service.rb rename to generated/google/apis/serviceusage_v1beta1/service.rb index 03e860b81..55367b0fc 100644 --- a/generated/google/apis/serviceusage_v1/service.rb +++ b/generated/google/apis/serviceusage_v1beta1/service.rb @@ -19,7 +19,7 @@ require 'google/apis/errors' module Google module Apis - module ServiceusageV1 + module ServiceusageV1beta1 # Service Usage API # # Enables services that service consumers want to use on Google Cloud Platform, @@ -27,9 +27,9 @@ module Google # consumers no longer use. # # @example - # require 'google/apis/serviceusage_v1' + # require 'google/apis/serviceusage_v1beta1' # - # Serviceusage = Google::Apis::ServiceusageV1 # Alias the module + # Serviceusage = Google::Apis::ServiceusageV1beta1 # Alias the module # service = Serviceusage::ServiceUsageService.new # # @see https://cloud.google.com/service-usage/ @@ -49,81 +49,6 @@ module Google @batch_path = 'batch' end - # Starts asynchronous cancellation on a long-running operation. The server - # makes a best effort to cancel the operation, but success is not - # guaranteed. If the server doesn't support this method, it returns - # `google.rpc.Code.UNIMPLEMENTED`. Clients can use - # Operations.GetOperation or - # other methods to check whether the cancellation succeeded or whether the - # operation completed despite cancellation. On successful cancellation, - # the operation is not deleted; instead, it becomes an operation with - # an Operation.error value with a google.rpc.Status.code of 1, - # corresponding to `Code.CANCELLED`. - # @param [String] name - # The name of the operation resource to be cancelled. - # @param [Google::Apis::ServiceusageV1::CancelOperationRequest] cancel_operation_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::ServiceusageV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServiceusageV1::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 cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:cancel', options) - command.request_representation = Google::Apis::ServiceusageV1::CancelOperationRequest::Representation - command.request_object = cancel_operation_request_object - command.response_representation = Google::Apis::ServiceusageV1::Empty::Representation - command.response_class = Google::Apis::ServiceusageV1::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 - - # Deletes a long-running operation. This method indicates that the client is - # no longer interested in the operation result. It does not cancel the - # operation. If the server doesn't support this method, it returns - # `google.rpc.Code.UNIMPLEMENTED`. - # @param [String] name - # The name of the operation resource to be deleted. - # @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::ServiceusageV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServiceusageV1::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_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::ServiceusageV1::Empty::Representation - command.response_class = Google::Apis::ServiceusageV1::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 the latest state of a long-running operation. Clients can use this # method to poll the operation result at intervals as recommended by the API # service. @@ -138,18 +63,18 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServiceusageV1::Operation] parsed result object + # @yieldparam result [Google::Apis::ServiceusageV1beta1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ServiceusageV1::Operation] + # @return [Google::Apis::ServiceusageV1beta1::Operation] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation - command.response_class = Google::Apis::ServiceusageV1::Operation + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation + command.response_class = Google::Apis::ServiceusageV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -182,18 +107,18 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServiceusageV1::ListOperationsResponse] parsed result object + # @yieldparam result [Google::Apis::ServiceusageV1beta1::ListOperationsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ServiceusageV1::ListOperationsResponse] + # @return [Google::Apis::ServiceusageV1beta1::ListOperationsResponse] # # @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_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/operations', options) - command.response_representation = Google::Apis::ServiceusageV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::ServiceusageV1::ListOperationsResponse + command = make_simple_command(:get, 'v1beta1/operations', options) + command.response_representation = Google::Apis::ServiceusageV1beta1::ListOperationsResponse::Representation + command.response_class = Google::Apis::ServiceusageV1beta1::ListOperationsResponse command.query['filter'] = filter unless filter.nil? command.query['name'] = name unless name.nil? command.query['pageSize'] = page_size unless page_size.nil? @@ -203,11 +128,49 @@ module Google execute_or_queue_command(command, &block) end - # Disable a service so it can no longer be used with a - # project. This prevents unintended usage that may cause unexpected billing + # Enable multiple services on a project. The operation is atomic: if enabling + # any service fails, then the entire batch fails, and no state changes occur. + # Operation + # @param [String] parent + # Parent to enable services on. + # An example name would be: + # projects/123 + # The `BatchEnableServices` method currently only supports projects. + # @param [Google::Apis::ServiceusageV1beta1::BatchEnableServicesRequest] batch_enable_services_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::ServiceusageV1beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServiceusageV1beta1::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 batch_enable_services(parent, batch_enable_services_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/services:batchEnable', options) + command.request_representation = Google::Apis::ServiceusageV1beta1::BatchEnableServicesRequest::Representation + command.request_object = batch_enable_services_request_object + command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation + command.response_class = Google::Apis::ServiceusageV1beta1::Operation + 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 + + # Disable a service so that it can no longer be used with a project. + # This prevents unintended usage that may cause unexpected billing # charges or security leaks. # It is not valid to call the disable method on a service that is not - # currently enabled. Callers will receive a FAILED_PRECONDITION status if + # currently enabled. Callers will receive a `FAILED_PRECONDITION` status if # the target service is not currently enabled. # Operation # @param [String] name @@ -215,7 +178,7 @@ module Google # The enable and disable methods currently only support projects. # An example name would be: # projects/123/services/serviceusage.googleapis.com - # @param [Google::Apis::ServiceusageV1::DisableServiceRequest] disable_service_request_object + # @param [Google::Apis::ServiceusageV1beta1::DisableServiceRequest] disable_service_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -225,38 +188,37 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServiceusageV1::Operation] parsed result object + # @yieldparam result [Google::Apis::ServiceusageV1beta1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ServiceusageV1::Operation] + # @return [Google::Apis::ServiceusageV1beta1::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 disable_service(name, disable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:disable', options) - command.request_representation = Google::Apis::ServiceusageV1::DisableServiceRequest::Representation + command = make_simple_command(:post, 'v1beta1/{+name}:disable', options) + command.request_representation = Google::Apis::ServiceusageV1beta1::DisableServiceRequest::Representation command.request_object = disable_service_request_object - command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation - command.response_class = Google::Apis::ServiceusageV1::Operation + command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation + command.response_class = Google::Apis::ServiceusageV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Enable a service so it can be used with a project. - # See [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for - # more information. + # Enable a service so that it can be used with a project. # Operation # @param [String] name # Name of the consumer and service to enable the service on. - # The enable and disable methods currently only support projects. + # The `EnableService` and `DisableService` methods currently only support + # projects. # Enabling a service requires that the service is public or is shared with # the user enabling the service. # An example name would be: # projects/123/services/serviceusage.googleapis.com - # @param [Google::Apis::ServiceusageV1::EnableServiceRequest] enable_service_request_object + # @param [Google::Apis::ServiceusageV1beta1::EnableServiceRequest] enable_service_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -266,29 +228,29 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServiceusageV1::Operation] parsed result object + # @yieldparam result [Google::Apis::ServiceusageV1beta1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ServiceusageV1::Operation] + # @return [Google::Apis::ServiceusageV1beta1::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 enable_service(name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:enable', options) - command.request_representation = Google::Apis::ServiceusageV1::EnableServiceRequest::Representation + command = make_simple_command(:post, 'v1beta1/{+name}:enable', options) + command.request_representation = Google::Apis::ServiceusageV1beta1::EnableServiceRequest::Representation command.request_object = enable_service_request_object - command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation - command.response_class = Google::Apis::ServiceusageV1::Operation + command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation + command.response_class = Google::Apis::ServiceusageV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Returns the service definition and EnabledState for a given service. + # Returns the service configuration and enabled state for a given service. # @param [String] name - # Name of the consumer and service to get the ConsumerState for. + # Name of the consumer and service to get the `ConsumerState` for. # An example name would be: # projects/123/services/serviceusage.googleapis.com # @param [String] fields @@ -300,34 +262,43 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServiceusageV1::ServiceState] parsed result object + # @yieldparam result [Google::Apis::ServiceusageV1beta1::Service] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ServiceusageV1::ServiceState] + # @return [Google::Apis::ServiceusageV1beta1::Service] # # @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_service(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::ServiceusageV1::ServiceState::Representation - command.response_class = Google::Apis::ServiceusageV1::ServiceState + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::ServiceusageV1beta1::Service::Representation + command.response_class = Google::Apis::ServiceusageV1beta1::Service 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 - # List enabled services. + # List all services available to the specified project, and the current + # state of those services with respect to the project. The list includes + # all public services, all services for which the calling user has the + # `servicemanagement.services.bind` permission, and all services that have + # already been enabled on the project. The list can be filtered to + # only include services in a specific state, for example to only include + # services enabled on the project. # @param [String] parent # Parent to search for services on. # An example name would be: # projects/123 + # @param [String] filter + # Only list services that conform to the given filter. + # The allowed filter strings are `state:ENABLED` and `state:DISABLED`. # @param [Fixnum] page_size # Requested size of the next page of data. # @param [String] page_token - # Token identifying which result to start with; returned by a previous list - # call. + # Token identifying which result to start with, which is returned by a + # previous list call. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -337,56 +308,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServiceusageV1::ListEnabledServicesResponse] parsed result object + # @yieldparam result [Google::Apis::ServiceusageV1beta1::ListServicesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ServiceusageV1::ListEnabledServicesResponse] + # @return [Google::Apis::ServiceusageV1beta1::ListServicesResponse] # # @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_service_enabled(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/services:enabled', options) - command.response_representation = Google::Apis::ServiceusageV1::ListEnabledServicesResponse::Representation - command.response_class = Google::Apis::ServiceusageV1::ListEnabledServicesResponse + def list_services(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/services', options) + command.response_representation = Google::Apis::ServiceusageV1beta1::ListServicesResponse::Representation + command.response_class = Google::Apis::ServiceusageV1beta1::ListServicesResponse command.params['parent'] = parent unless parent.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 - - # Search available services. - # When no filter is specified, returns all accessible services. This includes - # public services and services for which the calling user has the - # "servicemanagement.services.bind" permission. - # @param [Fixnum] page_size - # Requested size of the next page of data. - # @param [String] page_token - # Token identifying which result to start with; returned by a previous search - # call. - # @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::ServiceusageV1::SearchServicesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServiceusageV1::SearchServicesResponse] - # - # @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 search_services(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/services:search', options) - command.response_representation = Google::Apis::ServiceusageV1::SearchServicesResponse::Representation - command.response_class = Google::Apis::ServiceusageV1::SearchServicesResponse + 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? diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb index de2531c8c..faa25ddcb 100644 --- a/generated/google/apis/sheets_v4.rb +++ b/generated/google/apis/sheets_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/sheets/ module SheetsV4 VERSION = 'V4' - REVISION = '20180124' + REVISION = '20180301' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/sheets_v4/classes.rb b/generated/google/apis/sheets_v4/classes.rb index 38ee31469..b7cb3eded 100644 --- a/generated/google/apis/sheets_v4/classes.rb +++ b/generated/google/apis/sheets_v4/classes.rb @@ -1459,7 +1459,7 @@ module Google attr_accessor :requests # True if grid data should be returned. Meaningful only if - # if include_spreadsheet_response is 'true'. + # if include_spreadsheet_in_response is 'true'. # This parameter is ignored if a field mask was set in the request. # Corresponds to the JSON property `responseIncludeGridData` # @return [Boolean] diff --git a/generated/google/apis/slides_v1.rb b/generated/google/apis/slides_v1.rb index 060516388..0ce7fb968 100644 --- a/generated/google/apis/slides_v1.rb +++ b/generated/google/apis/slides_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/slides/ module SlidesV1 VERSION = 'V1' - REVISION = '20180216' + REVISION = '20180301' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/slides_v1/classes.rb b/generated/google/apis/slides_v1/classes.rb index a08faac11..e3be5f006 100644 --- a/generated/google/apis/slides_v1/classes.rb +++ b/generated/google/apis/slides_v1/classes.rb @@ -318,7 +318,7 @@ module Google # The image URL. # The image is fetched once at insertion time and a copy is stored for # display inside the presentation. Images must be less than 50MB in size, - # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF # format. # The provided URL can be at most 2 kB in length. # Corresponds to the JSON property `url` @@ -2589,7 +2589,7 @@ module Google # The image URL. # The image is fetched once at insertion time and a copy is stored for # display inside the presentation. Images must be less than 50MB in size, - # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF # format. # The provided URL can be at most 2 kB in length. # Corresponds to the JSON property `imageUrl` @@ -2788,7 +2788,7 @@ module Google # The URL of the new image. # The image is fetched once at insertion time and a copy is stored for # display inside the presentation. Images must be less than 50MB in size, - # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF # format. # The provided URL can be at most 2 kB in length. # Corresponds to the JSON property `url` @@ -3587,7 +3587,7 @@ module Google # Writing the content_url: # The picture is fetched once at insertion time and a copy is stored for # display inside the presentation. Pictures must be less than 50MB in size, - # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF # format. # The provided URL can be at most 2 kB in length. # Corresponds to the JSON property `contentUrl` diff --git a/generated/google/apis/slides_v1/service.rb b/generated/google/apis/slides_v1/service.rb index 97d8d5305..c1443ae6d 100644 --- a/generated/google/apis/slides_v1/service.rb +++ b/generated/google/apis/slides_v1/service.rb @@ -96,8 +96,9 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new presentation using the title given in the request. Other - # fields in the request are ignored. + # Creates a new presentation using the title given in the request. If a + # presentationId is provided, uses it as the ID of the new presentation. + # Otherwise, a new presentationId is generated. # Returns the created presentation. # @param [Google::Apis::SlidesV1::Presentation] presentation_object # @param [String] fields