Autogenerated update (2017-11-16)
Update: - cloudbuild_v1 - cloudkms_v1 - compute_alpha - compute_beta - compute_v1 - container_v1 - container_v1beta1 - dlp_v2beta1 - monitoring_v3
This commit is contained in:
parent
35a23f126c
commit
de77a320ee
|
@ -12138,7 +12138,9 @@
|
|||
"/cloudbuild:v1/BuildOperationMetadata": build_operation_metadata
|
||||
"/cloudbuild:v1/BuildOperationMetadata/build": build
|
||||
"/cloudbuild:v1/BuildOptions": build_options
|
||||
"/cloudbuild:v1/BuildOptions/diskSizeGb": disk_size_gb
|
||||
"/cloudbuild:v1/BuildOptions/logStreamingOption": log_streaming_option
|
||||
"/cloudbuild:v1/BuildOptions/machineType": machine_type
|
||||
"/cloudbuild:v1/BuildOptions/requestedVerifyOption": requested_verify_option
|
||||
"/cloudbuild:v1/BuildOptions/sourceProvenanceHash": source_provenance_hash
|
||||
"/cloudbuild:v1/BuildOptions/sourceProvenanceHash/source_provenance_hash": source_provenance_hash
|
||||
|
@ -50969,6 +50971,12 @@
|
|||
"/monitoring:v3/HttpCheck/path": path
|
||||
"/monitoring:v3/HttpCheck/port": port
|
||||
"/monitoring:v3/HttpCheck/useSsl": use_ssl
|
||||
"/monitoring:v3/InternalChecker": internal_checker
|
||||
"/monitoring:v3/InternalChecker/checkerId": checker_id
|
||||
"/monitoring:v3/InternalChecker/displayName": display_name
|
||||
"/monitoring:v3/InternalChecker/gcpZone": gcp_zone
|
||||
"/monitoring:v3/InternalChecker/network": network
|
||||
"/monitoring:v3/InternalChecker/projectId": project_id
|
||||
"/monitoring:v3/LabelDescriptor": label_descriptor
|
||||
"/monitoring:v3/LabelDescriptor/description": description
|
||||
"/monitoring:v3/LabelDescriptor/key": key
|
||||
|
@ -51085,6 +51093,8 @@
|
|||
"/monitoring:v3/UptimeCheckConfig/contentMatchers/content_matcher": content_matcher
|
||||
"/monitoring:v3/UptimeCheckConfig/displayName": display_name
|
||||
"/monitoring:v3/UptimeCheckConfig/httpCheck": http_check
|
||||
"/monitoring:v3/UptimeCheckConfig/internalCheckers": internal_checkers
|
||||
"/monitoring:v3/UptimeCheckConfig/internalCheckers/internal_checker": internal_checker
|
||||
"/monitoring:v3/UptimeCheckConfig/monitoredResource": monitored_resource
|
||||
"/monitoring:v3/UptimeCheckConfig/name": name
|
||||
"/monitoring:v3/UptimeCheckConfig/period": period
|
||||
|
@ -55693,6 +55703,438 @@
|
|||
"/searchconsole:v1/key": key
|
||||
"/searchconsole:v1/quotaUser": quota_user
|
||||
"/searchconsole:v1/searchconsole.urlTestingTools.mobileFriendlyTest.run": run_mobile_friendly_test
|
||||
"/serviceconsumermanagement:v1/AddTenantProjectRequest": add_tenant_project_request
|
||||
"/serviceconsumermanagement:v1/AddTenantProjectRequest/projectConfig": project_config
|
||||
"/serviceconsumermanagement:v1/AddTenantProjectRequest/tag": tag
|
||||
"/serviceconsumermanagement:v1/Api": api
|
||||
"/serviceconsumermanagement:v1/Api/methods": methods_prop
|
||||
"/serviceconsumermanagement:v1/Api/methods/methods_prop": methods_prop
|
||||
"/serviceconsumermanagement:v1/Api/mixins": mixins
|
||||
"/serviceconsumermanagement:v1/Api/mixins/mixin": mixin
|
||||
"/serviceconsumermanagement:v1/Api/name": name
|
||||
"/serviceconsumermanagement:v1/Api/options": options
|
||||
"/serviceconsumermanagement:v1/Api/options/option": option
|
||||
"/serviceconsumermanagement:v1/Api/sourceContext": source_context
|
||||
"/serviceconsumermanagement:v1/Api/syntax": syntax
|
||||
"/serviceconsumermanagement:v1/Api/version": version
|
||||
"/serviceconsumermanagement:v1/AuthProvider": auth_provider
|
||||
"/serviceconsumermanagement:v1/AuthProvider/audiences": audiences
|
||||
"/serviceconsumermanagement:v1/AuthProvider/authorizationUrl": authorization_url
|
||||
"/serviceconsumermanagement:v1/AuthProvider/id": id
|
||||
"/serviceconsumermanagement:v1/AuthProvider/issuer": issuer
|
||||
"/serviceconsumermanagement:v1/AuthProvider/jwksUri": jwks_uri
|
||||
"/serviceconsumermanagement:v1/AuthRequirement": auth_requirement
|
||||
"/serviceconsumermanagement:v1/AuthRequirement/audiences": audiences
|
||||
"/serviceconsumermanagement:v1/AuthRequirement/providerId": provider_id
|
||||
"/serviceconsumermanagement:v1/Authentication": authentication
|
||||
"/serviceconsumermanagement:v1/Authentication/providers": providers
|
||||
"/serviceconsumermanagement:v1/Authentication/providers/provider": provider
|
||||
"/serviceconsumermanagement:v1/Authentication/rules": rules
|
||||
"/serviceconsumermanagement:v1/Authentication/rules/rule": rule
|
||||
"/serviceconsumermanagement:v1/AuthenticationRule": authentication_rule
|
||||
"/serviceconsumermanagement:v1/AuthenticationRule/allowWithoutCredential": allow_without_credential
|
||||
"/serviceconsumermanagement:v1/AuthenticationRule/customAuth": custom_auth
|
||||
"/serviceconsumermanagement:v1/AuthenticationRule/oauth": oauth
|
||||
"/serviceconsumermanagement:v1/AuthenticationRule/requirements": requirements
|
||||
"/serviceconsumermanagement:v1/AuthenticationRule/requirements/requirement": requirement
|
||||
"/serviceconsumermanagement:v1/AuthenticationRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/AuthorizationConfig": authorization_config
|
||||
"/serviceconsumermanagement:v1/AuthorizationConfig/provider": provider
|
||||
"/serviceconsumermanagement:v1/AuthorizationRule": authorization_rule
|
||||
"/serviceconsumermanagement:v1/AuthorizationRule/permissions": permissions
|
||||
"/serviceconsumermanagement:v1/AuthorizationRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/Backend": backend
|
||||
"/serviceconsumermanagement:v1/Backend/rules": rules
|
||||
"/serviceconsumermanagement:v1/Backend/rules/rule": rule
|
||||
"/serviceconsumermanagement:v1/BackendRule": backend_rule
|
||||
"/serviceconsumermanagement:v1/BackendRule/address": address
|
||||
"/serviceconsumermanagement:v1/BackendRule/deadline": deadline
|
||||
"/serviceconsumermanagement:v1/BackendRule/minDeadline": min_deadline
|
||||
"/serviceconsumermanagement:v1/BackendRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/Billing": billing
|
||||
"/serviceconsumermanagement:v1/Billing/consumerDestinations": consumer_destinations
|
||||
"/serviceconsumermanagement:v1/Billing/consumerDestinations/consumer_destination": consumer_destination
|
||||
"/serviceconsumermanagement:v1/BillingConfig": billing_config
|
||||
"/serviceconsumermanagement:v1/BillingConfig/billingAccount": billing_account
|
||||
"/serviceconsumermanagement:v1/BillingDestination": billing_destination
|
||||
"/serviceconsumermanagement:v1/BillingDestination/metrics": metrics
|
||||
"/serviceconsumermanagement:v1/BillingDestination/metrics/metric": metric
|
||||
"/serviceconsumermanagement:v1/BillingDestination/monitoredResource": monitored_resource
|
||||
"/serviceconsumermanagement:v1/CancelOperationRequest": cancel_operation_request
|
||||
"/serviceconsumermanagement:v1/Context": context
|
||||
"/serviceconsumermanagement:v1/Context/rules": rules
|
||||
"/serviceconsumermanagement:v1/Context/rules/rule": rule
|
||||
"/serviceconsumermanagement:v1/ContextRule": context_rule
|
||||
"/serviceconsumermanagement:v1/ContextRule/provided": provided
|
||||
"/serviceconsumermanagement:v1/ContextRule/provided/provided": provided
|
||||
"/serviceconsumermanagement:v1/ContextRule/requested": requested
|
||||
"/serviceconsumermanagement:v1/ContextRule/requested/requested": requested
|
||||
"/serviceconsumermanagement:v1/ContextRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/Control": control
|
||||
"/serviceconsumermanagement:v1/Control/environment": environment
|
||||
"/serviceconsumermanagement:v1/CreateTenancyUnitRequest": create_tenancy_unit_request
|
||||
"/serviceconsumermanagement:v1/CreateTenancyUnitRequest/tenancyUnitId": tenancy_unit_id
|
||||
"/serviceconsumermanagement:v1/CustomAuthRequirements": custom_auth_requirements
|
||||
"/serviceconsumermanagement:v1/CustomAuthRequirements/provider": provider
|
||||
"/serviceconsumermanagement:v1/CustomError": custom_error
|
||||
"/serviceconsumermanagement:v1/CustomError/rules": rules
|
||||
"/serviceconsumermanagement:v1/CustomError/rules/rule": rule
|
||||
"/serviceconsumermanagement:v1/CustomError/types": types
|
||||
"/serviceconsumermanagement:v1/CustomError/types/type": type
|
||||
"/serviceconsumermanagement:v1/CustomErrorRule": custom_error_rule
|
||||
"/serviceconsumermanagement:v1/CustomErrorRule/isErrorType": is_error_type
|
||||
"/serviceconsumermanagement:v1/CustomErrorRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/CustomHttpPattern": custom_http_pattern
|
||||
"/serviceconsumermanagement:v1/CustomHttpPattern/kind": kind
|
||||
"/serviceconsumermanagement:v1/CustomHttpPattern/path": path
|
||||
"/serviceconsumermanagement:v1/Documentation": documentation
|
||||
"/serviceconsumermanagement:v1/Documentation/documentationRootUrl": documentation_root_url
|
||||
"/serviceconsumermanagement:v1/Documentation/overview": overview
|
||||
"/serviceconsumermanagement:v1/Documentation/pages": pages
|
||||
"/serviceconsumermanagement:v1/Documentation/pages/page": page
|
||||
"/serviceconsumermanagement:v1/Documentation/rules": rules
|
||||
"/serviceconsumermanagement:v1/Documentation/rules/rule": rule
|
||||
"/serviceconsumermanagement:v1/Documentation/summary": summary
|
||||
"/serviceconsumermanagement:v1/DocumentationRule": documentation_rule
|
||||
"/serviceconsumermanagement:v1/DocumentationRule/deprecationDescription": deprecation_description
|
||||
"/serviceconsumermanagement:v1/DocumentationRule/description": description
|
||||
"/serviceconsumermanagement:v1/DocumentationRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/Empty": empty
|
||||
"/serviceconsumermanagement:v1/Endpoint": endpoint
|
||||
"/serviceconsumermanagement:v1/Endpoint/aliases": aliases
|
||||
"/serviceconsumermanagement:v1/Endpoint/aliases/alias": alias
|
||||
"/serviceconsumermanagement:v1/Endpoint/allowCors": allow_cors
|
||||
"/serviceconsumermanagement:v1/Endpoint/features": features
|
||||
"/serviceconsumermanagement:v1/Endpoint/features/feature": feature
|
||||
"/serviceconsumermanagement:v1/Endpoint/name": name
|
||||
"/serviceconsumermanagement:v1/Endpoint/target": target
|
||||
"/serviceconsumermanagement:v1/Enum": enum
|
||||
"/serviceconsumermanagement:v1/Enum/enumvalue": enumvalue
|
||||
"/serviceconsumermanagement:v1/Enum/enumvalue/enumvalue": enumvalue
|
||||
"/serviceconsumermanagement:v1/Enum/name": name
|
||||
"/serviceconsumermanagement:v1/Enum/options": options
|
||||
"/serviceconsumermanagement:v1/Enum/options/option": option
|
||||
"/serviceconsumermanagement:v1/Enum/sourceContext": source_context
|
||||
"/serviceconsumermanagement:v1/Enum/syntax": syntax
|
||||
"/serviceconsumermanagement:v1/EnumValue": enum_value
|
||||
"/serviceconsumermanagement:v1/EnumValue/name": name
|
||||
"/serviceconsumermanagement:v1/EnumValue/number": number
|
||||
"/serviceconsumermanagement:v1/EnumValue/options": options
|
||||
"/serviceconsumermanagement:v1/EnumValue/options/option": option
|
||||
"/serviceconsumermanagement:v1/Experimental": experimental
|
||||
"/serviceconsumermanagement:v1/Experimental/authorization": authorization
|
||||
"/serviceconsumermanagement:v1/Field": field
|
||||
"/serviceconsumermanagement:v1/Field/cardinality": cardinality
|
||||
"/serviceconsumermanagement:v1/Field/defaultValue": default_value
|
||||
"/serviceconsumermanagement:v1/Field/jsonName": json_name
|
||||
"/serviceconsumermanagement:v1/Field/kind": kind
|
||||
"/serviceconsumermanagement:v1/Field/name": name
|
||||
"/serviceconsumermanagement:v1/Field/number": number
|
||||
"/serviceconsumermanagement:v1/Field/oneofIndex": oneof_index
|
||||
"/serviceconsumermanagement:v1/Field/options": options
|
||||
"/serviceconsumermanagement:v1/Field/options/option": option
|
||||
"/serviceconsumermanagement:v1/Field/packed": packed
|
||||
"/serviceconsumermanagement:v1/Field/typeUrl": type_url
|
||||
"/serviceconsumermanagement:v1/Http": http
|
||||
"/serviceconsumermanagement:v1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion
|
||||
"/serviceconsumermanagement:v1/Http/rules": rules
|
||||
"/serviceconsumermanagement:v1/Http/rules/rule": rule
|
||||
"/serviceconsumermanagement:v1/HttpRule": http_rule
|
||||
"/serviceconsumermanagement:v1/HttpRule/additionalBindings": additional_bindings
|
||||
"/serviceconsumermanagement:v1/HttpRule/additionalBindings/additional_binding": additional_binding
|
||||
"/serviceconsumermanagement:v1/HttpRule/authorizations": authorizations
|
||||
"/serviceconsumermanagement:v1/HttpRule/authorizations/authorization": authorization
|
||||
"/serviceconsumermanagement:v1/HttpRule/body": body
|
||||
"/serviceconsumermanagement:v1/HttpRule/custom": custom
|
||||
"/serviceconsumermanagement:v1/HttpRule/delete": delete
|
||||
"/serviceconsumermanagement:v1/HttpRule/get": get
|
||||
"/serviceconsumermanagement:v1/HttpRule/mediaDownload": media_download
|
||||
"/serviceconsumermanagement:v1/HttpRule/mediaUpload": media_upload
|
||||
"/serviceconsumermanagement:v1/HttpRule/patch": patch
|
||||
"/serviceconsumermanagement:v1/HttpRule/post": post
|
||||
"/serviceconsumermanagement:v1/HttpRule/put": put
|
||||
"/serviceconsumermanagement:v1/HttpRule/responseBody": response_body
|
||||
"/serviceconsumermanagement:v1/HttpRule/restCollection": rest_collection
|
||||
"/serviceconsumermanagement:v1/HttpRule/restMethodName": rest_method_name
|
||||
"/serviceconsumermanagement:v1/HttpRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/LabelDescriptor": label_descriptor
|
||||
"/serviceconsumermanagement:v1/LabelDescriptor/description": description
|
||||
"/serviceconsumermanagement:v1/LabelDescriptor/key": key
|
||||
"/serviceconsumermanagement:v1/LabelDescriptor/valueType": value_type
|
||||
"/serviceconsumermanagement:v1/ListOperationsResponse": list_operations_response
|
||||
"/serviceconsumermanagement:v1/ListOperationsResponse/nextPageToken": next_page_token
|
||||
"/serviceconsumermanagement:v1/ListOperationsResponse/operations": operations
|
||||
"/serviceconsumermanagement:v1/ListOperationsResponse/operations/operation": operation
|
||||
"/serviceconsumermanagement:v1/ListTenancyUnitsResponse": list_tenancy_units_response
|
||||
"/serviceconsumermanagement:v1/ListTenancyUnitsResponse/nextPageToken": next_page_token
|
||||
"/serviceconsumermanagement:v1/ListTenancyUnitsResponse/tenancyUnits": tenancy_units
|
||||
"/serviceconsumermanagement:v1/ListTenancyUnitsResponse/tenancyUnits/tenancy_unit": tenancy_unit
|
||||
"/serviceconsumermanagement:v1/LogDescriptor": log_descriptor
|
||||
"/serviceconsumermanagement:v1/LogDescriptor/description": description
|
||||
"/serviceconsumermanagement:v1/LogDescriptor/displayName": display_name
|
||||
"/serviceconsumermanagement:v1/LogDescriptor/labels": labels
|
||||
"/serviceconsumermanagement:v1/LogDescriptor/labels/label": label
|
||||
"/serviceconsumermanagement:v1/LogDescriptor/name": name
|
||||
"/serviceconsumermanagement:v1/Logging": logging
|
||||
"/serviceconsumermanagement:v1/Logging/consumerDestinations": consumer_destinations
|
||||
"/serviceconsumermanagement:v1/Logging/consumerDestinations/consumer_destination": consumer_destination
|
||||
"/serviceconsumermanagement:v1/Logging/producerDestinations": producer_destinations
|
||||
"/serviceconsumermanagement:v1/Logging/producerDestinations/producer_destination": producer_destination
|
||||
"/serviceconsumermanagement:v1/LoggingDestination": logging_destination
|
||||
"/serviceconsumermanagement:v1/LoggingDestination/logs": logs
|
||||
"/serviceconsumermanagement:v1/LoggingDestination/logs/log": log
|
||||
"/serviceconsumermanagement:v1/LoggingDestination/monitoredResource": monitored_resource
|
||||
"/serviceconsumermanagement:v1/MediaDownload": media_download
|
||||
"/serviceconsumermanagement:v1/MediaDownload/completeNotification": complete_notification
|
||||
"/serviceconsumermanagement:v1/MediaDownload/downloadService": download_service
|
||||
"/serviceconsumermanagement:v1/MediaDownload/dropzone": dropzone
|
||||
"/serviceconsumermanagement:v1/MediaDownload/enabled": enabled
|
||||
"/serviceconsumermanagement:v1/MediaDownload/maxDirectDownloadSize": max_direct_download_size
|
||||
"/serviceconsumermanagement:v1/MediaDownload/useDirectDownload": use_direct_download
|
||||
"/serviceconsumermanagement:v1/MediaUpload": media_upload
|
||||
"/serviceconsumermanagement:v1/MediaUpload/completeNotification": complete_notification
|
||||
"/serviceconsumermanagement:v1/MediaUpload/dropzone": dropzone
|
||||
"/serviceconsumermanagement:v1/MediaUpload/enabled": enabled
|
||||
"/serviceconsumermanagement:v1/MediaUpload/maxSize": max_size
|
||||
"/serviceconsumermanagement:v1/MediaUpload/mimeTypes": mime_types
|
||||
"/serviceconsumermanagement:v1/MediaUpload/mimeTypes/mime_type": mime_type
|
||||
"/serviceconsumermanagement:v1/MediaUpload/progressNotification": progress_notification
|
||||
"/serviceconsumermanagement:v1/MediaUpload/startNotification": start_notification
|
||||
"/serviceconsumermanagement:v1/MediaUpload/uploadService": upload_service
|
||||
"/serviceconsumermanagement:v1/Method": method_prop
|
||||
"/serviceconsumermanagement:v1/Method/name": name
|
||||
"/serviceconsumermanagement:v1/Method/options": options
|
||||
"/serviceconsumermanagement:v1/Method/options/option": option
|
||||
"/serviceconsumermanagement:v1/Method/requestStreaming": request_streaming
|
||||
"/serviceconsumermanagement:v1/Method/requestTypeUrl": request_type_url
|
||||
"/serviceconsumermanagement:v1/Method/responseStreaming": response_streaming
|
||||
"/serviceconsumermanagement:v1/Method/responseTypeUrl": response_type_url
|
||||
"/serviceconsumermanagement:v1/Method/syntax": syntax
|
||||
"/serviceconsumermanagement:v1/MetricDescriptor": metric_descriptor
|
||||
"/serviceconsumermanagement:v1/MetricDescriptor/description": description
|
||||
"/serviceconsumermanagement:v1/MetricDescriptor/displayName": display_name
|
||||
"/serviceconsumermanagement:v1/MetricDescriptor/labels": labels
|
||||
"/serviceconsumermanagement:v1/MetricDescriptor/labels/label": label
|
||||
"/serviceconsumermanagement:v1/MetricDescriptor/metricKind": metric_kind
|
||||
"/serviceconsumermanagement:v1/MetricDescriptor/name": name
|
||||
"/serviceconsumermanagement:v1/MetricDescriptor/type": type
|
||||
"/serviceconsumermanagement:v1/MetricDescriptor/unit": unit
|
||||
"/serviceconsumermanagement:v1/MetricDescriptor/valueType": value_type
|
||||
"/serviceconsumermanagement:v1/MetricRule": metric_rule
|
||||
"/serviceconsumermanagement:v1/MetricRule/metricCosts": metric_costs
|
||||
"/serviceconsumermanagement:v1/MetricRule/metricCosts/metric_cost": metric_cost
|
||||
"/serviceconsumermanagement:v1/MetricRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/Mixin": mixin
|
||||
"/serviceconsumermanagement:v1/Mixin/name": name
|
||||
"/serviceconsumermanagement:v1/Mixin/root": root
|
||||
"/serviceconsumermanagement:v1/MonitoredResourceDescriptor": monitored_resource_descriptor
|
||||
"/serviceconsumermanagement:v1/MonitoredResourceDescriptor/description": description
|
||||
"/serviceconsumermanagement:v1/MonitoredResourceDescriptor/displayName": display_name
|
||||
"/serviceconsumermanagement:v1/MonitoredResourceDescriptor/labels": labels
|
||||
"/serviceconsumermanagement:v1/MonitoredResourceDescriptor/labels/label": label
|
||||
"/serviceconsumermanagement:v1/MonitoredResourceDescriptor/name": name
|
||||
"/serviceconsumermanagement:v1/MonitoredResourceDescriptor/type": type
|
||||
"/serviceconsumermanagement:v1/Monitoring": monitoring
|
||||
"/serviceconsumermanagement:v1/Monitoring/consumerDestinations": consumer_destinations
|
||||
"/serviceconsumermanagement:v1/Monitoring/consumerDestinations/consumer_destination": consumer_destination
|
||||
"/serviceconsumermanagement:v1/Monitoring/producerDestinations": producer_destinations
|
||||
"/serviceconsumermanagement:v1/Monitoring/producerDestinations/producer_destination": producer_destination
|
||||
"/serviceconsumermanagement:v1/MonitoringDestination": monitoring_destination
|
||||
"/serviceconsumermanagement:v1/MonitoringDestination/metrics": metrics
|
||||
"/serviceconsumermanagement:v1/MonitoringDestination/metrics/metric": metric
|
||||
"/serviceconsumermanagement:v1/MonitoringDestination/monitoredResource": monitored_resource
|
||||
"/serviceconsumermanagement:v1/OAuthRequirements": o_auth_requirements
|
||||
"/serviceconsumermanagement:v1/OAuthRequirements/canonicalScopes": canonical_scopes
|
||||
"/serviceconsumermanagement:v1/Operation": operation
|
||||
"/serviceconsumermanagement:v1/Operation/done": done
|
||||
"/serviceconsumermanagement:v1/Operation/error": error
|
||||
"/serviceconsumermanagement:v1/Operation/metadata": metadata
|
||||
"/serviceconsumermanagement:v1/Operation/metadata/metadatum": metadatum
|
||||
"/serviceconsumermanagement:v1/Operation/name": name
|
||||
"/serviceconsumermanagement:v1/Operation/response": response
|
||||
"/serviceconsumermanagement:v1/Operation/response/response": response
|
||||
"/serviceconsumermanagement:v1/Option": option
|
||||
"/serviceconsumermanagement:v1/Option/name": name
|
||||
"/serviceconsumermanagement:v1/Option/value": value
|
||||
"/serviceconsumermanagement:v1/Option/value/value": value
|
||||
"/serviceconsumermanagement:v1/Page": page
|
||||
"/serviceconsumermanagement:v1/Page/content": content
|
||||
"/serviceconsumermanagement:v1/Page/name": name
|
||||
"/serviceconsumermanagement:v1/Page/subpages": subpages
|
||||
"/serviceconsumermanagement:v1/Page/subpages/subpage": subpage
|
||||
"/serviceconsumermanagement:v1/PolicyBinding": policy_binding
|
||||
"/serviceconsumermanagement:v1/PolicyBinding/members": members
|
||||
"/serviceconsumermanagement:v1/PolicyBinding/members/member": member
|
||||
"/serviceconsumermanagement:v1/PolicyBinding/role": role
|
||||
"/serviceconsumermanagement:v1/Quota": quota
|
||||
"/serviceconsumermanagement:v1/Quota/limits": limits
|
||||
"/serviceconsumermanagement:v1/Quota/limits/limit": limit
|
||||
"/serviceconsumermanagement:v1/Quota/metricRules": metric_rules
|
||||
"/serviceconsumermanagement:v1/Quota/metricRules/metric_rule": metric_rule
|
||||
"/serviceconsumermanagement:v1/QuotaLimit": quota_limit
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/defaultLimit": default_limit
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/description": description
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/displayName": display_name
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/duration": duration
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/freeTier": free_tier
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/maxLimit": max_limit
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/metric": metric
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/name": name
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/unit": unit
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/values": values
|
||||
"/serviceconsumermanagement:v1/QuotaLimit/values/value": value
|
||||
"/serviceconsumermanagement:v1/RemoveTenantProjectRequest": remove_tenant_project_request
|
||||
"/serviceconsumermanagement:v1/RemoveTenantProjectRequest/tag": tag
|
||||
"/serviceconsumermanagement:v1/SearchTenancyUnitsResponse": search_tenancy_units_response
|
||||
"/serviceconsumermanagement:v1/SearchTenancyUnitsResponse/nextPageToken": next_page_token
|
||||
"/serviceconsumermanagement:v1/SearchTenancyUnitsResponse/tenancyUnits": tenancy_units
|
||||
"/serviceconsumermanagement:v1/SearchTenancyUnitsResponse/tenancyUnits/tenancy_unit": tenancy_unit
|
||||
"/serviceconsumermanagement:v1/Service": service
|
||||
"/serviceconsumermanagement:v1/Service/apis": apis
|
||||
"/serviceconsumermanagement:v1/Service/apis/api": api
|
||||
"/serviceconsumermanagement:v1/Service/authentication": authentication
|
||||
"/serviceconsumermanagement:v1/Service/backend": backend
|
||||
"/serviceconsumermanagement:v1/Service/billing": billing
|
||||
"/serviceconsumermanagement:v1/Service/configVersion": config_version
|
||||
"/serviceconsumermanagement:v1/Service/context": context
|
||||
"/serviceconsumermanagement:v1/Service/control": control
|
||||
"/serviceconsumermanagement:v1/Service/customError": custom_error
|
||||
"/serviceconsumermanagement:v1/Service/documentation": documentation
|
||||
"/serviceconsumermanagement:v1/Service/endpoints": endpoints
|
||||
"/serviceconsumermanagement:v1/Service/endpoints/endpoint": endpoint
|
||||
"/serviceconsumermanagement:v1/Service/enums": enums
|
||||
"/serviceconsumermanagement:v1/Service/enums/enum": enum
|
||||
"/serviceconsumermanagement:v1/Service/experimental": experimental
|
||||
"/serviceconsumermanagement:v1/Service/http": http
|
||||
"/serviceconsumermanagement:v1/Service/id": id
|
||||
"/serviceconsumermanagement:v1/Service/logging": logging
|
||||
"/serviceconsumermanagement:v1/Service/logs": logs
|
||||
"/serviceconsumermanagement:v1/Service/logs/log": log
|
||||
"/serviceconsumermanagement:v1/Service/metrics": metrics
|
||||
"/serviceconsumermanagement:v1/Service/metrics/metric": metric
|
||||
"/serviceconsumermanagement:v1/Service/monitoredResources": monitored_resources
|
||||
"/serviceconsumermanagement:v1/Service/monitoredResources/monitored_resource": monitored_resource
|
||||
"/serviceconsumermanagement:v1/Service/monitoring": monitoring
|
||||
"/serviceconsumermanagement:v1/Service/name": name
|
||||
"/serviceconsumermanagement:v1/Service/producerProjectId": producer_project_id
|
||||
"/serviceconsumermanagement:v1/Service/quota": quota
|
||||
"/serviceconsumermanagement:v1/Service/sourceInfo": source_info
|
||||
"/serviceconsumermanagement:v1/Service/systemParameters": system_parameters
|
||||
"/serviceconsumermanagement:v1/Service/systemTypes": system_types
|
||||
"/serviceconsumermanagement:v1/Service/systemTypes/system_type": system_type
|
||||
"/serviceconsumermanagement:v1/Service/title": title
|
||||
"/serviceconsumermanagement:v1/Service/types": types
|
||||
"/serviceconsumermanagement:v1/Service/types/type": type
|
||||
"/serviceconsumermanagement:v1/Service/usage": usage
|
||||
"/serviceconsumermanagement:v1/Service/visibility": visibility
|
||||
"/serviceconsumermanagement:v1/ServiceAccountConfig": service_account_config
|
||||
"/serviceconsumermanagement:v1/ServiceAccountConfig/accountId": account_id
|
||||
"/serviceconsumermanagement:v1/ServiceAccountConfig/tenantProjectRoles": tenant_project_roles
|
||||
"/serviceconsumermanagement:v1/ServiceAccountConfig/tenantProjectRoles/tenant_project_role": tenant_project_role
|
||||
"/serviceconsumermanagement:v1/SourceContext": source_context
|
||||
"/serviceconsumermanagement:v1/SourceContext/fileName": file_name
|
||||
"/serviceconsumermanagement:v1/SourceInfo": source_info
|
||||
"/serviceconsumermanagement:v1/SourceInfo/sourceFiles": source_files
|
||||
"/serviceconsumermanagement:v1/SourceInfo/sourceFiles/source_file": source_file
|
||||
"/serviceconsumermanagement:v1/SourceInfo/sourceFiles/source_file/source_file": source_file
|
||||
"/serviceconsumermanagement:v1/Status": status
|
||||
"/serviceconsumermanagement:v1/Status/code": code
|
||||
"/serviceconsumermanagement:v1/Status/details": details
|
||||
"/serviceconsumermanagement:v1/Status/details/detail": detail
|
||||
"/serviceconsumermanagement:v1/Status/details/detail/detail": detail
|
||||
"/serviceconsumermanagement:v1/Status/message": message
|
||||
"/serviceconsumermanagement:v1/SystemParameter": system_parameter
|
||||
"/serviceconsumermanagement:v1/SystemParameter/httpHeader": http_header
|
||||
"/serviceconsumermanagement:v1/SystemParameter/name": name
|
||||
"/serviceconsumermanagement:v1/SystemParameter/urlQueryParameter": url_query_parameter
|
||||
"/serviceconsumermanagement:v1/SystemParameterRule": system_parameter_rule
|
||||
"/serviceconsumermanagement:v1/SystemParameterRule/parameters": parameters
|
||||
"/serviceconsumermanagement:v1/SystemParameterRule/parameters/parameter": parameter
|
||||
"/serviceconsumermanagement:v1/SystemParameterRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/SystemParameters": system_parameters
|
||||
"/serviceconsumermanagement:v1/SystemParameters/rules": rules
|
||||
"/serviceconsumermanagement:v1/SystemParameters/rules/rule": rule
|
||||
"/serviceconsumermanagement:v1/TenancyUnit": tenancy_unit
|
||||
"/serviceconsumermanagement:v1/TenancyUnit/consumer": consumer
|
||||
"/serviceconsumermanagement:v1/TenancyUnit/createTime": create_time
|
||||
"/serviceconsumermanagement:v1/TenancyUnit/name": name
|
||||
"/serviceconsumermanagement:v1/TenancyUnit/service": service
|
||||
"/serviceconsumermanagement:v1/TenancyUnit/tenantResources": tenant_resources
|
||||
"/serviceconsumermanagement:v1/TenancyUnit/tenantResources/tenant_resource": tenant_resource
|
||||
"/serviceconsumermanagement:v1/TenantProjectConfig": tenant_project_config
|
||||
"/serviceconsumermanagement:v1/TenantProjectConfig/billingConfig": billing_config
|
||||
"/serviceconsumermanagement:v1/TenantProjectConfig/folder": folder
|
||||
"/serviceconsumermanagement:v1/TenantProjectConfig/labels": labels
|
||||
"/serviceconsumermanagement:v1/TenantProjectConfig/labels/label": label
|
||||
"/serviceconsumermanagement:v1/TenantProjectConfig/serviceAccountConfig": service_account_config
|
||||
"/serviceconsumermanagement:v1/TenantProjectConfig/services": services
|
||||
"/serviceconsumermanagement:v1/TenantProjectConfig/services/service": service
|
||||
"/serviceconsumermanagement:v1/TenantProjectConfig/tenantProjectPolicy": tenant_project_policy
|
||||
"/serviceconsumermanagement:v1/TenantProjectPolicy": tenant_project_policy
|
||||
"/serviceconsumermanagement:v1/TenantProjectPolicy/policyBindings": policy_bindings
|
||||
"/serviceconsumermanagement:v1/TenantProjectPolicy/policyBindings/policy_binding": policy_binding
|
||||
"/serviceconsumermanagement:v1/TenantResource": tenant_resource
|
||||
"/serviceconsumermanagement:v1/TenantResource/resource": resource
|
||||
"/serviceconsumermanagement:v1/TenantResource/status": status
|
||||
"/serviceconsumermanagement:v1/TenantResource/tag": tag
|
||||
"/serviceconsumermanagement:v1/Type": type
|
||||
"/serviceconsumermanagement:v1/Type/fields": fields
|
||||
"/serviceconsumermanagement:v1/Type/fields/field": field
|
||||
"/serviceconsumermanagement:v1/Type/name": name
|
||||
"/serviceconsumermanagement:v1/Type/oneofs": oneofs
|
||||
"/serviceconsumermanagement:v1/Type/oneofs/oneof": oneof
|
||||
"/serviceconsumermanagement:v1/Type/options": options
|
||||
"/serviceconsumermanagement:v1/Type/options/option": option
|
||||
"/serviceconsumermanagement:v1/Type/sourceContext": source_context
|
||||
"/serviceconsumermanagement:v1/Type/syntax": syntax
|
||||
"/serviceconsumermanagement:v1/Usage": usage
|
||||
"/serviceconsumermanagement:v1/Usage/producerNotificationChannel": producer_notification_channel
|
||||
"/serviceconsumermanagement:v1/Usage/requirements": requirements
|
||||
"/serviceconsumermanagement:v1/Usage/requirements/requirement": requirement
|
||||
"/serviceconsumermanagement:v1/Usage/rules": rules
|
||||
"/serviceconsumermanagement:v1/Usage/rules/rule": rule
|
||||
"/serviceconsumermanagement:v1/UsageRule": usage_rule
|
||||
"/serviceconsumermanagement:v1/UsageRule/allowUnregisteredCalls": allow_unregistered_calls
|
||||
"/serviceconsumermanagement:v1/UsageRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/UsageRule/skipServiceControl": skip_service_control
|
||||
"/serviceconsumermanagement:v1/Visibility": visibility
|
||||
"/serviceconsumermanagement:v1/Visibility/rules": rules
|
||||
"/serviceconsumermanagement:v1/Visibility/rules/rule": rule
|
||||
"/serviceconsumermanagement:v1/VisibilityRule": visibility_rule
|
||||
"/serviceconsumermanagement:v1/VisibilityRule/restriction": restriction
|
||||
"/serviceconsumermanagement:v1/VisibilityRule/selector": selector
|
||||
"/serviceconsumermanagement:v1/fields": fields
|
||||
"/serviceconsumermanagement:v1/key": key
|
||||
"/serviceconsumermanagement:v1/quotaUser": quota_user
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.cancel": cancel_operation
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.cancel/name": name
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.delete": delete_operation
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.delete/name": name
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.get": get_operation
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.get/name": name
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.list": list_operations
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.list/filter": filter
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.list/name": name
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.list/pageSize": page_size
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.list/pageToken": page_token
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.search": search_services
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.search/pageSize": page_size
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.search/pageToken": page_token
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.search/parent": parent
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.search/query": query
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.addProject": add_service_tenancy_unit_project
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.addProject/parent": parent
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.create": create_tenancy_unit
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.create/parent": parent
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.delete": delete_service_tenancy_unit
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.delete/name": name
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list": list_service_tenancy_units
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list/filter": filter
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list/pageSize": page_size
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list/pageToken": page_token
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.list/parent": parent
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.removeProject": remove_service_tenancy_unit_project
|
||||
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.tenancyUnits.removeProject/name": name
|
||||
"/servicecontrol:v1/AllocateInfo": allocate_info
|
||||
"/servicecontrol:v1/AllocateInfo/unusedArguments": unused_arguments
|
||||
"/servicecontrol:v1/AllocateInfo/unusedArguments/unused_argument": unused_argument
|
||||
|
@ -63503,6 +63945,103 @@
|
|||
"/toolresults:v1beta3firstparty/toolresults.projects.initializeSettings": initialize_project_settings
|
||||
"/toolresults:v1beta3firstparty/toolresults.projects.initializeSettings/projectId": project_id
|
||||
"/toolresults:v1beta3firstparty/userIp": user_ip
|
||||
"/tpu:v1alpha1/Empty": empty
|
||||
"/tpu:v1alpha1/ListLocationsResponse": list_locations_response
|
||||
"/tpu:v1alpha1/ListLocationsResponse/locations": locations
|
||||
"/tpu:v1alpha1/ListLocationsResponse/locations/location": location
|
||||
"/tpu:v1alpha1/ListLocationsResponse/nextPageToken": next_page_token
|
||||
"/tpu:v1alpha1/ListNodesResponse": list_nodes_response
|
||||
"/tpu:v1alpha1/ListNodesResponse/nextPageToken": next_page_token
|
||||
"/tpu:v1alpha1/ListNodesResponse/nodes": nodes
|
||||
"/tpu:v1alpha1/ListNodesResponse/nodes/node": node
|
||||
"/tpu:v1alpha1/ListOperationsResponse": list_operations_response
|
||||
"/tpu:v1alpha1/ListOperationsResponse/nextPageToken": next_page_token
|
||||
"/tpu:v1alpha1/ListOperationsResponse/operations": operations
|
||||
"/tpu:v1alpha1/ListOperationsResponse/operations/operation": operation
|
||||
"/tpu:v1alpha1/Location": location
|
||||
"/tpu:v1alpha1/Location/labels": labels
|
||||
"/tpu:v1alpha1/Location/labels/label": label
|
||||
"/tpu:v1alpha1/Location/locationId": location_id
|
||||
"/tpu:v1alpha1/Location/metadata": metadata
|
||||
"/tpu:v1alpha1/Location/metadata/metadatum": metadatum
|
||||
"/tpu:v1alpha1/Location/name": name
|
||||
"/tpu:v1alpha1/NetworkEndpoint": network_endpoint
|
||||
"/tpu:v1alpha1/NetworkEndpoint/ipAddress": ip_address
|
||||
"/tpu:v1alpha1/NetworkEndpoint/port": port
|
||||
"/tpu:v1alpha1/Node": node
|
||||
"/tpu:v1alpha1/Node/acceleratorType": accelerator_type
|
||||
"/tpu:v1alpha1/Node/cidrBlock": cidr_block
|
||||
"/tpu:v1alpha1/Node/createTime": create_time
|
||||
"/tpu:v1alpha1/Node/description": description
|
||||
"/tpu:v1alpha1/Node/healthDescription": health_description
|
||||
"/tpu:v1alpha1/Node/ipAddress": ip_address
|
||||
"/tpu:v1alpha1/Node/name": name
|
||||
"/tpu:v1alpha1/Node/network": network
|
||||
"/tpu:v1alpha1/Node/networkEndpoints": network_endpoints
|
||||
"/tpu:v1alpha1/Node/networkEndpoints/network_endpoint": network_endpoint
|
||||
"/tpu:v1alpha1/Node/port": port
|
||||
"/tpu:v1alpha1/Node/serviceAccount": service_account
|
||||
"/tpu:v1alpha1/Node/state": state
|
||||
"/tpu:v1alpha1/Node/tensorflowVersion": tensorflow_version
|
||||
"/tpu:v1alpha1/Operation": operation
|
||||
"/tpu:v1alpha1/Operation/done": done
|
||||
"/tpu:v1alpha1/Operation/error": error
|
||||
"/tpu:v1alpha1/Operation/metadata": metadata
|
||||
"/tpu:v1alpha1/Operation/metadata/metadatum": metadatum
|
||||
"/tpu:v1alpha1/Operation/name": name
|
||||
"/tpu:v1alpha1/Operation/response": response
|
||||
"/tpu:v1alpha1/Operation/response/response": response
|
||||
"/tpu:v1alpha1/OperationMetadata": operation_metadata
|
||||
"/tpu:v1alpha1/OperationMetadata/apiVersion": api_version
|
||||
"/tpu:v1alpha1/OperationMetadata/cancelRequested": cancel_requested
|
||||
"/tpu:v1alpha1/OperationMetadata/createTime": create_time
|
||||
"/tpu:v1alpha1/OperationMetadata/endTime": end_time
|
||||
"/tpu:v1alpha1/OperationMetadata/statusDetail": status_detail
|
||||
"/tpu:v1alpha1/OperationMetadata/target": target
|
||||
"/tpu:v1alpha1/OperationMetadata/verb": verb
|
||||
"/tpu:v1alpha1/Status": status
|
||||
"/tpu:v1alpha1/Status/code": code
|
||||
"/tpu:v1alpha1/Status/details": details
|
||||
"/tpu:v1alpha1/Status/details/detail": detail
|
||||
"/tpu:v1alpha1/Status/details/detail/detail": detail
|
||||
"/tpu:v1alpha1/Status/message": message
|
||||
"/tpu:v1alpha1/fields": fields
|
||||
"/tpu:v1alpha1/key": key
|
||||
"/tpu:v1alpha1/quotaUser": quota_user
|
||||
"/tpu:v1alpha1/tpu.projects.locations.get": get_project_location
|
||||
"/tpu:v1alpha1/tpu.projects.locations.get/name": name
|
||||
"/tpu:v1alpha1/tpu.projects.locations.list": list_project_locations
|
||||
"/tpu:v1alpha1/tpu.projects.locations.list/filter": filter
|
||||
"/tpu:v1alpha1/tpu.projects.locations.list/name": name
|
||||
"/tpu:v1alpha1/tpu.projects.locations.list/pageSize": page_size
|
||||
"/tpu:v1alpha1/tpu.projects.locations.list/pageToken": page_token
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.create": create_project_location_node
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.create/nodeId": node_id
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.create/parent": parent
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.delete": delete_project_location_node
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.delete/name": name
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.get": get_project_location_node
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.get/name": name
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.list": list_project_location_nodes
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.list/pageSize": page_size
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.list/pageToken": page_token
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.list/parent": parent
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.reimage": reimage_project_location_node
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.reimage/name": name
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.reimage/tensorflowVersion": tensorflow_version
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.reset": reset_project_location_node
|
||||
"/tpu:v1alpha1/tpu.projects.locations.nodes.reset/name": name
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.cancel": cancel_project_location_operation
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.cancel/name": name
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.delete": delete_project_location_operation
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.delete/name": name
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.get": get_project_location_operation
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.get/name": name
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.list": list_project_location_operations
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.list/filter": filter
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.list/name": name
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.list/pageSize": page_size
|
||||
"/tpu:v1alpha1/tpu.projects.locations.operations.list/pageToken": page_token
|
||||
"/translate:v2/DetectLanguageRequest": detect_language_request
|
||||
"/translate:v2/DetectLanguageRequest/q": q
|
||||
"/translate:v2/DetectLanguageRequest/q/q": q
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-builder/docs/
|
||||
module CloudbuildV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171031'
|
||||
REVISION = '20171115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -230,12 +230,27 @@ module Google
|
|||
class BuildOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Requested disk size for the VM that runs the build. Note that this is *NOT*
|
||||
# "disk free"; some of the space will be used by the operating system and
|
||||
# build utilities. Also note that this is the minimum disk size that will be
|
||||
# allocated for the build -- the build may run with a larger disk than
|
||||
# requested. At present, the maximum disk size is 1000GB; builds that request
|
||||
# more than the maximum are rejected with an error.
|
||||
# Corresponds to the JSON property `diskSizeGb`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :disk_size_gb
|
||||
|
||||
# LogStreamingOption to define build log streaming behavior to Google Cloud
|
||||
# Storage.
|
||||
# Corresponds to the JSON property `logStreamingOption`
|
||||
# @return [String]
|
||||
attr_accessor :log_streaming_option
|
||||
|
||||
# GCE VM size to run the build on.
|
||||
# Corresponds to the JSON property `machineType`
|
||||
# @return [String]
|
||||
attr_accessor :machine_type
|
||||
|
||||
# Requested verifiability options.
|
||||
# Corresponds to the JSON property `requestedVerifyOption`
|
||||
# @return [String]
|
||||
|
@ -257,7 +272,9 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
||||
@log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
|
||||
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
||||
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
|
||||
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
|
||||
@substitution_option = args[:substitution_option] if args.key?(:substitution_option)
|
||||
|
|
|
@ -209,7 +209,9 @@ module Google
|
|||
class BuildOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
||||
property :log_streaming_option, as: 'logStreamingOption'
|
||||
property :machine_type, as: 'machineType'
|
||||
property :requested_verify_option, as: 'requestedVerifyOption'
|
||||
collection :source_provenance_hash, as: 'sourceProvenanceHash'
|
||||
property :substitution_option, as: 'substitutionOption'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/kms/
|
||||
module CloudkmsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170829'
|
||||
REVISION = '20171114'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -206,7 +206,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Labels with user defined metadata.
|
||||
# Labels with user-defined metadata. For more information, see
|
||||
# [Labeling CryptoKeys](/kms/docs/labeling-keys).
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20171026'
|
||||
REVISION = '20171114'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeBeta
|
||||
VERSION = 'Beta'
|
||||
REVISION = '20171010'
|
||||
REVISION = '20171114'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171026'
|
||||
REVISION = '20171114'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171030'
|
||||
REVISION = '20171111'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -270,9 +270,7 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :initial_node_count
|
||||
|
||||
# [Output only] The resource URLs of [instance
|
||||
# groups](/compute/docs/instance-groups/) associated with this
|
||||
# cluster.
|
||||
# Deprecated. Use node_pools.instance_group_urls.
|
||||
# Corresponds to the JSON property `instanceGroupUrls`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :instance_group_urls
|
||||
|
@ -1334,9 +1332,9 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :initial_node_count
|
||||
|
||||
# [Output only] The resource URLs of [instance
|
||||
# groups](/compute/docs/instance-groups/) associated with this
|
||||
# node pool.
|
||||
# [Output only] The resource URLs of the [managed instance
|
||||
# groups](/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
||||
# associated with this node pool.
|
||||
# Corresponds to the JSON property `instanceGroupUrls`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :instance_group_urls
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20171030'
|
||||
REVISION = '20171111'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -300,9 +300,7 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :initial_node_count
|
||||
|
||||
# [Output only] The resource URLs of [instance
|
||||
# groups](/compute/docs/instance-groups/) associated with this
|
||||
# cluster.
|
||||
# Deprecated. Use node_pools.instance_group_urls.
|
||||
# Corresponds to the JSON property `instanceGroupUrls`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :instance_group_urls
|
||||
|
@ -1426,9 +1424,9 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :initial_node_count
|
||||
|
||||
# [Output only] The resource URLs of [instance
|
||||
# groups](/compute/docs/instance-groups/) associated with this
|
||||
# node pool.
|
||||
# [Output only] The resource URLs of the [managed instance
|
||||
# groups](/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
||||
# associated with this node pool.
|
||||
# Corresponds to the JSON property `instanceGroupUrls`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :instance_group_urls
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20171024'
|
||||
REVISION = '20171114'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/monitoring/api/
|
||||
module MonitoringV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20171105'
|
||||
REVISION = '20171113'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -812,6 +812,50 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Nimbus InternalCheckers.
|
||||
class InternalChecker
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The checker ID.
|
||||
# Corresponds to the JSON property `checkerId`
|
||||
# @return [String]
|
||||
attr_accessor :checker_id
|
||||
|
||||
# The checker's human-readable name.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# The GCP zone the uptime check should egress from. Only respected for internal
|
||||
# uptime checks, where internal_network is specified.
|
||||
# Corresponds to the JSON property `gcpZone`
|
||||
# @return [String]
|
||||
attr_accessor :gcp_zone
|
||||
|
||||
# The internal network to perform this uptime check on.
|
||||
# Corresponds to the JSON property `network`
|
||||
# @return [String]
|
||||
attr_accessor :network
|
||||
|
||||
# The GCP project ID. Not necessarily the same as the project_id for the config.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@checker_id = args[:checker_id] if args.key?(:checker_id)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@gcp_zone = args[:gcp_zone] if args.key?(:gcp_zone)
|
||||
@network = args[:network] if args.key?(:network)
|
||||
@project_id = args[:project_id] if args.key?(:project_id)
|
||||
end
|
||||
end
|
||||
|
||||
# A description of a label.
|
||||
class LabelDescriptor
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1157,52 +1201,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# The unit in which the metric value is reported. It is only applicable if the
|
||||
# value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset
|
||||
# of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html)
|
||||
# standard:Basic units (UNIT)
|
||||
# bit bit
|
||||
# By byte
|
||||
# s second
|
||||
# min minute
|
||||
# h hour
|
||||
# d dayPrefixes (PREFIX)
|
||||
# k kilo (10**3)
|
||||
# M mega (10**6)
|
||||
# G giga (10**9)
|
||||
# T tera (10**12)
|
||||
# P peta (10**15)
|
||||
# E exa (10**18)
|
||||
# Z zetta (10**21)
|
||||
# Y yotta (10**24)
|
||||
# m milli (10**-3)
|
||||
# u micro (10**-6)
|
||||
# n nano (10**-9)
|
||||
# p pico (10**-12)
|
||||
# f femto (10**-15)
|
||||
# a atto (10**-18)
|
||||
# z zepto (10**-21)
|
||||
# y yocto (10**-24)
|
||||
# Ki kibi (2**10)
|
||||
# Mi mebi (2**20)
|
||||
# Gi gibi (2**30)
|
||||
# Ti tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/
|
||||
# s.The grammar also includes these connectors:
|
||||
# / division (as an infix operator, e.g. 1/s).
|
||||
# . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is
|
||||
# as follows:
|
||||
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
||||
# Component = [ PREFIX ] UNIT [ Annotation ]
|
||||
# | Annotation
|
||||
# | "1"
|
||||
# ;
|
||||
# Annotation = "`" NAME "`" ;
|
||||
# Notes:
|
||||
# Annotation is just a comment if it follows a UNIT and is equivalent to 1 if
|
||||
# it is used alone. For examples, `requests`/s == 1/s, By`transmitted`/s == By/
|
||||
# s.
|
||||
# NAME is a sequence of non-blank printable ASCII characters not containing '`'
|
||||
# or '`'.
|
||||
# Optional. The unit in which the metric value is reported. For example, kBy/s
|
||||
# means kilobytes/sec, and 1 is the dimensionless unit. The supported units are
|
||||
# a subset of The Unified Code for Units of Measure standard (http://
|
||||
# unitsofmeasure.org/ucum.html).<br><br> This field is part of the metric's
|
||||
# documentation, but it is ignored by Stackdriver.
|
||||
# Corresponds to the JSON property `unit`
|
||||
# @return [String]
|
||||
attr_accessor :unit
|
||||
|
@ -1783,6 +1786,11 @@ module Google
|
|||
# @return [Google::Apis::MonitoringV3::HttpCheck]
|
||||
attr_accessor :http_check
|
||||
|
||||
# The internal checkers that this check will egress from.
|
||||
# Corresponds to the JSON property `internalCheckers`
|
||||
# @return [Array<Google::Apis::MonitoringV3::InternalChecker>]
|
||||
attr_accessor :internal_checkers
|
||||
|
||||
# An object representing a resource that can be used for monitoring, logging,
|
||||
# billing, or other purposes. Examples include virtual machine instances,
|
||||
# databases, and storage devices such as disks. The type field identifies a
|
||||
|
@ -1847,6 +1855,7 @@ module Google
|
|||
@content_matchers = args[:content_matchers] if args.key?(:content_matchers)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@http_check = args[:http_check] if args.key?(:http_check)
|
||||
@internal_checkers = args[:internal_checkers] if args.key?(:internal_checkers)
|
||||
@monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@period = args[:period] if args.key?(:period)
|
||||
|
|
|
@ -124,6 +124,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InternalChecker
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LabelDescriptor
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -457,6 +463,17 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class InternalChecker
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :checker_id, as: 'checkerId'
|
||||
property :display_name, as: 'displayName'
|
||||
property :gcp_zone, as: 'gcpZone'
|
||||
property :network, as: 'network'
|
||||
property :project_id, as: 'projectId'
|
||||
end
|
||||
end
|
||||
|
||||
class LabelDescriptor
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -696,6 +713,8 @@ module Google
|
|||
property :display_name, as: 'displayName'
|
||||
property :http_check, as: 'httpCheck', class: Google::Apis::MonitoringV3::HttpCheck, decorator: Google::Apis::MonitoringV3::HttpCheck::Representation
|
||||
|
||||
collection :internal_checkers, as: 'internalCheckers', class: Google::Apis::MonitoringV3::InternalChecker, decorator: Google::Apis::MonitoringV3::InternalChecker::Representation
|
||||
|
||||
property :monitored_resource, as: 'monitoredResource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/serviceconsumermanagement_v1/service.rb'
|
||||
require 'google/apis/serviceconsumermanagement_v1/classes.rb'
|
||||
require 'google/apis/serviceconsumermanagement_v1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Service Consumer Management API
|
||||
#
|
||||
# Provides management methods for configuring service producer resources on
|
||||
# Google Cloud.
|
||||
#
|
||||
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
||||
module ServiceconsumermanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171113'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
# Manage your Google API service configuration
|
||||
AUTH_SERVICE_MANAGEMENT = 'https://www.googleapis.com/auth/service.management'
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,467 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module ServiceconsumermanagementV1
|
||||
# Service Consumer Management API
|
||||
#
|
||||
# Provides management methods for configuring service producer resources on
|
||||
# Google Cloud.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/serviceconsumermanagement_v1'
|
||||
#
|
||||
# Serviceconsumermanagement = Google::Apis::ServiceconsumermanagementV1 # Alias the module
|
||||
# service = Serviceconsumermanagement::ServiceConsumerManagementService.new
|
||||
#
|
||||
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
||||
class ServiceConsumerManagementService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||
attr_accessor :key
|
||||
|
||||
# @return [String]
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://serviceconsumermanagement.googleapis.com/', '')
|
||||
@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::ServiceconsumermanagementV1::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::ServiceconsumermanagementV1::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::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::ServiceconsumermanagementV1::CancelOperationRequest::Representation
|
||||
command.request_object = cancel_operation_request_object
|
||||
command.response_representation = Google::Apis::ServiceconsumermanagementV1::Empty::Representation
|
||||
command.response_class = Google::Apis::ServiceconsumermanagementV1::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::ServiceconsumermanagementV1::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::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::ServiceconsumermanagementV1::Empty::Representation
|
||||
command.response_class = Google::Apis::ServiceconsumermanagementV1::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.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServiceconsumermanagementV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::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::ServiceconsumermanagementV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceconsumermanagementV1::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
|
||||
|
||||
# Lists operations that match the specified filter in the request. If the
|
||||
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
||||
# NOTE: the `name` binding allows API services to override the binding
|
||||
# to use different resource name schemes, such as `users/*/operations`. To
|
||||
# override the binding, API services can add a binding such as
|
||||
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
||||
# For backwards compatibility, the default name includes the operations
|
||||
# collection id, however overriding users must ensure the name binding
|
||||
# is the parent resource, without the operations collection id.
|
||||
# @param [String] name
|
||||
# The name of the operation's parent resource.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @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::ServiceconsumermanagementV1::ListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::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(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::ServiceconsumermanagementV1::ListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::ServiceconsumermanagementV1::ListOperationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Search tenancy units for a service.
|
||||
# @param [String] parent
|
||||
# Service for which search is performed.
|
||||
# services/`service`
|
||||
# `service` the name of a service, for example 'service.googleapis.com'.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of results returned by this request. Currently, the
|
||||
# default maximum is set to 1000. If page_size is not provided or provided a
|
||||
# number larger than 1000, it will be automatically set to 1000.
|
||||
# Optional.
|
||||
# @param [String] page_token
|
||||
# The continuation token, which is used to page through large result sets.
|
||||
# To get the next page of results, set this parameter to the value of
|
||||
# `nextPageToken` from the previous response.
|
||||
# Optional.
|
||||
# @param [String] query
|
||||
# Set a query ``expression`` for querying tenancy units. Your ``expression``
|
||||
# must be in the format: `field_name=literal_string`. The `field_name` is the
|
||||
# name of the field you want to compare. Supported fields are
|
||||
# `tenant_resources.tag` and`tenant_resources.resource`.
|
||||
# For example, to search tenancy units that contain at least one tenant
|
||||
# resource with given tag 'xyz', use query `tenant_resources.tag=xyz`.
|
||||
# To search tenancy units that contain at least one tenant resource with
|
||||
# given resource name 'projects/123456', use query
|
||||
# `tenant_resources.resource=projects/123456`.
|
||||
# Multiple expressions can be joined with `AND`s. Tenancy units must match
|
||||
# all expressions to be included in the result set. For example,
|
||||
# `tenant_resources.tag=xyz AND tenant_resources.resource=projects/123456`
|
||||
# Optional.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServiceconsumermanagementV1::SearchTenancyUnitsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::SearchTenancyUnitsResponse]
|
||||
#
|
||||
# @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(parent, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}:search', options)
|
||||
command.response_representation = Google::Apis::ServiceconsumermanagementV1::SearchTenancyUnitsResponse::Representation
|
||||
command.response_class = Google::Apis::ServiceconsumermanagementV1::SearchTenancyUnitsResponse
|
||||
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['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Add a new tenant project to the tenancy unit.
|
||||
# If there are previously failed AddTenantProject calls, you might need to
|
||||
# call RemoveTenantProject first to clean them before you can make another
|
||||
# AddTenantProject with the same tag.
|
||||
# Operation<response: Empty>.
|
||||
# @param [String] parent
|
||||
# Name of the tenancy unit.
|
||||
# @param [Google::Apis::ServiceconsumermanagementV1::AddTenantProjectRequest] add_tenant_project_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::ServiceconsumermanagementV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::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 add_service_tenancy_unit_project(parent, add_tenant_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}:addProject', options)
|
||||
command.request_representation = Google::Apis::ServiceconsumermanagementV1::AddTenantProjectRequest::Representation
|
||||
command.request_object = add_tenant_project_request_object
|
||||
command.response_representation = Google::Apis::ServiceconsumermanagementV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceconsumermanagementV1::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
|
||||
|
||||
# Creates a tenancy unit with no tenant resources.
|
||||
# @param [String] parent
|
||||
# services/`service`/`collection id`/`resource id`
|
||||
# `collection id` is the cloud resource collection type representing the
|
||||
# service consumer, for example 'projects', or 'organizations'.
|
||||
# `resource id` is the consumer numeric id, such as project number: '123456'.
|
||||
# `service` the name of a service, for example 'service.googleapis.com'.
|
||||
# Enabled service binding using the new tenancy unit.
|
||||
# @param [Google::Apis::ServiceconsumermanagementV1::CreateTenancyUnitRequest] create_tenancy_unit_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::ServiceconsumermanagementV1::TenancyUnit] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::TenancyUnit]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_tenancy_unit(parent, create_tenancy_unit_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/tenancyUnits', options)
|
||||
command.request_representation = Google::Apis::ServiceconsumermanagementV1::CreateTenancyUnitRequest::Representation
|
||||
command.request_object = create_tenancy_unit_request_object
|
||||
command.response_representation = Google::Apis::ServiceconsumermanagementV1::TenancyUnit::Representation
|
||||
command.response_class = Google::Apis::ServiceconsumermanagementV1::TenancyUnit
|
||||
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
|
||||
|
||||
# Delete tenancy unit. Before the tenancy unit is deleted, there should be
|
||||
# no tenant resource in it.
|
||||
# Operation<response: Empty>.
|
||||
# @param [String] name
|
||||
# Name of the tenancy unit 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::ServiceconsumermanagementV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_service_tenancy_unit(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::ServiceconsumermanagementV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceconsumermanagementV1::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
|
||||
|
||||
# Find tenancy unit for a service and consumer.
|
||||
# This method should not be used in producers' runtime path, e.g. finding
|
||||
# the tenant project number when creating VMs. Producers should persist
|
||||
# the tenant project information after the project is created.
|
||||
# @param [String] parent
|
||||
# Service and consumer. Required.
|
||||
# services/`service`/`collection id`/`resource id`
|
||||
# `collection id` is the cloud resource collection type representing the
|
||||
# service consumer, for example 'projects', or 'organizations'.
|
||||
# `resource id` is the consumer numeric id, such as project number: '123456'.
|
||||
# `service` the name of a service, for example 'service.googleapis.com'.
|
||||
# @param [String] filter
|
||||
# Filter expression over tenancy resources field. Optional.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of results returned by this request.
|
||||
# @param [String] page_token
|
||||
# The continuation token, which is used to page through large result sets.
|
||||
# To get the next page of results, set this parameter to the value of
|
||||
# `nextPageToken` from the previous response.
|
||||
# @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::ServiceconsumermanagementV1::ListTenancyUnitsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::ListTenancyUnitsResponse]
|
||||
#
|
||||
# @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_tenancy_units(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/tenancyUnits', options)
|
||||
command.response_representation = Google::Apis::ServiceconsumermanagementV1::ListTenancyUnitsResponse::Representation
|
||||
command.response_class = Google::Apis::ServiceconsumermanagementV1::ListTenancyUnitsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Removes specified project resource identified by tenant resource tag.
|
||||
# It will remove project lien with 'TenantManager' origin if that was added.
|
||||
# It will then attempt to delete the project.
|
||||
# If that operation fails, this method fails.
|
||||
# Operation<response: Empty>.
|
||||
# @param [String] name
|
||||
# Name of the tenancy unit.
|
||||
# Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
|
||||
# @param [Google::Apis::ServiceconsumermanagementV1::RemoveTenantProjectRequest] remove_tenant_project_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::ServiceconsumermanagementV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::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 remove_service_tenancy_unit_project(name, remove_tenant_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:removeProject', options)
|
||||
command.request_representation = Google::Apis::ServiceconsumermanagementV1::RemoveTenantProjectRequest::Representation
|
||||
command.request_object = remove_tenant_project_request_object
|
||||
command.response_representation = Google::Apis::ServiceconsumermanagementV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceconsumermanagementV1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def apply_command_defaults(command)
|
||||
command.query['key'] = key unless key.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,34 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/tpu_v1alpha1/service.rb'
|
||||
require 'google/apis/tpu_v1alpha1/classes.rb'
|
||||
require 'google/apis/tpu_v1alpha1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Cloud TPU API
|
||||
#
|
||||
# TPU API provides customers with access to Google TPU technology.
|
||||
#
|
||||
# @see https://cloud.google.com/tpu/
|
||||
module TpuV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20171108'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,530 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'date'
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module TpuV1alpha1
|
||||
|
||||
# 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
|
||||
|
||||
# The response message for Locations.ListLocations.
|
||||
class ListLocationsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of locations that matches the specified filter in the request.
|
||||
# Corresponds to the JSON property `locations`
|
||||
# @return [Array<Google::Apis::TpuV1alpha1::Location>]
|
||||
attr_accessor :locations
|
||||
|
||||
# The standard List next-page token.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@locations = args[:locations] if args.key?(:locations)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response for ListNodes.
|
||||
class ListNodesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The next page token or empty if none.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# The listed nodes.
|
||||
# Corresponds to the JSON property `nodes`
|
||||
# @return [Array<Google::Apis::TpuV1alpha1::Node>]
|
||||
attr_accessor :nodes
|
||||
|
||||
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)
|
||||
@nodes = args[:nodes] if args.key?(:nodes)
|
||||
end
|
||||
end
|
||||
|
||||
# The response message for Operations.ListOperations.
|
||||
class ListOperationsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The standard List next-page token.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# A list of operations that matches the specified filter in the request.
|
||||
# Corresponds to the JSON property `operations`
|
||||
# @return [Array<Google::Apis::TpuV1alpha1::Operation>]
|
||||
attr_accessor :operations
|
||||
|
||||
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)
|
||||
@operations = args[:operations] if args.key?(:operations)
|
||||
end
|
||||
end
|
||||
|
||||
# A resource that represents Google Cloud Platform location.
|
||||
class Location
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Cross-service attributes for the location. For example
|
||||
# `"cloud.googleapis.com/region": "us-east1"`
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# The canonical id for this location. For example: `"us-east1"`.
|
||||
# Corresponds to the JSON property `locationId`
|
||||
# @return [String]
|
||||
attr_accessor :location_id
|
||||
|
||||
# Service-specific metadata. For example the available capacity at the given
|
||||
# location.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :metadata
|
||||
|
||||
# Resource name for the location, which may vary between implementations.
|
||||
# For example: `"projects/example-project/locations/us-east1"`
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@location_id = args[:location_id] if args.key?(:location_id)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# A network endpoint over which a TPU worker can be reached.
|
||||
class NetworkEndpoint
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The IP address of this network endpoint.
|
||||
# Corresponds to the JSON property `ipAddress`
|
||||
# @return [String]
|
||||
attr_accessor :ip_address
|
||||
|
||||
# The port of this network endpoint.
|
||||
# Corresponds to the JSON property `port`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :port
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||
@port = args[:port] if args.key?(:port)
|
||||
end
|
||||
end
|
||||
|
||||
# A TPU instance.
|
||||
class Node
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The type of hardware accelerators associated with this node.
|
||||
# Required.
|
||||
# Corresponds to the JSON property `acceleratorType`
|
||||
# @return [String]
|
||||
attr_accessor :accelerator_type
|
||||
|
||||
# The CIDR block that the TPU node will use when selecting //an IP address.
|
||||
# This CIDR block must be a /29 block; the GCE networks API forbids a smaller
|
||||
# block, and using a larger block would be wasteful (a node can only consume
|
||||
# one IP address). Errors will occur if the CIDR block has already been used
|
||||
# for a currently existing TPU node, the CIDR block conflicts with any
|
||||
# subnetworks in the user's provided network, or the provided network is
|
||||
# peered with another network that is using that CIDR block.
|
||||
# Required.
|
||||
# Corresponds to the JSON property `cidrBlock`
|
||||
# @return [String]
|
||||
attr_accessor :cidr_block
|
||||
|
||||
# The time when the node was created.
|
||||
# Output only.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# The user-supplied description of the TPU. Maximum of 512 characters.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# If this field is populated, it contains a description of why the TPU Node
|
||||
# is unhealthy.
|
||||
# Output only.
|
||||
# Corresponds to the JSON property `healthDescription`
|
||||
# @return [String]
|
||||
attr_accessor :health_description
|
||||
|
||||
# Output only.
|
||||
# DEPRECATED! Use network_endpoints instead.
|
||||
# The network address for the TPU Node as visible to GCE instances.
|
||||
# Corresponds to the JSON property `ipAddress`
|
||||
# @return [String]
|
||||
attr_accessor :ip_address
|
||||
|
||||
# The immutable name of the TPU
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The name of a network they wish to peer the TPU node to. It must be a
|
||||
# preexisting GCE network inside of the project on which this API has been
|
||||
# activated. If none is provided, "default" will be used.
|
||||
# Corresponds to the JSON property `network`
|
||||
# @return [String]
|
||||
attr_accessor :network
|
||||
|
||||
# Output only. The network endpoints where TPU workers can be accessed and sent
|
||||
# work.
|
||||
# It is recommended that Tensorflow clients of the node reach out to the 0th
|
||||
# entry in this map first.
|
||||
# Corresponds to the JSON property `networkEndpoints`
|
||||
# @return [Array<Google::Apis::TpuV1alpha1::NetworkEndpoint>]
|
||||
attr_accessor :network_endpoints
|
||||
|
||||
# Output only.
|
||||
# DEPRECATED! Use network_endpoints instead.
|
||||
# The network port for the TPU Node as visible to GCE instances.
|
||||
# Corresponds to the JSON property `port`
|
||||
# @return [String]
|
||||
attr_accessor :port
|
||||
|
||||
# The service account used to run the tensor flow services within the node.
|
||||
# To share resources, including Google Cloud Storage data, with the
|
||||
# Tensorflow job running in the Node, this account must have permissions to
|
||||
# that data.
|
||||
# Output only.
|
||||
# Corresponds to the JSON property `serviceAccount`
|
||||
# @return [String]
|
||||
attr_accessor :service_account
|
||||
|
||||
# The current state for the TPU Node.
|
||||
# Output only.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
# The version of Tensorflow running in the Node.
|
||||
# Required.
|
||||
# Corresponds to the JSON property `tensorflowVersion`
|
||||
# @return [String]
|
||||
attr_accessor :tensorflow_version
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
||||
@cidr_block = args[:cidr_block] if args.key?(:cidr_block)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@health_description = args[:health_description] if args.key?(:health_description)
|
||||
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@network = args[:network] if args.key?(:network)
|
||||
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
||||
@port = args[:port] if args.key?(:port)
|
||||
@service_account = args[:service_account] if args.key?(:service_account)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
@tensorflow_version = args[:tensorflow_version] if args.key?(:tensorflow_version)
|
||||
end
|
||||
end
|
||||
|
||||
# This resource represents a long-running operation that is the result of a
|
||||
# network API call.
|
||||
class Operation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# If the value is `false`, it means the operation is still in progress.
|
||||
# If `true`, the operation is completed, and either `error` or `response` is
|
||||
# available.
|
||||
# Corresponds to the JSON property `done`
|
||||
# @return [Boolean]
|
||||
attr_accessor :done
|
||||
alias_method :done?, :done
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# Corresponds to the JSON property `error`
|
||||
# @return [Google::Apis::TpuV1alpha1::Status]
|
||||
attr_accessor :error
|
||||
|
||||
# Service-specific metadata associated with the operation. It typically
|
||||
# contains progress information and common metadata such as create time.
|
||||
# Some services might not provide such metadata. Any method that returns a
|
||||
# long-running operation should document the metadata type, if any.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :metadata
|
||||
|
||||
# The server-assigned name, which is only unique within the same service that
|
||||
# originally returns it. If you use the default HTTP mapping, the
|
||||
# `name` should have the format of `operations/some/unique/name`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The normal response of the operation in case of success. If the original
|
||||
# method returns no data on success, such as `Delete`, the response is
|
||||
# `google.protobuf.Empty`. If the original method is standard
|
||||
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
||||
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
||||
# is the original method name. For example, if the original method name
|
||||
# is `TakeSnapshot()`, the inferred response type is
|
||||
# `TakeSnapshotResponse`.
|
||||
# Corresponds to the JSON property `response`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :response
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@done = args[:done] if args.key?(:done)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@response = args[:response] if args.key?(:response)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents the metadata of the long-running operation.
|
||||
class OperationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output only] API version used to start the operation.
|
||||
# Corresponds to the JSON property `apiVersion`
|
||||
# @return [String]
|
||||
attr_accessor :api_version
|
||||
|
||||
# [Output only] Identifies whether the user has requested cancellation
|
||||
# of the operation. Operations that have successfully been cancelled
|
||||
# have Operation.error value with a google.rpc.Status.code of 1,
|
||||
# corresponding to `Code.CANCELLED`.
|
||||
# Corresponds to the JSON property `cancelRequested`
|
||||
# @return [Boolean]
|
||||
attr_accessor :cancel_requested
|
||||
alias_method :cancel_requested?, :cancel_requested
|
||||
|
||||
# [Output only] The time the operation was created.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# [Output only] The time the operation finished running.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# [Output only] Human-readable status of the operation, if any.
|
||||
# Corresponds to the JSON property `statusDetail`
|
||||
# @return [String]
|
||||
attr_accessor :status_detail
|
||||
|
||||
# [Output only] Server-defined resource path for the target of the operation.
|
||||
# Corresponds to the JSON property `target`
|
||||
# @return [String]
|
||||
attr_accessor :target
|
||||
|
||||
# [Output only] Name of the verb executed by the operation.
|
||||
# Corresponds to the JSON property `verb`
|
||||
# @return [String]
|
||||
attr_accessor :verb
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@api_version = args[:api_version] if args.key?(:api_version)
|
||||
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
||||
@target = args[:target] if args.key?(:target)
|
||||
@verb = args[:verb] if args.key?(:verb)
|
||||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
class Status
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The status code, which should be an enum value of google.rpc.Code.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :code
|
||||
|
||||
# A list of messages that carry the error details. There is a common set of
|
||||
# message types for APIs to use.
|
||||
# Corresponds to the JSON property `details`
|
||||
# @return [Array<Hash<String,Object>>]
|
||||
attr_accessor :details
|
||||
|
||||
# A developer-facing error message, which should be in English. Any
|
||||
# user-facing error message should be localized and sent in the
|
||||
# google.rpc.Status.details field, or localized by the client.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@details = args[:details] if args.key?(:details)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,191 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'date'
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module TpuV1alpha1
|
||||
|
||||
class Empty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListNodesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Location
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NetworkEndpoint
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Node
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Operation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OperationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Status
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Empty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :locations, as: 'locations', class: Google::Apis::TpuV1alpha1::Location, decorator: Google::Apis::TpuV1alpha1::Location::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListNodesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :nodes, as: 'nodes', class: Google::Apis::TpuV1alpha1::Node, decorator: Google::Apis::TpuV1alpha1::Node::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::TpuV1alpha1::Operation, decorator: Google::Apis::TpuV1alpha1::Operation::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :labels, as: 'labels'
|
||||
property :location_id, as: 'locationId'
|
||||
hash :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class NetworkEndpoint
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ip_address, as: 'ipAddress'
|
||||
property :port, as: 'port'
|
||||
end
|
||||
end
|
||||
|
||||
class Node
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :accelerator_type, as: 'acceleratorType'
|
||||
property :cidr_block, as: 'cidrBlock'
|
||||
property :create_time, as: 'createTime'
|
||||
property :description, as: 'description'
|
||||
property :health_description, as: 'healthDescription'
|
||||
property :ip_address, as: 'ipAddress'
|
||||
property :name, as: 'name'
|
||||
property :network, as: 'network'
|
||||
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::TpuV1alpha1::NetworkEndpoint, decorator: Google::Apis::TpuV1alpha1::NetworkEndpoint::Representation
|
||||
|
||||
property :port, as: 'port'
|
||||
property :service_account, as: 'serviceAccount'
|
||||
property :state, as: 'state'
|
||||
property :tensorflow_version, as: 'tensorflowVersion'
|
||||
end
|
||||
end
|
||||
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :done, as: 'done'
|
||||
property :error, as: 'error', class: Google::Apis::TpuV1alpha1::Status, decorator: Google::Apis::TpuV1alpha1::Status::Representation
|
||||
|
||||
hash :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
hash :response, as: 'response'
|
||||
end
|
||||
end
|
||||
|
||||
class OperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :api_version, as: 'apiVersion'
|
||||
property :cancel_requested, as: 'cancelRequested'
|
||||
property :create_time, as: 'createTime'
|
||||
property :end_time, as: 'endTime'
|
||||
property :status_detail, as: 'statusDetail'
|
||||
property :target, as: 'target'
|
||||
property :verb, as: 'verb'
|
||||
end
|
||||
end
|
||||
|
||||
class Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :details, as: 'details'
|
||||
property :message, as: 'message'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,474 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module TpuV1alpha1
|
||||
# Cloud TPU API
|
||||
#
|
||||
# TPU API provides customers with access to Google TPU technology.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/tpu_v1alpha1'
|
||||
#
|
||||
# Tpu = Google::Apis::TpuV1alpha1 # Alias the module
|
||||
# service = Tpu::TPUService.new
|
||||
#
|
||||
# @see https://cloud.google.com/tpu/
|
||||
class TPUService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||
attr_accessor :key
|
||||
|
||||
# @return [String]
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://tpu.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Get information about a location.
|
||||
# @param [String] name
|
||||
# Resource name for the location.
|
||||
# @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::TpuV1alpha1::Location] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::Location]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::Location::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::Location
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists information about the supported locations for this service.
|
||||
# @param [String] name
|
||||
# The resource that owns the locations collection, if applicable.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @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::TpuV1alpha1::ListLocationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::ListLocationsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::ListLocationsResponse::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::ListLocationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a node.
|
||||
# @param [String] parent
|
||||
# The parent resource name.
|
||||
# @param [Google::Apis::TpuV1alpha1::Node] node_object
|
||||
# @param [String] node_id
|
||||
# The unqualified resource name.
|
||||
# @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::TpuV1alpha1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_project_location_node(parent, node_object = nil, node_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1alpha1/{+parent}/nodes', options)
|
||||
command.request_representation = Google::Apis::TpuV1alpha1::Node::Representation
|
||||
command.request_object = node_object
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::Operation
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['nodeId'] = node_id unless node_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a node.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @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::TpuV1alpha1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_project_location_node(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::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
|
||||
|
||||
# Gets the details of a node.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @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::TpuV1alpha1::Node] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::Node]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_node(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::Node::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::Node
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists nodes.
|
||||
# @param [String] parent
|
||||
# The parent resource name.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of items to return.
|
||||
# @param [String] page_token
|
||||
# The next_page_token value returned from a previous List request, if any.
|
||||
# @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::TpuV1alpha1::ListNodesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::ListNodesResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_location_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1alpha1/{+parent}/nodes', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::ListNodesResponse::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::ListNodesResponse
|
||||
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
|
||||
|
||||
# Reimage a node's OS.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @param [String] tensorflow_version
|
||||
# The version for reimage to create.
|
||||
# @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::TpuV1alpha1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::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 reimage_project_location_node(name, tensorflow_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1alpha1/{+name}:reimage', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['tensorflowVersion'] = tensorflow_version unless tensorflow_version.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets a node, which stops and starts the VM.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @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::TpuV1alpha1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::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 reset_project_location_node(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1alpha1/{+name}:reset', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::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
|
||||
|
||||
# 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 [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::TpuV1alpha1::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::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_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1alpha1/{+name}:cancel', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::Empty::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::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::TpuV1alpha1::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::Empty]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::Empty::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::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.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1alpha1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::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
|
||||
|
||||
# Lists operations that match the specified filter in the request. If the
|
||||
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
||||
# NOTE: the `name` binding allows API services to override the binding
|
||||
# to use different resource name schemes, such as `users/*/operations`. To
|
||||
# override the binding, API services can add a binding such as
|
||||
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
||||
# For backwards compatibility, the default name includes the operations
|
||||
# collection id, however overriding users must ensure the name binding
|
||||
# is the parent resource, without the operations collection id.
|
||||
# @param [String] name
|
||||
# The name of the operation's parent resource.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @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::TpuV1alpha1::ListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1alpha1::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_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1alpha1/{+name}/operations', options)
|
||||
command.response_representation = Google::Apis::TpuV1alpha1::ListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::TpuV1alpha1::ListOperationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def apply_command_defaults(command)
|
||||
command.query['key'] = key unless key.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue