Regenerate apis, add datastore_v1beta3

This commit is contained in:
Steve Bazyl 2016-06-23 12:42:56 -07:00
parent 3714da7a3f
commit d9a91c83ee
70 changed files with 4763 additions and 356 deletions

View File

@ -2123,6 +2123,29 @@
"/compute:beta/compute.globalOperations.list/orderBy": order_by
"/compute:beta/compute.globalOperations.list/pageToken": page_token
"/compute:beta/compute.globalOperations.list/project": project
"/compute:beta/compute.healthChecks.delete": delete_health_check
"/compute:beta/compute.healthChecks.delete/healthCheck": health_check
"/compute:beta/compute.healthChecks.delete/project": project
"/compute:beta/compute.healthChecks.get": get_health_check
"/compute:beta/compute.healthChecks.get/healthCheck": health_check
"/compute:beta/compute.healthChecks.get/project": project
"/compute:beta/compute.healthChecks.insert": insert_health_check
"/compute:beta/compute.healthChecks.insert/project": project
"/compute:beta/compute.healthChecks.list": list_health_checks
"/compute:beta/compute.healthChecks.list/filter": filter
"/compute:beta/compute.healthChecks.list/maxResults": max_results
"/compute:beta/compute.healthChecks.list/orderBy": order_by
"/compute:beta/compute.healthChecks.list/pageToken": page_token
"/compute:beta/compute.healthChecks.list/project": project
"/compute:beta/compute.healthChecks.patch": patch_health_check
"/compute:beta/compute.healthChecks.patch/healthCheck": health_check
"/compute:beta/compute.healthChecks.patch/project": project
"/compute:beta/compute.healthChecks.testIamPermissions": test_health_check_iam_permissions
"/compute:beta/compute.healthChecks.testIamPermissions/project": project
"/compute:beta/compute.healthChecks.testIamPermissions/resource": resource
"/compute:beta/compute.healthChecks.update": update_health_check
"/compute:beta/compute.healthChecks.update/healthCheck": health_check
"/compute:beta/compute.healthChecks.update/project": project
"/compute:beta/compute.httpHealthChecks.delete": delete_http_health_check
"/compute:beta/compute.httpHealthChecks.delete/httpHealthCheck": http_health_check
"/compute:beta/compute.httpHealthChecks.delete/project": project
@ -2696,6 +2719,32 @@
"/compute:beta/compute.targetPools.testIamPermissions/project": project
"/compute:beta/compute.targetPools.testIamPermissions/region": region
"/compute:beta/compute.targetPools.testIamPermissions/resource": resource
"/compute:beta/compute.targetSslProxies.delete": delete_target_ssl_proxy
"/compute:beta/compute.targetSslProxies.delete/project": project
"/compute:beta/compute.targetSslProxies.delete/targetSslProxy": target_ssl_proxy
"/compute:beta/compute.targetSslProxies.get": get_target_ssl_proxy
"/compute:beta/compute.targetSslProxies.get/project": project
"/compute:beta/compute.targetSslProxies.get/targetSslProxy": target_ssl_proxy
"/compute:beta/compute.targetSslProxies.insert": insert_target_ssl_proxy
"/compute:beta/compute.targetSslProxies.insert/project": project
"/compute:beta/compute.targetSslProxies.list": list_target_ssl_proxies
"/compute:beta/compute.targetSslProxies.list/filter": filter
"/compute:beta/compute.targetSslProxies.list/maxResults": max_results
"/compute:beta/compute.targetSslProxies.list/orderBy": order_by
"/compute:beta/compute.targetSslProxies.list/pageToken": page_token
"/compute:beta/compute.targetSslProxies.list/project": project
"/compute:beta/compute.targetSslProxies.setBackendService": set_target_ssl_proxy_backend_service
"/compute:beta/compute.targetSslProxies.setBackendService/project": project
"/compute:beta/compute.targetSslProxies.setBackendService/targetSslProxy": target_ssl_proxy
"/compute:beta/compute.targetSslProxies.setProxyHeader": set_target_ssl_proxy_proxy_header
"/compute:beta/compute.targetSslProxies.setProxyHeader/project": project
"/compute:beta/compute.targetSslProxies.setProxyHeader/targetSslProxy": target_ssl_proxy
"/compute:beta/compute.targetSslProxies.setSslCertificates": set_target_ssl_proxy_ssl_certificates
"/compute:beta/compute.targetSslProxies.setSslCertificates/project": project
"/compute:beta/compute.targetSslProxies.setSslCertificates/targetSslProxy": target_ssl_proxy
"/compute:beta/compute.targetSslProxies.testIamPermissions": test_target_ssl_proxy_iam_permissions
"/compute:beta/compute.targetSslProxies.testIamPermissions/project": project
"/compute:beta/compute.targetSslProxies.testIamPermissions/resource": resource
"/compute:beta/compute.targetVpnGateways.aggregatedList/filter": filter
"/compute:beta/compute.targetVpnGateways.aggregatedList/maxResults": max_results
"/compute:beta/compute.targetVpnGateways.aggregatedList/orderBy": order_by
@ -2916,6 +2965,8 @@
"/compute:beta/Backend/capacityScaler": capacity_scaler
"/compute:beta/Backend/description": description
"/compute:beta/Backend/group": group
"/compute:beta/Backend/maxConnections": max_connections
"/compute:beta/Backend/maxConnectionsPerInstance": max_connections_per_instance
"/compute:beta/Backend/maxRate": max_rate
"/compute:beta/Backend/maxRatePerInstance": max_rate_per_instance
"/compute:beta/Backend/maxUtilization": max_utilization
@ -2923,6 +2974,7 @@
"/compute:beta/BackendService/affinityCookieTtlSec": affinity_cookie_ttl_sec
"/compute:beta/BackendService/backends": backends
"/compute:beta/BackendService/backends/backend": backend
"/compute:beta/BackendService/connectionDraining": connection_draining
"/compute:beta/BackendService/creationTimestamp": creation_timestamp
"/compute:beta/BackendService/description": description
"/compute:beta/BackendService/enableCDN": enable_cdn
@ -2952,6 +3004,8 @@
"/compute:beta/BackendServiceList/selfLink": self_link
"/compute:beta/CacheInvalidationRule": cache_invalidation_rule
"/compute:beta/CacheInvalidationRule/path": path
"/compute:beta/ConnectionDraining": connection_draining
"/compute:beta/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec
"/compute:beta/CustomerEncryptionKey": customer_encryption_key
"/compute:beta/CustomerEncryptionKey/rawKey": raw_key
"/compute:beta/CustomerEncryptionKey/rsaEncryptedKey": rsa_encrypted_key
@ -3124,6 +3178,48 @@
"/compute:beta/GlobalSetLabelsRequest/labelFingerprint": label_fingerprint
"/compute:beta/GlobalSetLabelsRequest/labels": labels
"/compute:beta/GlobalSetLabelsRequest/labels/label": label
"/compute:beta/HTTP2HealthCheck": http2_health_check
"/compute:beta/HTTP2HealthCheck/host": host
"/compute:beta/HTTP2HealthCheck/port": port
"/compute:beta/HTTP2HealthCheck/portName": port_name
"/compute:beta/HTTP2HealthCheck/proxyHeader": proxy_header
"/compute:beta/HTTP2HealthCheck/requestPath": request_path
"/compute:beta/HTTPHealthCheck": http_health_check
"/compute:beta/HTTPHealthCheck/host": host
"/compute:beta/HTTPHealthCheck/port": port
"/compute:beta/HTTPHealthCheck/portName": port_name
"/compute:beta/HTTPHealthCheck/proxyHeader": proxy_header
"/compute:beta/HTTPHealthCheck/requestPath": request_path
"/compute:beta/HTTPSHealthCheck": https_health_check
"/compute:beta/HTTPSHealthCheck/host": host
"/compute:beta/HTTPSHealthCheck/port": port
"/compute:beta/HTTPSHealthCheck/portName": port_name
"/compute:beta/HTTPSHealthCheck/proxyHeader": proxy_header
"/compute:beta/HTTPSHealthCheck/requestPath": request_path
"/compute:beta/HealthCheck": health_check
"/compute:beta/HealthCheck/checkIntervalSec": check_interval_sec
"/compute:beta/HealthCheck/creationTimestamp": creation_timestamp
"/compute:beta/HealthCheck/description": description
"/compute:beta/HealthCheck/healthyThreshold": healthy_threshold
"/compute:beta/HealthCheck/http2HealthCheck": http2_health_check
"/compute:beta/HealthCheck/httpHealthCheck": http_health_check
"/compute:beta/HealthCheck/httpsHealthCheck": https_health_check
"/compute:beta/HealthCheck/id": id
"/compute:beta/HealthCheck/kind": kind
"/compute:beta/HealthCheck/name": name
"/compute:beta/HealthCheck/selfLink": self_link
"/compute:beta/HealthCheck/sslHealthCheck": ssl_health_check
"/compute:beta/HealthCheck/tcpHealthCheck": tcp_health_check
"/compute:beta/HealthCheck/timeoutSec": timeout_sec
"/compute:beta/HealthCheck/type": type
"/compute:beta/HealthCheck/unhealthyThreshold": unhealthy_threshold
"/compute:beta/HealthCheckList": health_check_list
"/compute:beta/HealthCheckList/id": id
"/compute:beta/HealthCheckList/items": items
"/compute:beta/HealthCheckList/items/item": item
"/compute:beta/HealthCheckList/kind": kind
"/compute:beta/HealthCheckList/nextPageToken": next_page_token
"/compute:beta/HealthCheckList/selfLink": self_link
"/compute:beta/HealthCheckReference": health_check_reference
"/compute:beta/HealthCheckReference/healthCheck": health_check
"/compute:beta/HealthStatus": health_status
@ -3749,6 +3845,12 @@
"/compute:beta/RoutersScopedList/warning/data/datum/key": key
"/compute:beta/RoutersScopedList/warning/data/datum/value": value
"/compute:beta/RoutersScopedList/warning/message": message
"/compute:beta/SSLHealthCheck": ssl_health_check
"/compute:beta/SSLHealthCheck/port": port
"/compute:beta/SSLHealthCheck/portName": port_name
"/compute:beta/SSLHealthCheck/proxyHeader": proxy_header
"/compute:beta/SSLHealthCheck/request": request
"/compute:beta/SSLHealthCheck/response": response
"/compute:beta/Scheduling": scheduling
"/compute:beta/Scheduling/automaticRestart": automatic_restart
"/compute:beta/Scheduling/onHostMaintenance": on_host_maintenance
@ -3841,6 +3943,12 @@
"/compute:beta/SubnetworksScopedList/warning/data/datum/key": key
"/compute:beta/SubnetworksScopedList/warning/data/datum/value": value
"/compute:beta/SubnetworksScopedList/warning/message": message
"/compute:beta/TCPHealthCheck": tcp_health_check
"/compute:beta/TCPHealthCheck/port": port
"/compute:beta/TCPHealthCheck/portName": port_name
"/compute:beta/TCPHealthCheck/proxyHeader": proxy_header
"/compute:beta/TCPHealthCheck/request": request
"/compute:beta/TCPHealthCheck/response": response
"/compute:beta/Tags": tags
"/compute:beta/Tags/fingerprint": fingerprint
"/compute:beta/Tags/items": items
@ -3967,6 +4075,31 @@
"/compute:beta/TargetPoolsScopedList/warning/message": message
"/compute:beta/TargetReference": target_reference
"/compute:beta/TargetReference/target": target
"/compute:beta/TargetSslProxiesSetBackendServiceRequest": target_ssl_proxies_set_backend_service_request
"/compute:beta/TargetSslProxiesSetBackendServiceRequest/service": service
"/compute:beta/TargetSslProxiesSetProxyHeaderRequest": target_ssl_proxies_set_proxy_header_request
"/compute:beta/TargetSslProxiesSetProxyHeaderRequest/proxyHeader": proxy_header
"/compute:beta/TargetSslProxiesSetSslCertificatesRequest": target_ssl_proxies_set_ssl_certificates_request
"/compute:beta/TargetSslProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates
"/compute:beta/TargetSslProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate
"/compute:beta/TargetSslProxy": target_ssl_proxy
"/compute:beta/TargetSslProxy/creationTimestamp": creation_timestamp
"/compute:beta/TargetSslProxy/description": description
"/compute:beta/TargetSslProxy/id": id
"/compute:beta/TargetSslProxy/kind": kind
"/compute:beta/TargetSslProxy/name": name
"/compute:beta/TargetSslProxy/proxyHeader": proxy_header
"/compute:beta/TargetSslProxy/selfLink": self_link
"/compute:beta/TargetSslProxy/service": service
"/compute:beta/TargetSslProxy/sslCertificates": ssl_certificates
"/compute:beta/TargetSslProxy/sslCertificates/ssl_certificate": ssl_certificate
"/compute:beta/TargetSslProxyList": target_ssl_proxy_list
"/compute:beta/TargetSslProxyList/id": id
"/compute:beta/TargetSslProxyList/items": items
"/compute:beta/TargetSslProxyList/items/item": item
"/compute:beta/TargetSslProxyList/kind": kind
"/compute:beta/TargetSslProxyList/nextPageToken": next_page_token
"/compute:beta/TargetSslProxyList/selfLink": self_link
"/compute:beta/TargetVpnGateway": target_vpn_gateway
"/compute:beta/TargetVpnGateway/creationTimestamp": creation_timestamp
"/compute:beta/TargetVpnGateway/description": description
@ -9205,6 +9338,7 @@
"/bigquery:v2/JobConfigurationQuery/destinationTable": destination_table
"/bigquery:v2/JobConfigurationQuery/flattenResults": flatten_results
"/bigquery:v2/JobConfigurationQuery/maximumBillingTier": maximum_billing_tier
"/bigquery:v2/JobConfigurationQuery/maximumBytesBilled": maximum_bytes_billed
"/bigquery:v2/JobConfigurationQuery/preserveNulls": preserve_nulls
"/bigquery:v2/JobConfigurationQuery/priority": priority
"/bigquery:v2/JobConfigurationQuery/query": query
@ -10290,6 +10424,8 @@
"/books:v1/Usersettings/notification": notification
"/books:v1/Usersettings/notification/moreFromAuthors": more_from_authors
"/books:v1/Usersettings/notification/moreFromAuthors/opted_state": opted_state
"/books:v1/Usersettings/notification/moreFromSeries": more_from_series
"/books:v1/Usersettings/notification/moreFromSeries/opted_state": opted_state
"/books:v1/Volume": volume
"/books:v1/Volume/accessInfo": access_info
"/books:v1/Volume/accessInfo/accessViewStatus": access_view_status
@ -10332,6 +10468,7 @@
"/books:v1/Volume/saleInfo/offers": offers
"/books:v1/Volume/saleInfo/offers/offer": offer
"/books:v1/Volume/saleInfo/offers/offer/finskyOfferType": finsky_offer_type
"/books:v1/Volume/saleInfo/offers/offer/giftable": giftable
"/books:v1/Volume/saleInfo/offers/offer/listPrice": list_price
"/books:v1/Volume/saleInfo/offers/offer/listPrice/amountInMicros": amount_in_micros
"/books:v1/Volume/saleInfo/offers/offer/listPrice/currencyCode": currency_code
@ -12068,6 +12205,9 @@
"/compute:v1/compute.urlMaps.get/urlMap": url_map
"/compute:v1/compute.urlMaps.insert": insert_url_map
"/compute:v1/compute.urlMaps.insert/project": project
"/compute:v1/compute.urlMaps.invalidateCache": invalidate_url_map_cache
"/compute:v1/compute.urlMaps.invalidateCache/project": project
"/compute:v1/compute.urlMaps.invalidateCache/urlMap": url_map
"/compute:v1/compute.urlMaps.list": list_url_maps
"/compute:v1/compute.urlMaps.list/filter": filter
"/compute:v1/compute.urlMaps.list/maxResults": max_results
@ -12249,6 +12389,7 @@
"/compute:v1/BackendService/backends/backend": backend
"/compute:v1/BackendService/creationTimestamp": creation_timestamp
"/compute:v1/BackendService/description": description
"/compute:v1/BackendService/enableCDN": enable_cdn
"/compute:v1/BackendService/fingerprint": fingerprint
"/compute:v1/BackendService/healthChecks": health_checks
"/compute:v1/BackendService/healthChecks/health_check": health_check
@ -12272,6 +12413,8 @@
"/compute:v1/BackendServiceList/kind": kind
"/compute:v1/BackendServiceList/nextPageToken": next_page_token
"/compute:v1/BackendServiceList/selfLink": self_link
"/compute:v1/CacheInvalidationRule": cache_invalidation_rule
"/compute:v1/CacheInvalidationRule/path": path
"/compute:v1/CustomerEncryptionKey": customer_encryption_key
"/compute:v1/CustomerEncryptionKey/rawKey": raw_key
"/compute:v1/CustomerEncryptionKey/sha256": sha256
@ -13618,6 +13761,8 @@
"/content:v2/AccountShippingShippingService/active": active
"/content:v2/AccountShippingShippingService/calculationMethod": calculation_method
"/content:v2/AccountShippingShippingService/costRuleTree": cost_rule_tree
"/content:v2/AccountShippingShippingService/maxDaysInTransit": max_days_in_transit
"/content:v2/AccountShippingShippingService/minDaysInTransit": min_days_in_transit
"/content:v2/AccountShippingShippingService/name": name
"/content:v2/AccountShippingShippingService/saleCountry": sale_country
"/content:v2/AccountShippingShippingServiceCalculationMethod": account_shipping_shipping_service_calculation_method
@ -14700,181 +14845,161 @@
"/customsearch:v1/Search/url": url
"/customsearch:v1/Search/url/template": template
"/customsearch:v1/Search/url/type": type
"/datastore:v1beta2/fields": fields
"/datastore:v1beta2/key": key
"/datastore:v1beta2/quotaUser": quota_user
"/datastore:v1beta2/userIp": user_ip
"/datastore:v1beta2/datastore.datasets.allocateIds": allocate_dataset_ids
"/datastore:v1beta2/datastore.datasets.allocateIds/datasetId": dataset_id
"/datastore:v1beta2/datastore.datasets.beginTransaction": begin_dataset_transaction
"/datastore:v1beta2/datastore.datasets.beginTransaction/datasetId": dataset_id
"/datastore:v1beta2/datastore.datasets.commit": commit_dataset
"/datastore:v1beta2/datastore.datasets.commit/datasetId": dataset_id
"/datastore:v1beta2/datastore.datasets.lookup": lookup_dataset
"/datastore:v1beta2/datastore.datasets.lookup/datasetId": dataset_id
"/datastore:v1beta2/datastore.datasets.rollback": rollback_dataset
"/datastore:v1beta2/datastore.datasets.rollback/datasetId": dataset_id
"/datastore:v1beta2/datastore.datasets.runQuery": run_dataset_query
"/datastore:v1beta2/datastore.datasets.runQuery/datasetId": dataset_id
"/datastore:v1beta2/AllocateIdsRequest/keys": keys
"/datastore:v1beta2/AllocateIdsRequest/keys/key": key
"/datastore:v1beta2/AllocateIdsResponse/header": header
"/datastore:v1beta2/AllocateIdsResponse/keys": keys
"/datastore:v1beta2/AllocateIdsResponse/keys/key": key
"/datastore:v1beta2/BeginTransactionRequest/isolationLevel": isolation_level
"/datastore:v1beta2/BeginTransactionResponse/header": header
"/datastore:v1beta2/BeginTransactionResponse/transaction": transaction
"/datastore:v1beta2/CommitRequest": commit_request
"/datastore:v1beta2/CommitRequest/ignoreReadOnly": ignore_read_only
"/datastore:v1beta2/CommitRequest/mode": mode
"/datastore:v1beta2/CommitRequest/mutation": mutation
"/datastore:v1beta2/CommitRequest/transaction": transaction
"/datastore:v1beta2/CommitResponse": commit_response
"/datastore:v1beta2/CommitResponse/header": header
"/datastore:v1beta2/CommitResponse/mutationResult": mutation_result
"/datastore:v1beta2/CompositeFilter": composite_filter
"/datastore:v1beta2/CompositeFilter/filters": filters
"/datastore:v1beta2/CompositeFilter/filters/filter": filter
"/datastore:v1beta2/CompositeFilter/operator": operator
"/datastore:v1beta2/Entity": entity
"/datastore:v1beta2/Entity/key": key
"/datastore:v1beta2/Entity/properties": properties
"/datastore:v1beta2/Entity/properties/property": property
"/datastore:v1beta2/EntityResult": entity_result
"/datastore:v1beta2/EntityResult/entity": entity
"/datastore:v1beta2/Filter": filter
"/datastore:v1beta2/Filter/compositeFilter": composite_filter
"/datastore:v1beta2/Filter/propertyFilter": property_filter
"/datastore:v1beta2/GqlQuery": gql_query
"/datastore:v1beta2/GqlQuery/allowLiteral": allow_literal
"/datastore:v1beta2/GqlQuery/nameArgs": name_args
"/datastore:v1beta2/GqlQuery/nameArgs/name_arg": name_arg
"/datastore:v1beta2/GqlQuery/numberArgs": number_args
"/datastore:v1beta2/GqlQuery/numberArgs/number_arg": number_arg
"/datastore:v1beta2/GqlQuery/queryString": query_string
"/datastore:v1beta2/GqlQueryArg": gql_query_arg
"/datastore:v1beta2/GqlQueryArg/cursor": cursor
"/datastore:v1beta2/GqlQueryArg/name": name
"/datastore:v1beta2/GqlQueryArg/value": value
"/datastore:v1beta2/Key": key
"/datastore:v1beta2/Key/partitionId": partition_id
"/datastore:v1beta2/Key/path": path
"/datastore:v1beta2/Key/path/path": path
"/datastore:v1beta2/KeyPathElement": key_path_element
"/datastore:v1beta2/KeyPathElement/id": id
"/datastore:v1beta2/KeyPathElement/kind": kind
"/datastore:v1beta2/KeyPathElement/name": name
"/datastore:v1beta2/KindExpression": kind_expression
"/datastore:v1beta2/KindExpression/name": name
"/datastore:v1beta2/LookupRequest": lookup_request
"/datastore:v1beta2/LookupRequest/keys": keys
"/datastore:v1beta2/LookupRequest/keys/key": key
"/datastore:v1beta2/LookupRequest/readOptions": read_options
"/datastore:v1beta2/LookupResponse": lookup_response
"/datastore:v1beta2/LookupResponse/deferred": deferred
"/datastore:v1beta2/LookupResponse/deferred/deferred": deferred
"/datastore:v1beta2/LookupResponse/found": found
"/datastore:v1beta2/LookupResponse/found/found": found
"/datastore:v1beta2/LookupResponse/header": header
"/datastore:v1beta2/LookupResponse/missing": missing
"/datastore:v1beta2/LookupResponse/missing/missing": missing
"/datastore:v1beta2/Mutation": mutation
"/datastore:v1beta2/Mutation/delete": delete
"/datastore:v1beta2/Mutation/delete/delete": delete
"/datastore:v1beta2/Mutation/force": force
"/datastore:v1beta2/Mutation/insert": insert
"/datastore:v1beta2/Mutation/insert/insert": insert
"/datastore:v1beta2/Mutation/insertAutoId": insert_auto_id
"/datastore:v1beta2/Mutation/insertAutoId/insert_auto_id": insert_auto_id
"/datastore:v1beta2/Mutation/update": update
"/datastore:v1beta2/Mutation/update/update": update
"/datastore:v1beta2/Mutation/upsert": upsert
"/datastore:v1beta2/Mutation/upsert/upsert": upsert
"/datastore:v1beta2/MutationResult": mutation_result
"/datastore:v1beta2/MutationResult/indexUpdates": index_updates
"/datastore:v1beta2/MutationResult/insertAutoIdKeys": insert_auto_id_keys
"/datastore:v1beta2/MutationResult/insertAutoIdKeys/insert_auto_id_key": insert_auto_id_key
"/datastore:v1beta2/PartitionId": partition_id
"/datastore:v1beta2/PartitionId/datasetId": dataset_id
"/datastore:v1beta2/PartitionId/namespace": namespace
"/datastore:v1beta2/Property": property
"/datastore:v1beta2/Property/blobKeyValue": blob_key_value
"/datastore:v1beta2/Property/blobValue": blob_value
"/datastore:v1beta2/Property/booleanValue": boolean_value
"/datastore:v1beta2/Property/dateTimeValue": date_time_value
"/datastore:v1beta2/Property/doubleValue": double_value
"/datastore:v1beta2/Property/entityValue": entity_value
"/datastore:v1beta2/Property/indexed": indexed
"/datastore:v1beta2/Property/integerValue": integer_value
"/datastore:v1beta2/Property/keyValue": key_value
"/datastore:v1beta2/Property/listValue": list_value
"/datastore:v1beta2/Property/listValue/list_value": list_value
"/datastore:v1beta2/Property/meaning": meaning
"/datastore:v1beta2/Property/stringValue": string_value
"/datastore:v1beta2/PropertyExpression": property_expression
"/datastore:v1beta2/PropertyExpression/aggregationFunction": aggregation_function
"/datastore:v1beta2/PropertyExpression/property": property
"/datastore:v1beta2/PropertyFilter": property_filter
"/datastore:v1beta2/PropertyFilter/operator": operator
"/datastore:v1beta2/PropertyFilter/property": property
"/datastore:v1beta2/PropertyFilter/value": value
"/datastore:v1beta2/PropertyOrder": property_order
"/datastore:v1beta2/PropertyOrder/direction": direction
"/datastore:v1beta2/PropertyOrder/property": property
"/datastore:v1beta2/PropertyReference": property_reference
"/datastore:v1beta2/PropertyReference/name": name
"/datastore:v1beta2/Query": query
"/datastore:v1beta2/Query/endCursor": end_cursor
"/datastore:v1beta2/Query/filter": filter
"/datastore:v1beta2/Query/groupBy": group_by
"/datastore:v1beta2/Query/groupBy/group_by": group_by
"/datastore:v1beta2/Query/kinds": kinds
"/datastore:v1beta2/Query/kinds/kind": kind
"/datastore:v1beta2/Query/limit": limit
"/datastore:v1beta2/Query/offset": offset
"/datastore:v1beta2/Query/order": order
"/datastore:v1beta2/Query/order/order": order
"/datastore:v1beta2/Query/projection": projection
"/datastore:v1beta2/Query/projection/projection": projection
"/datastore:v1beta2/Query/startCursor": start_cursor
"/datastore:v1beta2/QueryResultBatch": query_result_batch
"/datastore:v1beta2/QueryResultBatch/endCursor": end_cursor
"/datastore:v1beta2/QueryResultBatch/entityResultType": entity_result_type
"/datastore:v1beta2/QueryResultBatch/entityResults": entity_results
"/datastore:v1beta2/QueryResultBatch/entityResults/entity_result": entity_result
"/datastore:v1beta2/QueryResultBatch/moreResults": more_results
"/datastore:v1beta2/QueryResultBatch/skippedResults": skipped_results
"/datastore:v1beta2/ReadOptions": read_options
"/datastore:v1beta2/ReadOptions/readConsistency": read_consistency
"/datastore:v1beta2/ReadOptions/transaction": transaction
"/datastore:v1beta2/ResponseHeader": response_header
"/datastore:v1beta2/ResponseHeader/kind": kind
"/datastore:v1beta2/RollbackRequest": rollback_request
"/datastore:v1beta2/RollbackRequest/transaction": transaction
"/datastore:v1beta2/RollbackResponse": rollback_response
"/datastore:v1beta2/RollbackResponse/header": header
"/datastore:v1beta2/RunQueryRequest": run_query_request
"/datastore:v1beta2/RunQueryRequest/gqlQuery": gql_query
"/datastore:v1beta2/RunQueryRequest/partitionId": partition_id
"/datastore:v1beta2/RunQueryRequest/query": query
"/datastore:v1beta2/RunQueryRequest/readOptions": read_options
"/datastore:v1beta2/RunQueryResponse": run_query_response
"/datastore:v1beta2/RunQueryResponse/batch": batch
"/datastore:v1beta2/RunQueryResponse/header": header
"/datastore:v1beta2/Value": value
"/datastore:v1beta2/Value/blobKeyValue": blob_key_value
"/datastore:v1beta2/Value/blobValue": blob_value
"/datastore:v1beta2/Value/booleanValue": boolean_value
"/datastore:v1beta2/Value/dateTimeValue": date_time_value
"/datastore:v1beta2/Value/doubleValue": double_value
"/datastore:v1beta2/Value/entityValue": entity_value
"/datastore:v1beta2/Value/indexed": indexed
"/datastore:v1beta2/Value/integerValue": integer_value
"/datastore:v1beta2/Value/keyValue": key_value
"/datastore:v1beta2/Value/listValue": list_value
"/datastore:v1beta2/Value/listValue/list_value": list_value
"/datastore:v1beta2/Value/meaning": meaning
"/datastore:v1beta2/Value/stringValue": string_value
"/datastore:v1beta3/key": key
"/datastore:v1beta3/quotaUser": quota_user
"/datastore:v1beta3/fields": fields
"/datastore:v1beta3/datastore.projects.runQuery": run_project_query
"/datastore:v1beta3/datastore.projects.runQuery/projectId": project_id
"/datastore:v1beta3/datastore.projects.beginTransaction": begin_project_transaction
"/datastore:v1beta3/datastore.projects.beginTransaction/projectId": project_id
"/datastore:v1beta3/datastore.projects.allocateIds": allocate_project_ids
"/datastore:v1beta3/datastore.projects.allocateIds/projectId": project_id
"/datastore:v1beta3/datastore.projects.lookup": lookup_project
"/datastore:v1beta3/datastore.projects.lookup/projectId": project_id
"/datastore:v1beta3/datastore.projects.commit": commit_project
"/datastore:v1beta3/datastore.projects.commit/projectId": project_id
"/datastore:v1beta3/datastore.projects.rollback": rollback_project
"/datastore:v1beta3/datastore.projects.rollback/projectId": project_id
"/datastore:v1beta3/Value": value
"/datastore:v1beta3/Value/stringValue": string_value
"/datastore:v1beta3/Value/arrayValue": array_value
"/datastore:v1beta3/Value/entityValue": entity_value
"/datastore:v1beta3/Value/meaning": meaning
"/datastore:v1beta3/Value/integerValue": integer_value
"/datastore:v1beta3/Value/doubleValue": double_value
"/datastore:v1beta3/Value/blobValue": blob_value
"/datastore:v1beta3/Value/geoPointValue": geo_point_value
"/datastore:v1beta3/Value/nullValue": null_value
"/datastore:v1beta3/Value/booleanValue": boolean_value
"/datastore:v1beta3/Value/keyValue": key_value
"/datastore:v1beta3/Value/excludeFromIndexes": exclude_from_indexes
"/datastore:v1beta3/Value/timestampValue": timestamp_value
"/datastore:v1beta3/ReadOptions": read_options
"/datastore:v1beta3/ReadOptions/transaction": transaction
"/datastore:v1beta3/ReadOptions/readConsistency": read_consistency
"/datastore:v1beta3/PropertyOrder": property_order
"/datastore:v1beta3/PropertyOrder/direction": direction
"/datastore:v1beta3/PropertyOrder/property": property
"/datastore:v1beta3/CommitRequest": commit_request
"/datastore:v1beta3/CommitRequest/transaction": transaction
"/datastore:v1beta3/CommitRequest/mode": mode
"/datastore:v1beta3/CommitRequest/mutations": mutations
"/datastore:v1beta3/CommitRequest/mutations/mutation": mutation
"/datastore:v1beta3/Query": query
"/datastore:v1beta3/Query/limit": limit
"/datastore:v1beta3/Query/filter": filter
"/datastore:v1beta3/Query/endCursor": end_cursor
"/datastore:v1beta3/Query/distinctOn": distinct_on
"/datastore:v1beta3/Query/distinctOn/distinct_on": distinct_on
"/datastore:v1beta3/Query/offset": offset
"/datastore:v1beta3/Query/projection": projection
"/datastore:v1beta3/Query/projection/projection": projection
"/datastore:v1beta3/Query/order": order
"/datastore:v1beta3/Query/order/order": order
"/datastore:v1beta3/Query/startCursor": start_cursor
"/datastore:v1beta3/Query/kind": kind
"/datastore:v1beta3/Query/kind/kind": kind
"/datastore:v1beta3/RollbackRequest": rollback_request
"/datastore:v1beta3/RollbackRequest/transaction": transaction
"/datastore:v1beta3/EntityResult": entity_result
"/datastore:v1beta3/EntityResult/cursor": cursor
"/datastore:v1beta3/EntityResult/entity": entity
"/datastore:v1beta3/GqlQueryParameter": gql_query_parameter
"/datastore:v1beta3/GqlQueryParameter/value": value
"/datastore:v1beta3/GqlQueryParameter/cursor": cursor
"/datastore:v1beta3/ArrayValue": array_value
"/datastore:v1beta3/ArrayValue/values": values
"/datastore:v1beta3/ArrayValue/values/value": value
"/datastore:v1beta3/Filter": filter
"/datastore:v1beta3/Filter/propertyFilter": property_filter
"/datastore:v1beta3/Filter/compositeFilter": composite_filter
"/datastore:v1beta3/BeginTransactionResponse": begin_transaction_response
"/datastore:v1beta3/BeginTransactionResponse/transaction": transaction
"/datastore:v1beta3/PartitionId": partition_id
"/datastore:v1beta3/PartitionId/namespaceId": namespace_id
"/datastore:v1beta3/PartitionId/projectId": project_id
"/datastore:v1beta3/QueryResultBatch": query_result_batch
"/datastore:v1beta3/QueryResultBatch/endCursor": end_cursor
"/datastore:v1beta3/QueryResultBatch/skippedCursor": skipped_cursor
"/datastore:v1beta3/QueryResultBatch/entityResultType": entity_result_type
"/datastore:v1beta3/QueryResultBatch/moreResults": more_results
"/datastore:v1beta3/QueryResultBatch/entityResults": entity_results
"/datastore:v1beta3/QueryResultBatch/entityResults/entity_result": entity_result
"/datastore:v1beta3/QueryResultBatch/skippedResults": skipped_results
"/datastore:v1beta3/AllocateIdsRequest": allocate_ids_request
"/datastore:v1beta3/AllocateIdsRequest/keys": keys
"/datastore:v1beta3/AllocateIdsRequest/keys/key": key
"/datastore:v1beta3/KindExpression": kind_expression
"/datastore:v1beta3/KindExpression/name": name
"/datastore:v1beta3/PropertyFilter": property_filter
"/datastore:v1beta3/PropertyFilter/value": value
"/datastore:v1beta3/PropertyFilter/op": op
"/datastore:v1beta3/PropertyFilter/property": property
"/datastore:v1beta3/PathElement": path_element
"/datastore:v1beta3/PathElement/kind": kind
"/datastore:v1beta3/PathElement/id": id
"/datastore:v1beta3/PathElement/name": name
"/datastore:v1beta3/RollbackResponse": rollback_response
"/datastore:v1beta3/PropertyReference": property_reference
"/datastore:v1beta3/PropertyReference/name": name
"/datastore:v1beta3/Projection": projection
"/datastore:v1beta3/Projection/property": property
"/datastore:v1beta3/MutationResult": mutation_result
"/datastore:v1beta3/MutationResult/key": key
"/datastore:v1beta3/AllocateIdsResponse": allocate_ids_response
"/datastore:v1beta3/AllocateIdsResponse/keys": keys
"/datastore:v1beta3/AllocateIdsResponse/keys/key": key
"/datastore:v1beta3/LookupResponse": lookup_response
"/datastore:v1beta3/LookupResponse/found": found
"/datastore:v1beta3/LookupResponse/found/found": found
"/datastore:v1beta3/LookupResponse/missing": missing
"/datastore:v1beta3/LookupResponse/missing/missing": missing
"/datastore:v1beta3/LookupResponse/deferred": deferred
"/datastore:v1beta3/LookupResponse/deferred/deferred": deferred
"/datastore:v1beta3/BeginTransactionRequest": begin_transaction_request
"/datastore:v1beta3/Key": key
"/datastore:v1beta3/Key/partitionId": partition_id
"/datastore:v1beta3/Key/path": path
"/datastore:v1beta3/Key/path/path": path
"/datastore:v1beta3/RunQueryResponse": run_query_response
"/datastore:v1beta3/RunQueryResponse/batch": batch
"/datastore:v1beta3/RunQueryResponse/query": query
"/datastore:v1beta3/Entity": entity
"/datastore:v1beta3/Entity/properties": properties
"/datastore:v1beta3/Entity/properties/property": property
"/datastore:v1beta3/Entity/key": key
"/datastore:v1beta3/GqlQuery": gql_query
"/datastore:v1beta3/GqlQuery/queryString": query_string
"/datastore:v1beta3/GqlQuery/namedBindings": named_bindings
"/datastore:v1beta3/GqlQuery/namedBindings/named_binding": named_binding
"/datastore:v1beta3/GqlQuery/allowLiterals": allow_literals
"/datastore:v1beta3/GqlQuery/positionalBindings": positional_bindings
"/datastore:v1beta3/GqlQuery/positionalBindings/positional_binding": positional_binding
"/datastore:v1beta3/Mutation": mutation
"/datastore:v1beta3/Mutation/insert": insert
"/datastore:v1beta3/Mutation/update": update
"/datastore:v1beta3/Mutation/upsert": upsert
"/datastore:v1beta3/Mutation/delete": delete
"/datastore:v1beta3/CommitResponse": commit_response
"/datastore:v1beta3/CommitResponse/mutationResults": mutation_results
"/datastore:v1beta3/CommitResponse/mutationResults/mutation_result": mutation_result
"/datastore:v1beta3/CommitResponse/indexUpdates": index_updates
"/datastore:v1beta3/RunQueryRequest": run_query_request
"/datastore:v1beta3/RunQueryRequest/partitionId": partition_id
"/datastore:v1beta3/RunQueryRequest/gqlQuery": gql_query
"/datastore:v1beta3/RunQueryRequest/readOptions": read_options
"/datastore:v1beta3/RunQueryRequest/query": query
"/datastore:v1beta3/LookupRequest": lookup_request
"/datastore:v1beta3/LookupRequest/readOptions": read_options
"/datastore:v1beta3/LookupRequest/keys": keys
"/datastore:v1beta3/LookupRequest/keys/key": key
"/datastore:v1beta3/LatLng": lat_lng
"/datastore:v1beta3/LatLng/latitude": latitude
"/datastore:v1beta3/LatLng/longitude": longitude
"/datastore:v1beta3/CompositeFilter": composite_filter
"/datastore:v1beta3/CompositeFilter/op": op
"/datastore:v1beta3/CompositeFilter/filters": filters
"/datastore:v1beta3/CompositeFilter/filters/filter": filter
"/deploymentmanager:v2/fields": fields
"/deploymentmanager:v2/key": key
"/deploymentmanager:v2/quotaUser": quota_user
@ -15081,6 +15206,7 @@
"/deploymentmanager:v2/Type/id": id
"/deploymentmanager:v2/Type/insertTime": insert_time
"/deploymentmanager:v2/Type/name": name
"/deploymentmanager:v2/Type/operation": operation
"/deploymentmanager:v2/Type/selfLink": self_link
"/deploymentmanager:v2/TypesListResponse/nextPageToken": next_page_token
"/deploymentmanager:v2/TypesListResponse/types": types
@ -18967,6 +19093,11 @@
"/fitness:v1/BucketBySession/minDurationMillis": min_duration_millis
"/fitness:v1/BucketByTime": bucket_by_time
"/fitness:v1/BucketByTime/durationMillis": duration_millis
"/fitness:v1/BucketByTime/period": period
"/fitness:v1/BucketByTimePeriod": bucket_by_time_period
"/fitness:v1/BucketByTimePeriod/timeZoneId": time_zone_id
"/fitness:v1/BucketByTimePeriod/type": type
"/fitness:v1/BucketByTimePeriod/value": value
"/fitness:v1/DataPoint": data_point
"/fitness:v1/DataPoint/computationTimeMillis": computation_time_millis
"/fitness:v1/DataPoint/dataTypeName": data_type_name
@ -18979,6 +19110,8 @@
"/fitness:v1/DataPoint/value/value": value
"/fitness:v1/DataSource": data_source
"/fitness:v1/DataSource/application": application
"/fitness:v1/DataSource/dataQualityStandard": data_quality_standard
"/fitness:v1/DataSource/dataQualityStandard/data_quality_standard": data_quality_standard
"/fitness:v1/DataSource/dataStreamId": data_stream_id
"/fitness:v1/DataSource/dataStreamName": data_stream_name
"/fitness:v1/DataSource/dataType": data_type
@ -20905,6 +21038,13 @@
"/appengine:v1beta5/OperationMetadataV1Beta5/endTime": end_time
"/appengine:v1beta5/OperationMetadataV1Beta5/user": user
"/appengine:v1beta5/OperationMetadataV1Beta5/target": target
"/appengine:v1beta5/OperationMetadataV1": operation_metadata_v1
"/appengine:v1beta5/OperationMetadataV1/method": method_prop
"/appengine:v1beta5/OperationMetadataV1/insertTime": insert_time
"/appengine:v1beta5/OperationMetadataV1/endTime": end_time
"/appengine:v1beta5/OperationMetadataV1/user": user
"/appengine:v1beta5/OperationMetadataV1/target": target
"/appengine:v1beta5/LocationMetadata": location_metadata
"/classroom:v1/fields": fields
"/classroom:v1/key": key
"/classroom:v1/quotaUser": quota_user
@ -21406,6 +21546,8 @@
"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy/resource": resource
"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions
"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions/resource": resource
"/cloudresourcemanager:v1/cloudresourcemanager.operations.get": get_operation
"/cloudresourcemanager:v1/cloudresourcemanager.operations.get/name": name
"/cloudresourcemanager:v1/Project": project
"/cloudresourcemanager:v1/Project/projectNumber": project_number
"/cloudresourcemanager:v1/Project/projectId": project_id
@ -21442,6 +21584,20 @@
"/cloudresourcemanager:v1/TestIamPermissionsResponse": test_iam_permissions_response
"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions": permissions
"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions/permission": permission
"/cloudresourcemanager:v1/Operation": operation
"/cloudresourcemanager:v1/Operation/name": name
"/cloudresourcemanager:v1/Operation/metadata": metadata
"/cloudresourcemanager:v1/Operation/metadata/metadatum": metadatum
"/cloudresourcemanager:v1/Operation/done": done
"/cloudresourcemanager:v1/Operation/error": error
"/cloudresourcemanager:v1/Operation/response": response
"/cloudresourcemanager:v1/Operation/response/response": response
"/cloudresourcemanager:v1/Status": status
"/cloudresourcemanager:v1/Status/code": code
"/cloudresourcemanager:v1/Status/message": message
"/cloudresourcemanager:v1/Status/details": details
"/cloudresourcemanager:v1/Status/details/detail": detail
"/cloudresourcemanager:v1/Status/details/detail/detail": detail
"/cloudresourcemanager:v1beta1/fields": fields
"/cloudresourcemanager:v1beta1/key": key
"/cloudresourcemanager:v1beta1/quotaUser": quota_user
@ -21471,9 +21627,10 @@
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageToken": page_token
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/filter": filter
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get": get_organization
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/name": name
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/organizationId": organization_id
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update": update_organization
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update/organizationId": organization_id
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update/name": name
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy/resource": resource
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy
@ -21527,10 +21684,12 @@
"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations/organization": organization
"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/nextPageToken": next_page_token
"/cloudresourcemanager:v1beta1/Organization": organization
"/cloudresourcemanager:v1beta1/Organization/name": name
"/cloudresourcemanager:v1beta1/Organization/organizationId": organization_id
"/cloudresourcemanager:v1beta1/Organization/displayName": display_name
"/cloudresourcemanager:v1beta1/Organization/owner": owner
"/cloudresourcemanager:v1beta1/Organization/creationTime": creation_time
"/cloudresourcemanager:v1beta1/Organization/lifecycleState": lifecycle_state
"/cloudresourcemanager:v1beta1/OrganizationOwner": organization_owner
"/cloudresourcemanager:v1beta1/OrganizationOwner/directoryCustomerId": directory_customer_id
"/cloudtrace:v1/fields": fields
@ -28831,6 +28990,8 @@
"/youtube:v3/ContentRating/fcoRating": fco_rating
"/youtube:v3/ContentRating/fmocRating": fmoc_rating
"/youtube:v3/ContentRating/fpbRating": fpb_rating
"/youtube:v3/ContentRating/fpbRatingReasons": fpb_rating_reasons
"/youtube:v3/ContentRating/fpbRatingReasons/fpb_rating_reason": fpb_rating_reason
"/youtube:v3/ContentRating/fskRating": fsk_rating
"/youtube:v3/ContentRating/grfilmRating": grfilm_rating
"/youtube:v3/ContentRating/icaaRating": icaa_rating

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/adsense/management/
module AdsenseV1_4
VERSION = 'V1_4'
REVISION = '20160607'
REVISION = '20160611'
# View and manage your AdSense data
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/adsense/host/
module AdsensehostV4_1
VERSION = 'V4_1'
REVISION = '20160607'
REVISION = '20160611'
# View and manage your AdSense host data and associated accounts
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/analytics/devguides/reporting/core/v4/
module AnalyticsreportingV4
VERSION = 'V4'
REVISION = '20160601'
REVISION = '20160616'
# View your Google Analytics data
AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20160601'
REVISION = '20160607'
# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta5
VERSION = 'V1beta5'
REVISION = '20160407'
REVISION = '20160614'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1494,18 +1494,19 @@ module Google
# @return [String]
attr_accessor :availability
# For VMEngines instances, the name of GCE VM where the instance lives. @
# OutputOnly
# For VMEngines instances, the name of the Compute Engine VM where the instance
# lives. @OutputOnly
# Corresponds to the JSON property `vmName`
# @return [String]
attr_accessor :vm_name
# For VMEngines instances, the zone where the GCE VM is located. @OutputOnly
# For VMEngines instances, the zone where the Compute Engine VM is located. @
# OutputOnly
# Corresponds to the JSON property `vmZoneName`
# @return [String]
attr_accessor :vm_zone_name
# For VMEngines instances, the GCE VM ID of the instance. @OutputOnly
# For VMEngines instances, the Compute Engine VM ID of the instance. @OutputOnly
# Corresponds to the JSON property `vmId`
# @return [String]
attr_accessor :vm_id
@ -1540,8 +1541,8 @@ module Google
# @return [String]
attr_accessor :memory_usage
# For VMEngines instances, the status of GCE VM where the instance lives. @
# OutputOnly
# For VMEngines instances, the status of the Compute Engine VM where the
# instance lives. @OutputOnly
# Corresponds to the JSON property `vmStatus`
# @return [String]
attr_accessor :vm_status
@ -1674,6 +1675,65 @@ module Google
@target = args[:target] if args.key?(:target)
end
end
# Metadata for the given google.longrunning.Operation.
class OperationMetadataV1
include Google::Apis::Core::Hashable
# API method name that initiated the operation. Example: "google.appengine.v1.
# Version.CreateVersion". @OutputOnly
# Corresponds to the JSON property `method`
# @return [String]
attr_accessor :method_prop
# Timestamp that this operation was received. @OutputOnly
# Corresponds to the JSON property `insertTime`
# @return [String]
attr_accessor :insert_time
# Timestamp that this operation was completed. (Not present if the operation is
# still in progress.) @OutputOnly
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The user who requested this operation. @OutputOnly
# Corresponds to the JSON property `user`
# @return [String]
attr_accessor :user
# Resource that this operation is acting on. Example: "apps/myapp/services/
# default". @OutputOnly
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@method_prop = args[:method_prop] if args.key?(:method_prop)
@insert_time = args[:insert_time] if args.key?(:insert_time)
@end_time = args[:end_time] if args.key?(:end_time)
@user = args[:user] if args.key?(:user)
@target = args[:target] if args.key?(:target)
end
end
# Metadata for the given google.cloud.location.Location.
class LocationMetadata
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
end
end
end

View File

@ -232,6 +232,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OperationMetadataV1
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -631,6 +643,23 @@ module Google
property :target, as: 'target'
end
end
class OperationMetadataV1
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :method_prop, as: 'method'
property :insert_time, as: 'insertTime'
property :end_time, as: 'endTime'
property :user, as: 'user'
property :target, as: 'target'
end
end
class LocationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
end
end
end

View File

@ -465,7 +465,21 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates an existing version. Note: UNIMPLEMENTED.
# Updates the specified Version resource. You can specify the following fields
# depending on the App Engine environment and type of scaling that the version
# resource uses: * [`serving_status`](/appengine/docs/admin-api/reference/rest/
# v1beta5/apps.services.versions#Version.FIELDS.serving_status): For Version
# resources that use basic scaling, manual scaling, or run in the App Engine
# flexible environment. * [`instance_class`](/appengine/docs/admin-api/reference/
# rest/v1beta5/apps.services.versions#Version.FIELDS.instance_class): For
# Version resources that run in the App Engine standard environment. * [`
# automatic_scaling.min_idle_instances`](/appengine/docs/admin-api/reference/
# rest/v1beta5/apps.services.versions#Version.FIELDS.automatic_scaling): For
# Version resources that use automatic scaling and run in the App Engine
# standard environment. * [`automatic_scaling.max_idle_instances`](/appengine/
# docs/admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.
# automatic_scaling): For Version resources that use automatic scaling and run
# in the App Engine standard environment.
# @param [String] apps_id
# Part of `name`. Name of the resource to update. For example: "apps/myapp/
# services/default/versions/1".

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services/web/api/states
module AppstateV1
VERSION = 'V1'
REVISION = '20160531'
REVISION = '20160616'
# View and manage your data for this application
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20160526'
REVISION = '20160617'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -70,7 +70,7 @@ module Google
# [Optional] The type to convert the value in cells of this column. The values
# are expected to be encoded using HBase Bytes.toBytes function when using the
# BINARY encoding value. Following BigQuery types are allowed (case-sensitive) -
# BYTES STRING INTEGER FLOAT BOOLEAN Defaut type is BYTES. 'type' can also be
# BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. 'type' can also be
# set at the column family level. However, the setting at this level takes
# precedence if 'type' is set at both levels.
# Corresponds to the JSON property `type`
@ -130,9 +130,9 @@ module Google
# [Optional] The type to convert the value in cells of this column family. The
# values are expected to be encoded using HBase Bytes.toBytes function when
# using the BINARY encoding value. Following BigQuery types are allowed (case-
# sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Defaut type is BYTES. This can
# be overridden for a specific column by listing that column in 'columns' and
# specifying a type for it.
# sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. This
# can be overridden for a specific column by listing that column in 'columns'
# and specifying a type for it.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@ -1344,6 +1344,13 @@ module Google
# @return [Fixnum]
attr_accessor :maximum_billing_tier
# [Optional] Limits the bytes billed for this job. Queries that will have bytes
# billed beyond this limit will fail (without incurring a charge). If
# unspecified, this will be set to your project default.
# Corresponds to the JSON property `maximumBytesBilled`
# @return [String]
attr_accessor :maximum_bytes_billed
# [Deprecated] This property is deprecated.
# Corresponds to the JSON property `preserveNulls`
# @return [Boolean]
@ -1418,6 +1425,7 @@ module Google
@destination_table = args[:destination_table] if args.key?(:destination_table)
@flatten_results = args[:flatten_results] if args.key?(:flatten_results)
@maximum_billing_tier = args[:maximum_billing_tier] if args.key?(:maximum_billing_tier)
@maximum_bytes_billed = args[:maximum_bytes_billed] if args.key?(:maximum_bytes_billed)
@preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
@priority = args[:priority] if args.key?(:priority)
@query = args[:query] if args.key?(:query)

View File

@ -622,6 +622,7 @@ module Google
property :flatten_results, as: 'flattenResults'
property :maximum_billing_tier, as: 'maximumBillingTier'
property :maximum_bytes_billed, as: 'maximumBytesBilled'
property :preserve_nulls, as: 'preserveNulls'
property :priority, as: 'priority'
property :query, as: 'query'

View File

@ -20,12 +20,12 @@ module Google
module Apis
# Books API
#
# Lets you search for books and manage your Google Books library.
# Searches for books and manages your Google Books library.
#
# @see https://developers.google.com/books/docs/v1/getting_started
module BooksV1
VERSION = 'V1'
REVISION = '20160411'
REVISION = '20160531'
# Manage your books
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'

View File

@ -2568,6 +2568,11 @@ module Google
# @return [Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors]
attr_accessor :more_from_authors
#
# Corresponds to the JSON property `moreFromSeries`
# @return [Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries]
attr_accessor :more_from_series
def initialize(**args)
update!(**args)
end
@ -2575,6 +2580,7 @@ module Google
# Update properties of this object
def update!(**args)
@more_from_authors = args[:more_from_authors] if args.key?(:more_from_authors)
@more_from_series = args[:more_from_series] if args.key?(:more_from_series)
end
#
@ -2595,6 +2601,25 @@ module Google
@opted_state = args[:opted_state] if args.key?(:opted_state)
end
end
#
class MoreFromSeries
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `opted_state`
# @return [String]
attr_accessor :opted_state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@opted_state = args[:opted_state] if args.key?(:opted_state)
end
end
end
end
@ -3032,6 +3057,12 @@ module Google
# @return [Fixnum]
attr_accessor :finsky_offer_type
# Indicates whether the offer is giftable.
# Corresponds to the JSON property `giftable`
# @return [Boolean]
attr_accessor :giftable
alias_method :giftable?, :giftable
# Offer list (=undiscounted) price in Micros.
# Corresponds to the JSON property `listPrice`
# @return [Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice]
@ -3054,6 +3085,7 @@ module Google
# Update properties of this object
def update!(**args)
@finsky_offer_type = args[:finsky_offer_type] if args.key?(:finsky_offer_type)
@giftable = args[:giftable] if args.key?(:giftable)
@list_price = args[:list_price] if args.key?(:list_price)
@rental_duration = args[:rental_duration] if args.key?(:rental_duration)
@retail_price = args[:retail_price] if args.key?(:retail_price)

View File

@ -418,6 +418,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MoreFromSeries
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
@ -1353,6 +1359,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :more_from_authors, as: 'moreFromAuthors', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors::Representation
property :more_from_series, as: 'moreFromSeries', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries::Representation
end
class MoreFromAuthors
@ -1361,6 +1369,13 @@ module Google
property :opted_state, as: 'opted_state'
end
end
class MoreFromSeries
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :opted_state, as: 'opted_state'
end
end
end
end
@ -1480,6 +1495,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :finsky_offer_type, as: 'finskyOfferType'
property :giftable, as: 'giftable'
property :list_price, as: 'listPrice', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice::Representation
property :rental_duration, as: 'rentalDuration', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration::Representation

View File

@ -22,7 +22,7 @@ module Google
module BooksV1
# Books API
#
# Lets you search for books and manage your Google Books library.
# Searches for books and manages your Google Books library.
#
# @example
# require 'google/apis/books_v1'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3
VERSION = 'V3'
REVISION = '20160605'
REVISION = '20160613'
# Manage your calendars
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/monitoring/v2beta2/
module CloudmonitoringV2beta2
VERSION = 'V2beta2'
REVISION = '20160415'
REVISION = '20160613'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1
VERSION = 'V1'
REVISION = '20160518'
REVISION = '20160617'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -44,9 +44,10 @@ module Google
# @return [String]
attr_accessor :lifecycle_state
# The user-assigned name of the Project. It must be 4 to 30 characters. Allowed
# characters are: lowercase and uppercase letters, numbers, hyphen, single-quote,
# double-quote, space, and exclamation point. Example: My Project Read-write.
# The user-assigned display name of the Project. It must be 4 to 30 characters.
# Allowed characters are: lowercase and uppercase letters, numbers, hyphen,
# single-quote, double-quote, space, and exclamation point. Example: My Project
# Read-write.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -350,6 +351,159 @@ module Google
@permissions = args[:permissions] if args.key?(:permissions)
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
# 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
# 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
# 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` which 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 purpose. - 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::CloudresourcemanagerV1::Status]
attr_accessor :error
# 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)
@name = args[:name] if args.key?(:name)
@metadata = args[:metadata] if args.key?(:metadata)
@done = args[:done] if args.key?(:done)
@error = args[:error] if args.key?(:error)
@response = args[:response] if args.key?(:response)
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` which 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 purpose. - 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 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
# A list of messages that carry the error details. There will be a common set of
# message types for APIs to use.
# Corresponds to the JSON property `details`
# @return [Array<Hash<String,Object>>]
attr_accessor :details
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@message = args[:message] if args.key?(:message)
@details = args[:details] if args.key?(:details)
end
end
end
end
end

View File

@ -88,6 +88,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Operation
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 Project
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -176,6 +188,27 @@ module Google
collection :permissions, as: 'permissions'
end
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
hash :metadata, as: 'metadata'
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::CloudresourcemanagerV1::Status, decorator: Google::Apis::CloudresourcemanagerV1::Status::Representation
hash :response, as: 'response'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :message, as: 'message'
collection :details, as: 'details'
end
end
end
end
end

View File

@ -167,13 +167,12 @@ module Google
# following criteria are met: + The Project does not have a billing account
# associated with it. + The Project has a lifecycle state of ACTIVE. This method
# changes the Project's lifecycle state from ACTIVE to DELETE_REQUESTED. The
# deletion starts at an unspecified time, at which point the lifecycle state
# changes to DELETE_IN_PROGRESS. Until the deletion completes, you can check the
# lifecycle state checked by retrieving the Project with GetProject, and the
# Project remains visible to ListProjects. However, you cannot update the
# project. After the deletion completes, the Project is not retrievable by the
# GetProject and ListProjects methods. The caller must have modify permissions
# for this Project.
# deletion starts at an unspecified time, at which point the Project is no
# longer accessible. Until the deletion completes, you can check the lifecycle
# state checked by retrieving the Project with GetProject, and the Project
# remains visible to ListProjects. However, you cannot update the project. After
# the deletion completes, the Project is not retrievable by the GetProject and
# ListProjects methods. The caller must have modify permissions for this Project.
# @param [String] project_id
# The Project ID (for example, `foo-bar-123`). Required.
# @param [String] fields
@ -205,9 +204,8 @@ module Google
# Restores the Project identified by the specified `project_id` (for example, `
# my-project-123`). You can only use this method for a Project that has a
# lifecycle state of DELETE_REQUESTED. After deletion starts, as indicated by a
# lifecycle state of DELETE_IN_PROGRESS, the Project cannot be restored. The
# caller must have modify permissions for this Project.
# lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot
# be restored. The caller must have modify permissions for this Project.
# @param [String] project_id
# The project ID (for example, `foo-bar-123`). Required.
# @param [Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest] undelete_project_request_object
@ -279,17 +277,27 @@ module Google
# Sets the IAM access control policy for the specified Project. Replaces any
# existing policy. The following constraints apply when using `setIamPolicy()`: +
# Project currently supports only `user:`emailid`` and `serviceAccount:`emailid`
# ` members in a `Binding` of a `Policy`. + To be added as an `owner`, a user
# must be invited via Cloud Platform console and must accept the invitation. +
# Members cannot be added to more than one role in the same policy. + There must
# be at least one owner who has accepted the Terms of Service (ToS) agreement in
# the policy. Calling `setIamPolicy()` to to remove the last ToS-accepted owner
# from the policy will fail. + Calling this method requires enabling the App
# Engine Admin API. Note: Removing service accounts from policies or changing
# their roles can render services completely inoperable. It is important to
# understand how the service account is being used before removing or updating
# its roles.
# Project does not support `allUsers` and `allAuthenticatedUsers` as `members`
# in a `Binding` of a `Policy`. + The owner role can be granted only to `user`
# and `serviceAccount`. + Service accounts can be made owners of a project
# directly without any restrictions. However, to be added as an owner, a user
# must be invited via Cloud Platform console and must accept the invitation. + A
# user cannot be granted the owner role using `setIamPolicy()`. The user must be
# granted the owner role using the Cloud Platform Console and must explicitly
# accept the invitation. + Invitations to grant the owner role cannot be sent
# using `setIamPolicy()`; they must be sent only using the Cloud Platform
# Console. + Membership changes that leave the project without any owners that
# have accepted the Terms of Service (ToS) will be rejected. + Members cannot be
# added to more than one role in the same policy. + There must be at least one
# owner who has accepted the Terms of Service (ToS) agreement in the policy.
# Calling `setIamPolicy()` to to remove the last ToS-accepted owner from the
# policy will fail. This restriction also applies to legacy projects that no
# longer have owners who have accepted the ToS. Edits to IAM policies will be
# rejected until the lack of a ToS-accepting owner is rectified. + Calling this
# method requires enabling the App Engine Admin API. Note: Removing service
# accounts from policies or changing their roles can render services completely
# inoperable. It is important to understand how the service account is being
# used before removing or updating its roles.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified. `resource` is
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
@ -361,6 +369,37 @@ module Google
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::CloudresourcemanagerV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudresourcemanagerV1::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::CloudresourcemanagerV1::Operation::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::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)

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1beta1
VERSION = 'V1beta1'
REVISION = '20160518'
REVISION = '20160617'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -44,9 +44,10 @@ module Google
# @return [String]
attr_accessor :lifecycle_state
# The user-assigned name of the Project. It must be 4 to 30 characters. Allowed
# characters are: lowercase and uppercase letters, numbers, hyphen, single-quote,
# double-quote, space, and exclamation point. Example: My Project Read-write.
# The user-assigned display name of the Project. It must be 4 to 30 characters.
# Allowed characters are: lowercase and uppercase letters, numbers, hyphen,
# single-quote, double-quote, space, and exclamation point. Example: My Project
# Read-write.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -100,7 +101,7 @@ module Google
include Google::Apis::Core::Hashable
# Required field representing the resource type this id is for. At present, the
# only valid type is "organization".
# valid types are "project" and "organization".
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@ -440,8 +441,16 @@ module Google
class Organization
include Google::Apis::Core::Hashable
# Output Only. The resource name of the organization. This is the organization's
# relative path in the API. Its format is "organizations/[organization_id]". For
# example, "organizations/1234".
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# An immutable id for the Organization that is assigned on creation. This should
# be omitted when creating a new Organization. This field is read-only.
# be omitted when creating a new Organization. This field is read-only. This
# field is deprecated and will be removed in v1. Use name instead.
# Corresponds to the JSON property `organizationId`
# @return [String]
attr_accessor :organization_id
@ -466,16 +475,24 @@ module Google
# @return [String]
attr_accessor :creation_time
# The organization's current lifecycle state. Assigned by the server. @
# OutputOnly
# Corresponds to the JSON property `lifecycleState`
# @return [String]
attr_accessor :lifecycle_state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@organization_id = args[:organization_id] if args.key?(:organization_id)
@display_name = args[:display_name] if args.key?(:display_name)
@owner = args[:owner] if args.key?(:owner)
@creation_time = args[:creation_time] if args.key?(:creation_time)
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
end
end

View File

@ -247,11 +247,13 @@ module Google
class Organization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :organization_id, as: 'organizationId'
property :display_name, as: 'displayName'
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation
property :creation_time, as: 'creationTime'
property :lifecycle_state, as: 'lifecycleState'
end
end

View File

@ -200,13 +200,12 @@ module Google
# following criteria are met: + The Project does not have a billing account
# associated with it. + The Project has a lifecycle state of ACTIVE. This method
# changes the Project's lifecycle state from ACTIVE to DELETE_REQUESTED. The
# deletion starts at an unspecified time, at which point the lifecycle state
# changes to DELETE_IN_PROGRESS. Until the deletion completes, you can check the
# lifecycle state checked by retrieving the Project with GetProject, and the
# Project remains visible to ListProjects. However, you cannot update the
# project. After the deletion completes, the Project is not retrievable by the
# GetProject and ListProjects methods. The caller must have modify permissions
# for this Project.
# deletion starts at an unspecified time, at which point the project is no
# longer accessible. Until the deletion completes, you can check the lifecycle
# state checked by retrieving the Project with GetProject, and the Project
# remains visible to ListProjects. However, you cannot update the project. After
# the deletion completes, the Project is not retrievable by the GetProject and
# ListProjects methods. The caller must have modify permissions for this Project.
# @param [String] project_id
# The Project ID (for example, `foo-bar-123`). Required.
# @param [String] fields
@ -238,9 +237,8 @@ module Google
# Restores the Project identified by the specified `project_id` (for example, `
# my-project-123`). You can only use this method for a Project that has a
# lifecycle state of DELETE_REQUESTED. After deletion starts, as indicated by a
# lifecycle state of DELETE_IN_PROGRESS, the Project cannot be restored. The
# caller must have modify permissions for this Project.
# lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot
# be restored. The caller must have modify permissions for this Project.
# @param [String] project_id
# The project ID (for example, `foo-bar-123`). Required.
# @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object
@ -347,17 +345,27 @@ module Google
# Sets the IAM access control policy for the specified Project. Replaces any
# existing policy. The following constraints apply when using `setIamPolicy()`: +
# Project currently supports only `user:`emailid`` and `serviceAccount:`emailid`
# ` members in a `Binding` of a `Policy`. + To be added as an `owner`, a user
# must be invited via Cloud Platform console and must accept the invitation. +
# Members cannot be added to more than one role in the same policy. + There must
# be at least one owner who has accepted the Terms of Service (ToS) agreement in
# the policy. Calling `setIamPolicy()` to to remove the last ToS-accepted owner
# from the policy will fail. + Calling this method requires enabling the App
# Engine Admin API. Note: Removing service accounts from policies or changing
# their roles can render services completely inoperable. It is important to
# understand how the service account is being used before removing or updating
# its roles.
# Project does not support `allUsers` and `allAuthenticatedUsers` as `members`
# in a `Binding` of a `Policy`. + The owner role can be granted only to `user`
# and `serviceAccount`. + Service accounts can be made owners of a project
# directly without any restrictions. However, to be added as an owner, a user
# must be invited via Cloud Platform console and must accept the invitation. + A
# user cannot be granted the owner role using `setIamPolicy()`. The user must be
# granted the owner role using the Cloud Platform Console and must explicitly
# accept the invitation. + Invitations to grant the owner role cannot be sent
# using `setIamPolicy()`; they must be sent only using the Cloud Platform
# Console. + Membership changes that leave the project without any owners that
# have accepted the Terms of Service (ToS) will be rejected. + Members cannot be
# added to more than one role in the same policy. + There must be at least one
# owner who has accepted the Terms of Service (ToS) agreement in the policy.
# Calling `setIamPolicy()` to to remove the last ToS-accepted owner from the
# policy will fail. This restriction also applies to legacy projects that no
# longer have owners who have accepted the ToS. Edits to IAM policies will be
# rejected until the lack of a ToS-accepting owner is rectified. + Calling this
# method requires enabling the App Engine Admin API. Note: Removing service
# accounts from policies or changing their roles can render services completely
# inoperable. It is important to understand how the service account is being
# used before removing or updating its roles.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified. `resource` is
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
@ -475,9 +483,13 @@ module Google
execute_or_queue_command(command, &block)
end
# Fetches an Organization resource identified by the specified `organization_id`.
# Fetches an Organization resource identified by the specified resource name.
# @param [String] name
# The resource name of the Organization to fetch. Its format is "organizations/[
# organization_id]". For example, "organizations/1234".
# @param [String] organization_id
# The id of the Organization resource to fetch.
# The id of the Organization resource to fetch. This field is deprecated and
# will be removed in v1. Use name instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -495,20 +507,22 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization(organization_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/organizations/{organizationId}', options)
def get_organization(name, organization_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
command.params['organizationId'] = organization_id unless organization_id.nil?
command.params['name'] = name unless name.nil?
command.query['organizationId'] = organization_id unless organization_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
# Updates an Organization resource identified by the specified `organization_id`.
# @param [String] organization_id
# An immutable id for the Organization that is assigned on creation. This should
# be omitted when creating a new Organization. This field is read-only.
# Updates an Organization resource identified by the specified resource name.
# @param [String] name
# Output Only. The resource name of the organization. This is the organization's
# relative path in the API. Its format is "organizations/[organization_id]". For
# example, "organizations/1234".
# @param [Google::Apis::CloudresourcemanagerV1beta1::Organization] organization_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -527,20 +541,22 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_organization(organization_id, organization_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/organizations/{organizationId}', options)
def update_organization(name, organization_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
command.request_object = organization_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
command.params['organizationId'] = organization_id unless organization_id.nil?
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets the access control policy on an Organization resource. Replaces any
# existing policy.
# existing policy. The `resource` field should be the organization's resource
# name, e.g. "organizations/123". For backward compatibility, the resource
# provided may also be the organization_id. This will not be supported in v1.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified. `resource` is
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
@ -565,7 +581,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/organizations/{resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
@ -577,7 +593,10 @@ module Google
end
# Gets the access control policy for an Organization resource. May be empty if
# no such policy or resource exists.
# no such policy or resource exists. The `resource` field should be the
# organization's resource name, e.g. "organizations/123". For backward
# compatibility, the resource provided may also be the organization_id. This
# will not be supported in v1.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested. `resource` is
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
@ -602,7 +621,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/organizations/{resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
@ -613,7 +632,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified Organization.
# Returns permissions that a caller has on the specified Organization. The `
# resource` field should be the organization's resource name, e.g. "
# organizations/123". For backward compatibility, the resource provided may also
# be the organization_id. This will not be supported in v1.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested. `
# resource` is usually specified as a path, such as `projects/*project*/zones/*
@ -638,7 +660,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/organizations/{resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation

View File

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

View File

@ -978,6 +978,21 @@ module Google
# @return [String]
attr_accessor :group
# The max number of simultaneous connections for the group. Can be used with
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
# maxConnections or maxConnectionsPerInstance must be set.
# Corresponds to the JSON property `maxConnections`
# @return [Fixnum]
attr_accessor :max_connections
# The max number of simultaneous connections that a single backend instance can
# handle. This is used to calculate the capacity of the group. Can be used in
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
# maxConnections or maxConnectionsPerInstance must be set.
# Corresponds to the JSON property `maxConnectionsPerInstance`
# @return [Fixnum]
attr_accessor :max_connections_per_instance
# The max requests per second (RPS) of the group. Can be used with either RATE
# or UTILIZATION balancing modes, but required if RATE mode. For RATE mode,
# either maxRate or maxRatePerInstance must be set.
@ -1009,6 +1024,8 @@ module Google
@capacity_scaler = args[:capacity_scaler] if args.key?(:capacity_scaler)
@description = args[:description] if args.key?(:description)
@group = args[:group] if args.key?(:group)
@max_connections = args[:max_connections] if args.key?(:max_connections)
@max_connections_per_instance = args[:max_connections_per_instance] if args.key?(:max_connections_per_instance)
@max_rate = args[:max_rate] if args.key?(:max_rate)
@max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance)
@max_utilization = args[:max_utilization] if args.key?(:max_utilization)
@ -1032,6 +1049,11 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::Backend>]
attr_accessor :backends
# Message containing connection draining configuration.
# Corresponds to the JSON property `connectionDraining`
# @return [Google::Apis::ComputeBeta::ConnectionDraining]
attr_accessor :connection_draining
# [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp`
# @return [String]
@ -1134,6 +1156,7 @@ module Google
def update!(**args)
@affinity_cookie_ttl_sec = args[:affinity_cookie_ttl_sec] if args.key?(:affinity_cookie_ttl_sec)
@backends = args[:backends] if args.key?(:backends)
@connection_draining = args[:connection_draining] if args.key?(:connection_draining)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
@ -1182,8 +1205,7 @@ module Google
class BackendServiceList
include Google::Apis::Core::Hashable
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# [Output Only] Unique identifier for the resource; defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@ -1199,11 +1221,7 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# [Output Only] A token used to continue a truncated list request.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1246,30 +1264,50 @@ module Google
end
end
# Message containing connection draining configuration.
class ConnectionDraining
include Google::Apis::Core::Hashable
# Time for which instance will be drained (not accept new connections, but still
# work to finish started).
# Corresponds to the JSON property `drainingTimeoutSec`
# @return [Fixnum]
attr_accessor :draining_timeout_sec
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@draining_timeout_sec = args[:draining_timeout_sec] if args.key?(:draining_timeout_sec)
end
end
# Represents a customer-supplied encryption key
class CustomerEncryptionKey
include Google::Apis::Core::Hashable
# Specifies a 256-bit customer-supplied encryption key, encoded in base64 to
# either encrypt or decrypt this resource.
# Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648
# base64 to either encrypt or decrypt this resource.
# Corresponds to the JSON property `rawKey`
# @return [String]
attr_accessor :raw_key
# Specifies a base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption
# key to either encrypt or decrypt this resource.
# Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied
# encryption key to either encrypt or decrypt this resource.
# The key must meet the following requirements before you can provide it to
# Compute Engine:
# - The key is wrapped using a RSA public key certificate provided by Google.
# - After being wrapped, the key must be encoded in base64 encoding. Get the
# RSA public key certificate provided by Google at:
# - After being wrapped, the key must be encoded in RFC 4648 base64 encoding.
# Get the RSA public key certificate provided by Google at:
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
# Corresponds to the JSON property `rsaEncryptedKey`
# @return [String]
attr_accessor :rsa_encrypted_key
# [Output only] The base64 encoded SHA-256 hash of the customer-supplied
# encryption key that protects this resource.
# [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-
# supplied encryption key that protects this resource.
# Corresponds to the JSON property `sha256`
# @return [String]
attr_accessor :sha256
@ -2593,6 +2631,319 @@ module Google
end
end
#
class Http2HealthCheck
include Google::Apis::Core::Hashable
# The value of the host header in the HTTP/2 health check request. If left empty
# (default value), the IP on behalf of which this health check is performed will
# be used.
# Corresponds to the JSON property `host`
# @return [String]
attr_accessor :host
# The TCP port number for the health check request. The default value is 443.
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Port name as defined in InstanceGroup#NamedPort#name. If both port and
# port_name are defined, port takes precedence.
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
# @return [String]
attr_accessor :proxy_header
# The request path of the HTTP/2 health check request. The default value is /.
# Corresponds to the JSON property `requestPath`
# @return [String]
attr_accessor :request_path
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@host = args[:host] if args.key?(:host)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request_path = args[:request_path] if args.key?(:request_path)
end
end
#
class HttpHealthCheck
include Google::Apis::Core::Hashable
# The value of the host header in the HTTP health check request. If left empty (
# default value), the IP on behalf of which this health check is performed will
# be used.
# Corresponds to the JSON property `host`
# @return [String]
attr_accessor :host
# The TCP port number for the health check request. The default value is 80.
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Port name as defined in InstanceGroup#NamedPort#name. If both port and
# port_name are defined, port takes precedence.
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
# @return [String]
attr_accessor :proxy_header
# The request path of the HTTP health check request. The default value is /.
# Corresponds to the JSON property `requestPath`
# @return [String]
attr_accessor :request_path
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@host = args[:host] if args.key?(:host)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request_path = args[:request_path] if args.key?(:request_path)
end
end
#
class HttpsHealthCheck
include Google::Apis::Core::Hashable
# The value of the host header in the HTTPS health check request. If left empty (
# default value), the IP on behalf of which this health check is performed will
# be used.
# Corresponds to the JSON property `host`
# @return [String]
attr_accessor :host
# The TCP port number for the health check request. The default value is 443.
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Port name as defined in InstanceGroup#NamedPort#name. If both port and
# port_name are defined, port takes precedence.
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
# @return [String]
attr_accessor :proxy_header
# The request path of the HTTPS health check request. The default value is /.
# Corresponds to the JSON property `requestPath`
# @return [String]
attr_accessor :request_path
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@host = args[:host] if args.key?(:host)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request_path = args[:request_path] if args.key?(:request_path)
end
end
# An HealthCheck resource. This resource defines a template for how individual
# virtual machines should be checked for health, via one of the supported
# protocols.
class HealthCheck
include Google::Apis::Core::Hashable
# How often (in seconds) to send a health check. The default value is 5 seconds.
# Corresponds to the JSON property `checkIntervalSec`
# @return [Fixnum]
attr_accessor :check_interval_sec
# [Output Only] Creation timestamp in 3339 text format.
# Corresponds to the JSON property `creationTimestamp`
# @return [String]
attr_accessor :creation_timestamp
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# A so-far unhealthy instance will be marked healthy after this many consecutive
# successes. The default value is 2.
# Corresponds to the JSON property `healthyThreshold`
# @return [Fixnum]
attr_accessor :healthy_threshold
#
# Corresponds to the JSON property `http2HealthCheck`
# @return [Google::Apis::ComputeBeta::Http2HealthCheck]
attr_accessor :http2_health_check
#
# Corresponds to the JSON property `httpHealthCheck`
# @return [Google::Apis::ComputeBeta::HttpHealthCheck]
attr_accessor :http_health_check
#
# Corresponds to the JSON property `httpsHealthCheck`
# @return [Google::Apis::ComputeBeta::HttpsHealthCheck]
attr_accessor :https_health_check
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# Type of the resource.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
# and all following characters must be a dash, lowercase letter, or digit,
# except the last character, which cannot be a dash.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
#
# Corresponds to the JSON property `sslHealthCheck`
# @return [Google::Apis::ComputeBeta::SslHealthCheck]
attr_accessor :ssl_health_check
#
# Corresponds to the JSON property `tcpHealthCheck`
# @return [Google::Apis::ComputeBeta::TcpHealthCheck]
attr_accessor :tcp_health_check
# How long (in seconds) to wait before claiming failure. The default value is 5
# seconds. It is invalid for timeoutSec to have greater value than
# checkIntervalSec.
# Corresponds to the JSON property `timeoutSec`
# @return [Fixnum]
attr_accessor :timeout_sec
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
# If not specified, the default is TCP. Exactly one of the protocol-specific
# health check field must be specified, which must match type field.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
# A so-far healthy instance will be marked unhealthy after this many consecutive
# failures. The default value is 2.
# Corresponds to the JSON property `unhealthyThreshold`
# @return [Fixnum]
attr_accessor :unhealthy_threshold
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
@http2_health_check = args[:http2_health_check] if args.key?(:http2_health_check)
@http_health_check = args[:http_health_check] if args.key?(:http_health_check)
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@self_link = args[:self_link] if args.key?(:self_link)
@ssl_health_check = args[:ssl_health_check] if args.key?(:ssl_health_check)
@tcp_health_check = args[:tcp_health_check] if args.key?(:tcp_health_check)
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
@type = args[:type] if args.key?(:type)
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
end
end
# Contains a list of HealthCheck resources.
class HealthCheckList
include Google::Apis::Core::Hashable
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# A list of HealthCheck resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeBeta::HealthCheck>]
attr_accessor :items
# Type of resource.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
end
end
# A full or valid partial URL to a health check. For example, the following are
# valid URLs:
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
@ -3066,7 +3417,7 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# Any applicable publicly visible licenses.
# Any applicable license URI.
# Corresponds to the JSON property `licenses`
# @return [Array<String>]
attr_accessor :licenses
@ -3653,7 +4004,7 @@ module Google
end
end
#
# An Instance Template Manager resource.
class InstanceGroupManager
include Google::Apis::Core::Hashable
@ -7324,6 +7675,56 @@ module Google
end
end
#
class SslHealthCheck
include Google::Apis::Core::Hashable
# The TCP port number for the health check request. The default value is 443.
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Port name as defined in InstanceGroup#NamedPort#name. If both port and
# port_name are defined, port takes precedence.
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
# @return [String]
attr_accessor :proxy_header
# The application data to send once the SSL connection has been established (
# default value is empty). If both request and response are empty, the
# connection establishment alone will indicate health. The request data can only
# be ASCII.
# Corresponds to the JSON property `request`
# @return [String]
attr_accessor :request
# The bytes to match against the beginning of the response data. If left empty (
# the default value), any response will indicate health. The response data can
# only be ASCII.
# Corresponds to the JSON property `response`
# @return [String]
attr_accessor :response
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request = args[:request] if args.key?(:request)
@response = args[:response] if args.key?(:response)
end
end
# Sets the scheduling options for an Instance.
class Scheduling
include Google::Apis::Core::Hashable
@ -8018,6 +8419,56 @@ module Google
end
end
#
class TcpHealthCheck
include Google::Apis::Core::Hashable
# The TCP port number for the health check request. The default value is 80.
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Port name as defined in InstanceGroup#NamedPort#name. If both port and
# port_name are defined, port takes precedence.
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
# @return [String]
attr_accessor :proxy_header
# The application data to send once the TCP connection has been established (
# default value is empty). If both request and response are empty, the
# connection establishment alone will indicate health. The request data can only
# be ASCII.
# Corresponds to the JSON property `request`
# @return [String]
attr_accessor :request
# The bytes to match against the beginning of the response data. If left empty (
# the default value), any response will indicate health. The response data can
# only be ASCII.
# Corresponds to the JSON property `response`
# @return [String]
attr_accessor :response
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request = args[:request] if args.key?(:request)
@response = args[:response] if args.key?(:response)
end
end
# A set of instance tags.
class Tags
include Google::Apis::Core::Hashable
@ -9017,6 +9468,190 @@ module Google
end
end
#
class TargetSslProxiesSetBackendServiceRequest
include Google::Apis::Core::Hashable
# The URL of the new BackendService resource for the targetSslProxy.
# Corresponds to the JSON property `service`
# @return [String]
attr_accessor :service
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@service = args[:service] if args.key?(:service)
end
end
#
class TargetSslProxiesSetProxyHeaderRequest
include Google::Apis::Core::Hashable
# The new type of proxy header to append before sending data to the backend.
# NONE or PROXY_V1 are allowed.
# Corresponds to the JSON property `proxyHeader`
# @return [String]
attr_accessor :proxy_header
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
end
end
#
class TargetSslProxiesSetSslCertificatesRequest
include Google::Apis::Core::Hashable
# New set of URLs to SslCertificate resources to associate with this
# TargetSslProxy. Currently exactly one ssl certificate must be specified.
# Corresponds to the JSON property `sslCertificates`
# @return [Array<String>]
attr_accessor :ssl_certificates
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
end
end
# A TargetSslProxy resource. This resource defines an SSL proxy.
class TargetSslProxy
include Google::Apis::Core::Hashable
# [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp`
# @return [String]
attr_accessor :creation_timestamp
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# [Output Only] Type of the resource. Always compute#targetSslProxy for target
# SSL proxies.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
# and all following characters must be a dash, lowercase letter, or digit,
# except the last character, which cannot be a dash.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
# @return [String]
attr_accessor :proxy_header
# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# URL to the BackendService resource.
# Corresponds to the JSON property `service`
# @return [String]
attr_accessor :service
# URLs to SslCertificate resources that are used to authenticate connections to
# Backends. Currently exactly one SSL certificate must be specified.
# Corresponds to the JSON property `sslCertificates`
# @return [Array<String>]
attr_accessor :ssl_certificates
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@self_link = args[:self_link] if args.key?(:self_link)
@service = args[:service] if args.key?(:service)
@ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
end
end
# Contains a list of TargetSslProxy resources.
class TargetSslProxyList
include Google::Apis::Core::Hashable
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# A list of TargetSslProxy resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeBeta::TargetSslProxy>]
attr_accessor :items
# Type of resource.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
end
end
# Represents a Target VPN gateway resource.
class TargetVpnGateway
include Google::Apis::Core::Hashable

View File

@ -166,6 +166,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ConnectionDraining
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomerEncryptionKey
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -328,6 +334,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Http2HealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpHealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpsHealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HealthCheckList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HealthCheckReference
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -940,6 +976,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SslHealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Scheduling
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1018,6 +1060,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TcpHealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Tags
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1162,6 +1210,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TargetSslProxiesSetBackendServiceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetSslProxiesSetProxyHeaderRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetSslProxiesSetSslCertificatesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetSslProxy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetSslProxyList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetVpnGateway
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1542,6 +1620,8 @@ module Google
property :capacity_scaler, as: 'capacityScaler'
property :description, as: 'description'
property :group, as: 'group'
property :max_connections, as: 'maxConnections'
property :max_connections_per_instance, as: 'maxConnectionsPerInstance'
property :max_rate, as: 'maxRate'
property :max_rate_per_instance, as: 'maxRatePerInstance'
property :max_utilization, as: 'maxUtilization'
@ -1554,6 +1634,8 @@ module Google
property :affinity_cookie_ttl_sec, as: 'affinityCookieTtlSec'
collection :backends, as: 'backends', class: Google::Apis::ComputeBeta::Backend, decorator: Google::Apis::ComputeBeta::Backend::Representation
property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeBeta::ConnectionDraining, decorator: Google::Apis::ComputeBeta::ConnectionDraining::Representation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :enable_cdn, as: 'enableCDN'
@ -1600,6 +1682,13 @@ module Google
end
end
class ConnectionDraining
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :draining_timeout_sec, as: 'drainingTimeoutSec'
end
end
class CustomerEncryptionKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1914,6 +2003,78 @@ module Google
end
end
class Http2HealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
end
end
class HttpHealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
end
end
class HttpsHealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
end
end
class HealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :check_interval_sec, as: 'checkIntervalSec'
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :healthy_threshold, as: 'healthyThreshold'
property :http2_health_check, as: 'http2HealthCheck', class: Google::Apis::ComputeBeta::Http2HealthCheck, decorator: Google::Apis::ComputeBeta::Http2HealthCheck::Representation
property :http_health_check, as: 'httpHealthCheck', class: Google::Apis::ComputeBeta::HttpHealthCheck, decorator: Google::Apis::ComputeBeta::HttpHealthCheck::Representation
property :https_health_check, as: 'httpsHealthCheck', class: Google::Apis::ComputeBeta::HttpsHealthCheck, decorator: Google::Apis::ComputeBeta::HttpsHealthCheck::Representation
property :id, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :self_link, as: 'selfLink'
property :ssl_health_check, as: 'sslHealthCheck', class: Google::Apis::ComputeBeta::SslHealthCheck, decorator: Google::Apis::ComputeBeta::SslHealthCheck::Representation
property :tcp_health_check, as: 'tcpHealthCheck', class: Google::Apis::ComputeBeta::TcpHealthCheck, decorator: Google::Apis::ComputeBeta::TcpHealthCheck::Representation
property :timeout_sec, as: 'timeoutSec'
property :type, as: 'type'
property :unhealthy_threshold, as: 'unhealthyThreshold'
end
end
class HealthCheckList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeBeta::HealthCheck, decorator: Google::Apis::ComputeBeta::HealthCheck::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
end
end
class HealthCheckReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3084,6 +3245,17 @@ module Google
end
end
class SslHealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :port, as: 'port'
property :port_name, as: 'portName'
property :proxy_header, as: 'proxyHeader'
property :request, as: 'request'
property :response, as: 'response'
end
end
class Scheduling
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3243,6 +3415,17 @@ module Google
end
end
class TcpHealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :port, as: 'port'
property :port_name, as: 'portName'
property :proxy_header, as: 'proxyHeader'
property :request, as: 'request'
property :response, as: 'response'
end
end
class Tags
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3494,6 +3677,54 @@ module Google
end
end
class TargetSslProxiesSetBackendServiceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :service, as: 'service'
end
end
class TargetSslProxiesSetProxyHeaderRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :proxy_header, as: 'proxyHeader'
end
end
class TargetSslProxiesSetSslCertificatesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :ssl_certificates, as: 'sslCertificates'
end
end
class TargetSslProxy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :id, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :proxy_header, as: 'proxyHeader'
property :self_link, as: 'selfLink'
property :service, as: 'service'
collection :ssl_certificates, as: 'sslCertificates'
end
end
class TargetSslProxyList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeBeta::TargetSslProxy, decorator: Google::Apis::ComputeBeta::TargetSslProxy::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
end
end
class TargetVpnGateway
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -3281,6 +3281,326 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the specified HealthCheck resource.
# @param [String] project
# Project ID for this request.
# @param [String] health_check
# Name of the HealthCheck resource to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{project}/global/healthChecks/{healthCheck}', options)
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['healthCheck'] = health_check unless health_check.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns the specified HealthCheck resource. Get a list of available health
# checks by making a list() request.
# @param [String] project
# Project ID for this request.
# @param [String] health_check
# Name of the HealthCheck resource to return.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::HealthCheck] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::HealthCheck]
#
# @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_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/healthChecks/{healthCheck}', options)
command.response_representation = Google::Apis::ComputeBeta::HealthCheck::Representation
command.response_class = Google::Apis::ComputeBeta::HealthCheck
command.params['project'] = project unless project.nil?
command.params['healthCheck'] = health_check unless health_check.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates a HealthCheck resource in the specified project using the data
# included in the request.
# @param [String] project
# Project ID for this request.
# @param [Google::Apis::ComputeBeta::HealthCheck] health_check_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_health_check(project, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/healthChecks', options)
command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation
command.request_object = health_check_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the list of HealthCheck resources available to the specified project.
# @param [String] project
# Project ID for this request.
# @param [String] filter
# Sets a filter expression for filtering listed resources, in the form filter=`
# expression`. Your `expression` must be in the format: field_name
# comparison_string literal_string.
# The field_name is the name of the field you want to compare. Only atomic field
# types are supported (string, number, boolean). The comparison_string must be
# either eq (equals) or ne (not equals). The literal_string is the string value
# to filter to. The literal value must be valid for the type of field you are
# filtering by (string, number, boolean). For string fields, the literal value
# is interpreted as a regular expression using RE2 syntax. The literal value
# must match the entire field.
# For example, to filter for instances that do not have a name of example-
# instance, you would use filter=name ne example-instance.
# Compute Engine Beta API Only: When filtering in the Beta API, you can also
# filter on nested fields. For example, you could filter on instances that have
# set the scheduling.automaticRestart field to true. Use filtering on nested
# fields to take advantage of labels to organize and search for results based on
# label values.
# The Beta API also supports filtering on multiple expressions by providing each
# separate expression within parentheses. For example, (scheduling.
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
# treated as AND expressions, meaning that resources must match all expressions
# to pass the filters.
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests.
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::HealthCheckList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::HealthCheckList]
#
# @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_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/healthChecks', options)
command.response_representation = Google::Apis::ComputeBeta::HealthCheckList::Representation
command.response_class = Google::Apis::ComputeBeta::HealthCheckList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Updates a HealthCheck resource in the specified project using the data
# included in the request. This method supports patch semantics.
# @param [String] project
# Project ID for this request.
# @param [String] health_check
# Name of the HealthCheck resource to update.
# @param [Google::Apis::ComputeBeta::HealthCheck] health_check_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_health_check(project, health_check, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{project}/global/healthChecks/{healthCheck}', options)
command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation
command.request_object = health_check_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['healthCheck'] = health_check unless health_check.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# @param [String] project
# Project ID for this request.
# @param [String] resource
# Name of the resource for this request.
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/healthChecks/{resource}/testIamPermissions', options)
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
command.request_object = test_permissions_request_object
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
command.params['project'] = project unless project.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Updates a HealthCheck resource in the specified project using the data
# included in the request.
# @param [String] project
# Project ID for this request.
# @param [String] health_check
# Name of the HealthCheck resource to update.
# @param [Google::Apis::ComputeBeta::HealthCheck] health_check_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_health_check(project, health_check, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{project}/global/healthChecks/{healthCheck}', options)
command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation
command.request_object = health_check_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['healthCheck'] = health_check unless health_check.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified HttpHealthCheck resource.
# @param [String] project
# Project ID for this request.
@ -10843,6 +11163,366 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the specified TargetSslProxy resource.
# @param [String] project
# Project ID for this request.
# @param [String] target_ssl_proxy
# Name of the TargetSslProxy resource to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{project}/global/targetSslProxies/{targetSslProxy}', options)
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns the specified TargetSslProxy resource. Get a list of available target
# SSL proxies by making a list() request.
# @param [String] project
# Project ID for this request.
# @param [String] target_ssl_proxy
# Name of the TargetSslProxy resource to return.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::TargetSslProxy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::TargetSslProxy]
#
# @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_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/targetSslProxies/{targetSslProxy}', options)
command.response_representation = Google::Apis::ComputeBeta::TargetSslProxy::Representation
command.response_class = Google::Apis::ComputeBeta::TargetSslProxy
command.params['project'] = project unless project.nil?
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates a TargetSslProxy resource in the specified project using the data
# included in the request.
# @param [String] project
# Project ID for this request.
# @param [Google::Apis::ComputeBeta::TargetSslProxy] target_ssl_proxy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/targetSslProxies', options)
command.request_representation = Google::Apis::ComputeBeta::TargetSslProxy::Representation
command.request_object = target_ssl_proxy_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the list of TargetSslProxy resources available to the specified
# project.
# @param [String] project
# Project ID for this request.
# @param [String] filter
# Sets a filter expression for filtering listed resources, in the form filter=`
# expression`. Your `expression` must be in the format: field_name
# comparison_string literal_string.
# The field_name is the name of the field you want to compare. Only atomic field
# types are supported (string, number, boolean). The comparison_string must be
# either eq (equals) or ne (not equals). The literal_string is the string value
# to filter to. The literal value must be valid for the type of field you are
# filtering by (string, number, boolean). For string fields, the literal value
# is interpreted as a regular expression using RE2 syntax. The literal value
# must match the entire field.
# For example, to filter for instances that do not have a name of example-
# instance, you would use filter=name ne example-instance.
# Compute Engine Beta API Only: When filtering in the Beta API, you can also
# filter on nested fields. For example, you could filter on instances that have
# set the scheduling.automaticRestart field to true. Use filtering on nested
# fields to take advantage of labels to organize and search for results based on
# label values.
# The Beta API also supports filtering on multiple expressions by providing each
# separate expression within parentheses. For example, (scheduling.
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
# treated as AND expressions, meaning that resources must match all expressions
# to pass the filters.
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests.
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::TargetSslProxyList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::TargetSslProxyList]
#
# @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_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/targetSslProxies', options)
command.response_representation = Google::Apis::ComputeBeta::TargetSslProxyList::Representation
command.response_class = Google::Apis::ComputeBeta::TargetSslProxyList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Changes the BackendService for TargetSslProxy.
# @param [String] project
# Project ID for this request.
# @param [String] target_ssl_proxy
# Name of the TargetSslProxy resource whose BackendService resource is to be set.
# @param [Google::Apis::ComputeBeta::TargetSslProxiesSetBackendServiceRequest] target_ssl_proxies_set_backend_service_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options)
command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetBackendServiceRequest::Representation
command.request_object = target_ssl_proxies_set_backend_service_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Changes the ProxyHeaderType for TargetSslProxy.
# @param [String] project
# Project ID for this request.
# @param [String] target_ssl_proxy
# Name of the TargetSslProxy resource whose ProxyHeader is to be set.
# @param [Google::Apis::ComputeBeta::TargetSslProxiesSetProxyHeaderRequest] target_ssl_proxies_set_proxy_header_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options)
command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetProxyHeaderRequest::Representation
command.request_object = target_ssl_proxies_set_proxy_header_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Changes SslCertificates for TargetSslProxy.
# @param [String] project
# Project ID for this request.
# @param [String] target_ssl_proxy
# Name of the TargetSslProxy resource whose SslCertificate resource is to be set.
# @param [Google::Apis::ComputeBeta::TargetSslProxiesSetSslCertificatesRequest] target_ssl_proxies_set_ssl_certificates_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options)
command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetSslCertificatesRequest::Representation
command.request_object = target_ssl_proxies_set_ssl_certificates_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# @param [String] project
# Project ID for this request.
# @param [String] resource
# Name of the resource for this request.
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_target_ssl_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/targetSslProxies/{resource}/testIamPermissions', options)
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
command.request_object = test_permissions_request_object
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
command.params['project'] = project unless project.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves an aggregated list of target VPN gateways.
# @param [String] project
# Project ID for this request.

View File

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

View File

@ -1030,6 +1030,12 @@ module Google
# @return [String]
attr_accessor :description
# If true, enable Cloud CDN for this BackendService.
# Corresponds to the JSON property `enableCDN`
# @return [Boolean]
attr_accessor :enable_cdn
alias_method :enable_cdn?, :enable_cdn
# Fingerprint of this resource. A hash of the contents stored in this object.
# This field is used in optimistic locking. This field will be ignored when
# inserting a BackendService. An up-to-date fingerprint must be provided in
@ -1111,6 +1117,7 @@ module Google
@backends = args[:backends] if args.key?(:backends)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@health_checks = args[:health_checks] if args.key?(:health_checks)
@id = args[:id] if args.key?(:id)
@ -1155,8 +1162,7 @@ module Google
class BackendServiceList
include Google::Apis::Core::Hashable
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# [Output Only] Unique identifier for the resource; defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@ -1172,11 +1178,7 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# [Output Only] A token used to continue a truncated list request.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1200,18 +1202,37 @@ module Google
end
end
#
class CacheInvalidationRule
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `path`
# @return [String]
attr_accessor :path
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@path = args[:path] if args.key?(:path)
end
end
# Represents a customer-supplied encryption key
class CustomerEncryptionKey
include Google::Apis::Core::Hashable
# Specifies a 256-bit customer-supplied encryption key, encoded in base64 to
# either encrypt or decrypt this resource.
# Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648
# base64 to either encrypt or decrypt this resource.
# Corresponds to the JSON property `rawKey`
# @return [String]
attr_accessor :raw_key
# [Output only] The base64 encoded SHA-256 hash of the customer-supplied
# encryption key that protects this resource.
# [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-
# supplied encryption key that protects this resource.
# Corresponds to the JSON property `sha256`
# @return [String]
attr_accessor :sha256
@ -2930,7 +2951,7 @@ module Google
# @return [String]
attr_accessor :kind
# Any applicable publicly visible licenses.
# Any applicable license URI.
# Corresponds to the JSON property `licenses`
# @return [Array<String>]
attr_accessor :licenses
@ -3496,7 +3517,7 @@ module Google
end
end
#
# An Instance Template Manager resource.
class InstanceGroupManager
include Google::Apis::Core::Hashable

View File

@ -160,6 +160,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class CacheInvalidationRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomerEncryptionKey
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1506,6 +1512,7 @@ module Google
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :enable_cdn, as: 'enableCDN'
property :fingerprint, :base64 => true, as: 'fingerprint'
collection :health_checks, as: 'healthChecks'
property :id, as: 'id'
@ -1541,6 +1548,13 @@ module Google
end
end
class CacheInvalidationRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :path, as: 'path'
end
end
class CustomerEncryptionKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -9445,6 +9445,48 @@ module Google
execute_or_queue_command(command, &block)
end
# Initiates a cache invalidation operation, invalidating the specified path,
# scoped to the specified UrlMap.
# @param [String] project
# Project ID for this request.
# @param [String] url_map
# Name of the UrlMap scoping this request.
# @param [Google::Apis::ComputeV1::CacheInvalidationRule] cache_invalidation_rule_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::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 invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/invalidateCache', options)
command.request_representation = Google::Apis::ComputeV1::CacheInvalidationRule::Representation
command.request_object = cache_invalidation_rule_object
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
command.response_class = Google::Apis::ComputeV1::Operation
command.params['project'] = project unless project.nil?
command.params['urlMap'] = url_map unless url_map.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the list of UrlMap resources available to the specified project.
# @param [String] project
# Project ID for this request.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20160520'
REVISION = '20160602'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -493,6 +493,18 @@ module Google
# @return [Google::Apis::ContentV2::AccountShippingShippingServiceCostRule]
attr_accessor :cost_rule_tree
# The maximum number of days in transit. Must be a value between 0 and 250
# included. A value of 0 means same day delivery.
# Corresponds to the JSON property `maxDaysInTransit`
# @return [String]
attr_accessor :max_days_in_transit
# The minimum number of days in transit. Must be a value between 0 and
# maxDaysIntransit included. A value of 0 means same day delivery.
# Corresponds to the JSON property `minDaysInTransit`
# @return [String]
attr_accessor :min_days_in_transit
# The name of this shipping service.
# Corresponds to the JSON property `name`
# @return [String]
@ -512,6 +524,8 @@ module Google
@active = args[:active] if args.key?(:active)
@calculation_method = args[:calculation_method] if args.key?(:calculation_method)
@cost_rule_tree = args[:cost_rule_tree] if args.key?(:cost_rule_tree)
@max_days_in_transit = args[:max_days_in_transit] if args.key?(:max_days_in_transit)
@min_days_in_transit = args[:min_days_in_transit] if args.key?(:min_days_in_transit)
@name = args[:name] if args.key?(:name)
@sale_country = args[:sale_country] if args.key?(:sale_country)
end

View File

@ -1037,6 +1037,8 @@ module Google
property :cost_rule_tree, as: 'costRuleTree', class: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule::Representation
property :max_days_in_transit, as: 'maxDaysInTransit'
property :min_days_in_transit, as: 'minDaysInTransit'
property :name, as: 'name'
property :sale_country, as: 'saleCountry'
end

View File

@ -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/datastore_v1beta3/service.rb'
require 'google/apis/datastore_v1beta3/classes.rb'
require 'google/apis/datastore_v1beta3/representations.rb'
module Google
module Apis
# Google Cloud Datastore API
#
# Accesses the schemaless NoSQL database to provide fully managed, robust,
# scalable storage for your application.
#
# @see https://cloud.google.com/datastore/
module DatastoreV1beta3
VERSION = 'V1beta3'
REVISION = '20160614'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
# View and manage your Google Cloud Datastore data
AUTH_DATASTORE = 'https://www.googleapis.com/auth/datastore'
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,567 @@
# 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 DatastoreV1beta3
class Value
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReadOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PropertyOrder
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CommitRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Query
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RollbackRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EntityResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GqlQueryParameter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ArrayValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Filter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BeginTransactionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PartitionId
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class QueryResultBatch
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AllocateIdsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class KindExpression
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PropertyFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PathElement
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RollbackResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PropertyReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Projection
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MutationResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AllocateIdsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LookupResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BeginTransactionRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Key
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RunQueryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Entity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GqlQuery
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Mutation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CommitResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RunQueryRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LookupRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LatLng
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompositeFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Value
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :string_value, as: 'stringValue'
property :array_value, as: 'arrayValue', class: Google::Apis::DatastoreV1beta3::ArrayValue, decorator: Google::Apis::DatastoreV1beta3::ArrayValue::Representation
property :entity_value, as: 'entityValue', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
property :meaning, as: 'meaning'
property :integer_value, as: 'integerValue'
property :double_value, as: 'doubleValue'
property :blob_value, :base64 => true, as: 'blobValue'
property :geo_point_value, as: 'geoPointValue', class: Google::Apis::DatastoreV1beta3::LatLng, decorator: Google::Apis::DatastoreV1beta3::LatLng::Representation
property :null_value, as: 'nullValue'
property :boolean_value, as: 'booleanValue'
property :key_value, as: 'keyValue', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
property :exclude_from_indexes, as: 'excludeFromIndexes'
property :timestamp_value, as: 'timestampValue'
end
end
class ReadOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :transaction, :base64 => true, as: 'transaction'
property :read_consistency, as: 'readConsistency'
end
end
class PropertyOrder
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :direction, as: 'direction'
property :property, as: 'property', class: Google::Apis::DatastoreV1beta3::PropertyReference, decorator: Google::Apis::DatastoreV1beta3::PropertyReference::Representation
end
end
class CommitRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :transaction, :base64 => true, as: 'transaction'
property :mode, as: 'mode'
collection :mutations, as: 'mutations', class: Google::Apis::DatastoreV1beta3::Mutation, decorator: Google::Apis::DatastoreV1beta3::Mutation::Representation
end
end
class Query
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :limit, as: 'limit'
property :filter, as: 'filter', class: Google::Apis::DatastoreV1beta3::Filter, decorator: Google::Apis::DatastoreV1beta3::Filter::Representation
property :end_cursor, :base64 => true, as: 'endCursor'
collection :distinct_on, as: 'distinctOn', class: Google::Apis::DatastoreV1beta3::PropertyReference, decorator: Google::Apis::DatastoreV1beta3::PropertyReference::Representation
property :offset, as: 'offset'
collection :projection, as: 'projection', class: Google::Apis::DatastoreV1beta3::Projection, decorator: Google::Apis::DatastoreV1beta3::Projection::Representation
collection :order, as: 'order', class: Google::Apis::DatastoreV1beta3::PropertyOrder, decorator: Google::Apis::DatastoreV1beta3::PropertyOrder::Representation
property :start_cursor, :base64 => true, as: 'startCursor'
collection :kind, as: 'kind', class: Google::Apis::DatastoreV1beta3::KindExpression, decorator: Google::Apis::DatastoreV1beta3::KindExpression::Representation
end
end
class RollbackRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :transaction, :base64 => true, as: 'transaction'
end
end
class EntityResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cursor, :base64 => true, as: 'cursor'
property :entity, as: 'entity', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
end
end
class GqlQueryParameter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :value, as: 'value', class: Google::Apis::DatastoreV1beta3::Value, decorator: Google::Apis::DatastoreV1beta3::Value::Representation
property :cursor, :base64 => true, as: 'cursor'
end
end
class ArrayValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :values, as: 'values', class: Google::Apis::DatastoreV1beta3::Value, decorator: Google::Apis::DatastoreV1beta3::Value::Representation
end
end
class Filter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :property_filter, as: 'propertyFilter', class: Google::Apis::DatastoreV1beta3::PropertyFilter, decorator: Google::Apis::DatastoreV1beta3::PropertyFilter::Representation
property :composite_filter, as: 'compositeFilter', class: Google::Apis::DatastoreV1beta3::CompositeFilter, decorator: Google::Apis::DatastoreV1beta3::CompositeFilter::Representation
end
end
class BeginTransactionResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :transaction, :base64 => true, as: 'transaction'
end
end
class PartitionId
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :namespace_id, as: 'namespaceId'
property :project_id, as: 'projectId'
end
end
class QueryResultBatch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_cursor, :base64 => true, as: 'endCursor'
property :skipped_cursor, :base64 => true, as: 'skippedCursor'
property :entity_result_type, as: 'entityResultType'
property :more_results, as: 'moreResults'
collection :entity_results, as: 'entityResults', class: Google::Apis::DatastoreV1beta3::EntityResult, decorator: Google::Apis::DatastoreV1beta3::EntityResult::Representation
property :skipped_results, as: 'skippedResults'
end
end
class AllocateIdsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :keys, as: 'keys', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
end
end
class KindExpression
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
end
end
class PropertyFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :value, as: 'value', class: Google::Apis::DatastoreV1beta3::Value, decorator: Google::Apis::DatastoreV1beta3::Value::Representation
property :op, as: 'op'
property :property, as: 'property', class: Google::Apis::DatastoreV1beta3::PropertyReference, decorator: Google::Apis::DatastoreV1beta3::PropertyReference::Representation
end
end
class PathElement
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :id, as: 'id'
property :name, as: 'name'
end
end
class RollbackResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class PropertyReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
end
end
class Projection
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :property, as: 'property', class: Google::Apis::DatastoreV1beta3::PropertyReference, decorator: Google::Apis::DatastoreV1beta3::PropertyReference::Representation
end
end
class MutationResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
end
end
class AllocateIdsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :keys, as: 'keys', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
end
end
class LookupResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :found, as: 'found', class: Google::Apis::DatastoreV1beta3::EntityResult, decorator: Google::Apis::DatastoreV1beta3::EntityResult::Representation
collection :missing, as: 'missing', class: Google::Apis::DatastoreV1beta3::EntityResult, decorator: Google::Apis::DatastoreV1beta3::EntityResult::Representation
collection :deferred, as: 'deferred', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
end
end
class BeginTransactionRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Key
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
collection :path, as: 'path', class: Google::Apis::DatastoreV1beta3::PathElement, decorator: Google::Apis::DatastoreV1beta3::PathElement::Representation
end
end
class RunQueryResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :batch, as: 'batch', class: Google::Apis::DatastoreV1beta3::QueryResultBatch, decorator: Google::Apis::DatastoreV1beta3::QueryResultBatch::Representation
property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::Query, decorator: Google::Apis::DatastoreV1beta3::Query::Representation
end
end
class Entity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :properties, as: 'properties', class: Google::Apis::DatastoreV1beta3::Value, decorator: Google::Apis::DatastoreV1beta3::Value::Representation
property :key, as: 'key', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
end
end
class GqlQuery
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :query_string, as: 'queryString'
hash :named_bindings, as: 'namedBindings', class: Google::Apis::DatastoreV1beta3::GqlQueryParameter, decorator: Google::Apis::DatastoreV1beta3::GqlQueryParameter::Representation
property :allow_literals, as: 'allowLiterals'
collection :positional_bindings, as: 'positionalBindings', class: Google::Apis::DatastoreV1beta3::GqlQueryParameter, decorator: Google::Apis::DatastoreV1beta3::GqlQueryParameter::Representation
end
end
class Mutation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :insert, as: 'insert', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
property :update, as: 'update', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
property :upsert, as: 'upsert', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
property :delete, as: 'delete', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
end
end
class CommitResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :mutation_results, as: 'mutationResults', class: Google::Apis::DatastoreV1beta3::MutationResult, decorator: Google::Apis::DatastoreV1beta3::MutationResult::Representation
property :index_updates, as: 'indexUpdates'
end
end
class RunQueryRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1beta3::GqlQuery, decorator: Google::Apis::DatastoreV1beta3::GqlQuery::Representation
property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1beta3::ReadOptions, decorator: Google::Apis::DatastoreV1beta3::ReadOptions::Representation
property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::Query, decorator: Google::Apis::DatastoreV1beta3::Query::Representation
end
end
class LookupRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1beta3::ReadOptions, decorator: Google::Apis::DatastoreV1beta3::ReadOptions::Representation
collection :keys, as: 'keys', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
end
end
class LatLng
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :latitude, as: 'latitude'
property :longitude, as: 'longitude'
end
end
class CompositeFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :op, as: 'op'
collection :filters, as: 'filters', class: Google::Apis::DatastoreV1beta3::Filter, decorator: Google::Apis::DatastoreV1beta3::Filter::Representation
end
end
end
end
end

View File

@ -0,0 +1,259 @@
# 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 DatastoreV1beta3
# Google Cloud Datastore API
#
# Accesses the schemaless NoSQL database to provide fully managed, robust,
# scalable storage for your application.
#
# @example
# require 'google/apis/datastore_v1beta3'
#
# Datastore = Google::Apis::DatastoreV1beta3 # Alias the module
# service = Datastore::DatastoreService.new
#
# @see https://cloud.google.com/datastore/
class DatastoreService < 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://datastore.googleapis.com/', '')
end
# Queries for entities.
# @param [String] project_id
# The ID of the project against which to make the request.
# @param [Google::Apis::DatastoreV1beta3::RunQueryRequest] run_query_request_object
# @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 [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatastoreV1beta3::RunQueryResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatastoreV1beta3::RunQueryResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def run_project_query(project_id, run_query_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:runQuery', options)
command.request_representation = Google::Apis::DatastoreV1beta3::RunQueryRequest::Representation
command.request_object = run_query_request_object
command.response_representation = Google::Apis::DatastoreV1beta3::RunQueryResponse::Representation
command.response_class = Google::Apis::DatastoreV1beta3::RunQueryResponse
command.params['projectId'] = project_id unless project_id.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
execute_or_queue_command(command, &block)
end
# Begins a new transaction.
# @param [String] project_id
# The ID of the project against which to make the request.
# @param [Google::Apis::DatastoreV1beta3::BeginTransactionRequest] begin_transaction_request_object
# @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 [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatastoreV1beta3::BeginTransactionResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatastoreV1beta3::BeginTransactionResponse]
#
# @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 begin_project_transaction(project_id, begin_transaction_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:beginTransaction', options)
command.request_representation = Google::Apis::DatastoreV1beta3::BeginTransactionRequest::Representation
command.request_object = begin_transaction_request_object
command.response_representation = Google::Apis::DatastoreV1beta3::BeginTransactionResponse::Representation
command.response_class = Google::Apis::DatastoreV1beta3::BeginTransactionResponse
command.params['projectId'] = project_id unless project_id.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
execute_or_queue_command(command, &block)
end
# Allocates IDs for the given keys, which is useful for referencing an entity
# before it is inserted.
# @param [String] project_id
# The ID of the project against which to make the request.
# @param [Google::Apis::DatastoreV1beta3::AllocateIdsRequest] allocate_ids_request_object
# @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 [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatastoreV1beta3::AllocateIdsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatastoreV1beta3::AllocateIdsResponse]
#
# @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 allocate_project_ids(project_id, allocate_ids_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:allocateIds', options)
command.request_representation = Google::Apis::DatastoreV1beta3::AllocateIdsRequest::Representation
command.request_object = allocate_ids_request_object
command.response_representation = Google::Apis::DatastoreV1beta3::AllocateIdsResponse::Representation
command.response_class = Google::Apis::DatastoreV1beta3::AllocateIdsResponse
command.params['projectId'] = project_id unless project_id.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
execute_or_queue_command(command, &block)
end
# Looks up entities by key.
# @param [String] project_id
# The ID of the project against which to make the request.
# @param [Google::Apis::DatastoreV1beta3::LookupRequest] lookup_request_object
# @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 [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatastoreV1beta3::LookupResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatastoreV1beta3::LookupResponse]
#
# @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 lookup_project(project_id, lookup_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:lookup', options)
command.request_representation = Google::Apis::DatastoreV1beta3::LookupRequest::Representation
command.request_object = lookup_request_object
command.response_representation = Google::Apis::DatastoreV1beta3::LookupResponse::Representation
command.response_class = Google::Apis::DatastoreV1beta3::LookupResponse
command.params['projectId'] = project_id unless project_id.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
execute_or_queue_command(command, &block)
end
# Commits a transaction, optionally creating, deleting or modifying some
# entities.
# @param [String] project_id
# The ID of the project against which to make the request.
# @param [Google::Apis::DatastoreV1beta3::CommitRequest] commit_request_object
# @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 [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatastoreV1beta3::CommitResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatastoreV1beta3::CommitResponse]
#
# @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 commit_project(project_id, commit_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:commit', options)
command.request_representation = Google::Apis::DatastoreV1beta3::CommitRequest::Representation
command.request_object = commit_request_object
command.response_representation = Google::Apis::DatastoreV1beta3::CommitResponse::Representation
command.response_class = Google::Apis::DatastoreV1beta3::CommitResponse
command.params['projectId'] = project_id unless project_id.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
execute_or_queue_command(command, &block)
end
# Rolls back a transaction.
# @param [String] project_id
# The ID of the project against which to make the request.
# @param [Google::Apis::DatastoreV1beta3::RollbackRequest] rollback_request_object
# @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 [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatastoreV1beta3::RollbackResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatastoreV1beta3::RollbackResponse]
#
# @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 rollback_project(project_id, rollback_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:rollback', options)
command.request_representation = Google::Apis::DatastoreV1beta3::RollbackRequest::Representation
command.request_object = rollback_request_object
command.response_representation = Google::Apis::DatastoreV1beta3::RollbackResponse::Representation
command.response_class = Google::Apis::DatastoreV1beta3::RollbackResponse
command.params['projectId'] = project_id unless project_id.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.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

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/
module DeploymentmanagerV2
VERSION = 'V2'
REVISION = '20160603'
REVISION = '20160608'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1121,6 +1121,11 @@ module Google
# @return [String]
attr_accessor :name
# An Operation resource, used to manage asynchronous API requests.
# Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerV2::Operation]
attr_accessor :operation
# [Output Only] Self link for the type.
# Corresponds to the JSON property `selfLink`
# @return [String]
@ -1135,6 +1140,7 @@ module Google
@id = args[:id] if args.key?(:id)
@insert_time = args[:insert_time] if args.key?(:insert_time)
@name = args[:name] if args.key?(:name)
@operation = args[:operation] if args.key?(:operation)
@self_link = args[:self_link] if args.key?(:self_link)
end
end

View File

@ -492,6 +492,8 @@ module Google
property :id, as: 'id'
property :insert_time, as: 'insertTime'
property :name, as: 'name'
property :operation, as: 'operation', class: Google::Apis::DeploymentmanagerV2::Operation, decorator: Google::Apis::DeploymentmanagerV2::Operation::Representation
property :self_link, as: 'selfLink'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/doubleclick-search/
module DoubleclicksearchV2
VERSION = 'V2'
REVISION = '20160601'
REVISION = '20160615'
# View and manage your advertising data in DoubleClick Search
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
REVISION = '20160602'
REVISION = '20160609'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV3
VERSION = 'V3'
REVISION = '20160602'
REVISION = '20160609'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -20,12 +20,12 @@ module Google
module Apis
# Fitness
#
# Google Fit API
# Stores and accesses user data in the fitness store from apps on any platform.
#
# @see https://developers.google.com/fit/rest/
module FitnessV1
VERSION = 'V1'
REVISION = '20151021'
REVISION = '20160609'
# View your activity information in Google Fit
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'

View File

@ -192,7 +192,7 @@ module Google
end
end
# See: google3/java/com/google/android/apps/heart/platform/api/Application.java
#
class Application
include Google::Apis::Core::Hashable
@ -294,6 +294,11 @@ module Google
# @return [String]
attr_accessor :duration_millis
#
# Corresponds to the JSON property `period`
# @return [Google::Apis::FitnessV1::BucketByTimePeriod]
attr_accessor :period
def initialize(**args)
update!(**args)
end
@ -301,6 +306,38 @@ module Google
# Update properties of this object
def update!(**args)
@duration_millis = args[:duration_millis] if args.key?(:duration_millis)
@period = args[:period] if args.key?(:period)
end
end
#
class BucketByTimePeriod
include Google::Apis::Core::Hashable
# org.joda.timezone.DateTimeZone
# Corresponds to the JSON property `timeZoneId`
# @return [String]
attr_accessor :time_zone_id
#
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
#
# Corresponds to the JSON property `value`
# @return [Fixnum]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@time_zone_id = args[:time_zone_id] if args.key?(:time_zone_id)
@type = args[:type] if args.key?(:type)
@value = args[:value] if args.key?(:value)
end
end
@ -400,11 +437,16 @@ module Google
class DataSource
include Google::Apis::Core::Hashable
# See: google3/java/com/google/android/apps/heart/platform/api/Application.java
#
# Corresponds to the JSON property `application`
# @return [Google::Apis::FitnessV1::Application]
attr_accessor :application
#
# Corresponds to the JSON property `dataQualityStandard`
# @return [Array<String>]
attr_accessor :data_quality_standard
# A unique identifier for the data stream produced by this data source. The
# identifier includes:
#
@ -443,7 +485,7 @@ module Google
# @return [String]
attr_accessor :data_stream_name
# See: google3/java/com/google/android/apps/heart/platform/api/DataType.java
#
# Corresponds to the JSON property `dataType`
# @return [Google::Apis::FitnessV1::DataType]
attr_accessor :data_type
@ -481,6 +523,7 @@ module Google
# Update properties of this object
def update!(**args)
@application = args[:application] if args.key?(:application)
@data_quality_standard = args[:data_quality_standard] if args.key?(:data_quality_standard)
@data_stream_id = args[:data_stream_id] if args.key?(:data_stream_id)
@data_stream_name = args[:data_stream_name] if args.key?(:data_stream_name)
@data_type = args[:data_type] if args.key?(:data_type)
@ -490,7 +533,7 @@ module Google
end
end
# See: google3/java/com/google/android/apps/heart/platform/api/DataType.java
#
class DataType
include Google::Apis::Core::Hashable
@ -757,7 +800,7 @@ module Google
# @return [Fixnum]
attr_accessor :activity_type
# See: google3/java/com/google/android/apps/heart/platform/api/Application.java
#
# Corresponds to the JSON property `application`
# @return [Google::Apis::FitnessV1::Application]
attr_accessor :application

View File

@ -70,6 +70,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class BucketByTimePeriod
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataPoint
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -219,6 +225,17 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration_millis, as: 'durationMillis'
property :period, as: 'period', class: Google::Apis::FitnessV1::BucketByTimePeriod, decorator: Google::Apis::FitnessV1::BucketByTimePeriod::Representation
end
end
class BucketByTimePeriod
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :time_zone_id, as: 'timeZoneId'
property :type, as: 'type'
property :value, as: 'value'
end
end
@ -242,6 +259,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :application, as: 'application', class: Google::Apis::FitnessV1::Application, decorator: Google::Apis::FitnessV1::Application::Representation
collection :data_quality_standard, as: 'dataQualityStandard'
property :data_stream_id, as: 'dataStreamId'
property :data_stream_name, as: 'dataStreamName'
property :data_type, as: 'dataType', class: Google::Apis::FitnessV1::DataType, decorator: Google::Apis::FitnessV1::DataType::Representation

View File

@ -22,7 +22,7 @@ module Google
module FitnessV1
# Fitness
#
# Google Fit API
# Stores and accesses user data in the fitness store from apps on any platform.
#
# @example
# require 'google/apis/fitness_v1'
@ -98,7 +98,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Delete the data source if there are no datapoints associated with it
# Deletes the specified data source. The request will fail if the data source
# contains any data points.
# @param [String] user_id
# Retrieve a data source for the person identified. Use me to indicate the
# authenticated user. Only me is supported at this time.
@ -137,7 +138,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns a data source identified by a data stream ID.
# Returns the specified data source.
# @param [String] user_id
# Retrieve a data source for the person identified. Use me to indicate the
# authenticated user. Only me is supported at this time.
@ -177,8 +178,8 @@ module Google
end
# Lists all data sources that are visible to the developer, using the OAuth
# scopes provided. The list is not exhaustive: the user may have private data
# sources that are only visible to other developers or calls using other scopes.
# scopes provided. The list is not exhaustive; the user may have private data
# sources that are only visible to other developers, or calls using other scopes.
# @param [String] user_id
# List data sources for the person identified. Use me to indicate the
# authenticated user. Only me is supported at this time.
@ -218,12 +219,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a given data source. It is an error to modify the data source's data
# stream ID, data type, type, stream name or device information apart from the
# device version. Changing these fields would require a new unique data stream
# ID and separate data source.
# Data sources are identified by their data stream ID. This method supports
# patch semantics.
# Updates the specified data source. The dataStreamId, dataType, type,
# dataStreamName, and device properties with the exception of version, cannot be
# modified.
# Data sources are identified by their dataStreamId. This method supports patch
# semantics.
# @param [String] user_id
# Update the data source for the person identified. Use me to indicate the
# authenticated user. Only me is supported at this time.
@ -265,11 +265,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a given data source. It is an error to modify the data source's data
# stream ID, data type, type, stream name or device information apart from the
# device version. Changing these fields would require a new unique data stream
# ID and separate data source.
# Data sources are identified by their data stream ID.
# Updates the specified data source. The dataStreamId, dataType, type,
# dataStreamName, and device properties with the exception of version, cannot be
# modified.
# Data sources are identified by their dataStreamId.
# @param [String] user_id
# Update the data source for the person identified. Use me to indicate the
# authenticated user. Only me is supported at this time.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services
module GamesConfigurationV1configuration
VERSION = 'V1configuration'
REVISION = '20160530'
REVISION = '20160616'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services
module GamesManagementV1management
VERSION = 'V1management'
REVISION = '20160530'
REVISION = '20160616'
# Share your Google+ profile information and view and manage your game activity
AUTH_GAMES = 'https://www.googleapis.com/auth/games'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services/
module GamesV1
VERSION = 'V1'
REVISION = '20160530'
REVISION = '20160616'
# View and manage its own configuration data in your Google Drive
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'

View File

@ -20,14 +20,12 @@ module Google
module Apis
# Genomics API
#
# Stores, processes, explores and shares genomic data. This API implements the
# Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
# extensions.
# Stores, processes, explores and shares genomic data.
#
# @see https://cloud.google.com/genomics/
module GenomicsV1
VERSION = 'V1'
REVISION = '20160607'
REVISION = '20160615'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -22,9 +22,7 @@ module Google
module GenomicsV1
# Genomics API
#
# Stores, processes, explores and shares genomic data. This API implements the
# Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
# extensions.
# Stores, processes, explores and shares genomic data.
#
# @example
# require 'google/apis/genomics_v1'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/identity-toolkit/v3/
module IdentitytoolkitV3
VERSION = 'V3'
REVISION = '20160603'
REVISION = '20160608'
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/speed/docs/insights/v2/getting-started
module PagespeedonlineV2
VERSION = 'V2'
REVISION = '20160516'
REVISION = '20160615'
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/domains/
module PlusDomainsV1
VERSION = 'V1'
REVISION = '20160607'
REVISION = '20160618'
# View your circles and the people and pages in them
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/api/
module PlusV1
VERSION = 'V1'
REVISION = '20160607'
REVISION = '20160618'
# Know the list of people in your circles, your age range, and language
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/compute/docs/instance-groups/manager/v1beta2
module ReplicapoolV1beta2
VERSION = 'V1beta2'
REVISION = '20160509'
REVISION = '20160512'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/sheets/
module SheetsV4
VERSION = 'V4'
REVISION = '20160603'
REVISION = '20160617'
# View the files in your Google Drive
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/storage/docs/json_api/
module StorageV1
VERSION = 'V1'
REVISION = '20160504'
REVISION = '20160609'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -123,7 +123,9 @@ module Google
# @return [Google::Apis::StorageV1::Bucket::Versioning]
attr_accessor :versioning
# The bucket's website configuration.
# The bucket's website configuration, controlling how the service behaves when
# accessing bucket contents as a web site. See the Static Website Examples for
# more information.
# Corresponds to the JSON property `website`
# @return [Google::Apis::StorageV1::Bucket::Website]
attr_accessor :website
@ -377,17 +379,23 @@ module Google
end
end
# The bucket's website configuration.
# The bucket's website configuration, controlling how the service behaves when
# accessing bucket contents as a web site. See the Static Website Examples for
# more information.
class Website
include Google::Apis::Core::Hashable
# Behaves as the bucket's directory index where missing objects are treated as
# potential directories.
# If the requested object path is missing, the service will ensure the path has
# a trailing '/', append this suffix, and attempt to retrieve the resulting
# object. This allows the creation of index.html objects to represent directory
# pages.
# Corresponds to the JSON property `mainPageSuffix`
# @return [String]
attr_accessor :main_page_suffix
# The custom object to return when a requested resource is not found.
# If the requested object path is missing, and any mainPageSuffix object is
# missing, if applicable, the service will return the named object from this
# bucket as the content for a 404 Not Found result.
# Corresponds to the JSON property `notFoundPage`
# @return [String]
attr_accessor :not_found_page

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20160608'
REVISION = '20160614'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/v3
module YoutubeV3
VERSION = 'V3'
REVISION = '20160606'
REVISION = '20160613'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'

View File

@ -2296,7 +2296,7 @@ module Google
end
# Ratings schemes. The country-specific ratings are mostly for movies and shows.
# NEXT_ID: 67
# NEXT_ID: 68
class ContentRating
include Google::Apis::Core::Hashable
@ -2461,6 +2461,11 @@ module Google
# @return [String]
attr_accessor :fpb_rating
# Reasons that explain why the video received its FPB (South Africa) rating.
# Corresponds to the JSON property `fpbRatingReasons`
# @return [Array<String>]
attr_accessor :fpb_rating_reasons
# The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany)
# rating.
# Corresponds to the JSON property `fskRating`
@ -2696,6 +2701,7 @@ module Google
@fco_rating = args[:fco_rating] if args.key?(:fco_rating)
@fmoc_rating = args[:fmoc_rating] if args.key?(:fmoc_rating)
@fpb_rating = args[:fpb_rating] if args.key?(:fpb_rating)
@fpb_rating_reasons = args[:fpb_rating_reasons] if args.key?(:fpb_rating_reasons)
@fsk_rating = args[:fsk_rating] if args.key?(:fsk_rating)
@grfilm_rating = args[:grfilm_rating] if args.key?(:grfilm_rating)
@icaa_rating = args[:icaa_rating] if args.key?(:icaa_rating)
@ -7274,7 +7280,7 @@ module Google
attr_accessor :caption
# Ratings schemes. The country-specific ratings are mostly for movies and shows.
# NEXT_ID: 67
# NEXT_ID: 68
# Corresponds to the JSON property `contentRating`
# @return [Google::Apis::YoutubeV3::ContentRating]
attr_accessor :content_rating

View File

@ -1719,6 +1719,7 @@ module Google
property :fco_rating, as: 'fcoRating'
property :fmoc_rating, as: 'fmocRating'
property :fpb_rating, as: 'fpbRating'
collection :fpb_rating_reasons, as: 'fpbRatingReasons'
property :fsk_rating, as: 'fskRating'
property :grfilm_rating, as: 'grfilmRating'
property :icaa_rating, as: 'icaaRating'

View File

@ -41,7 +41,7 @@ API_IDS=(adexchangebuyer:v1.4 \
coordinate:v1 \
customsearch:v1 \
dataproc:v1 \
datastore:v1beta2 \
datastore:v1beta3 \
deploymentmanager:v2 \
dfareporting:v2.3 \
discovery:v1 \