Update generated APIs

This commit is contained in:
Steve Bazyl 2016-03-11 14:41:20 -08:00
parent 6e3342b671
commit 2b1f81246c
114 changed files with 6484 additions and 776 deletions

View File

@ -862,6 +862,7 @@
"/genomics:v1/genomics.referencesets.search": search_reference_sets "/genomics:v1/genomics.referencesets.search": search_reference_sets
"/gmail:v1/gmail.users.getProfile": get_user_profile "/gmail:v1/gmail.users.getProfile": get_user_profile
"/groupssettings:v1?force_alt_json" : true "/groupssettings:v1?force_alt_json" : true
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest": set_project_config_request
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest": download_account_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest": download_account_request

View File

@ -838,6 +838,7 @@
"/genomics:v1/genomics.referencesets.search": search_reference_sets "/genomics:v1/genomics.referencesets.search": search_reference_sets
"/gmail:v1/gmail.users.getProfile": get_user_profile "/gmail:v1/gmail.users.getProfile": get_user_profile
"/groupssettings:v1?force_alt_json": true "/groupssettings:v1?force_alt_json": true
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest": set_project_config_request
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest": download_account_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest": download_account_request
@ -1089,6 +1090,10 @@
"/compute:beta/compute.addresses.list/pageToken": page_token "/compute:beta/compute.addresses.list/pageToken": page_token
"/compute:beta/compute.addresses.list/project": project "/compute:beta/compute.addresses.list/project": project
"/compute:beta/compute.addresses.list/region": region "/compute:beta/compute.addresses.list/region": region
"/compute:beta/compute.addresses.testIamPermissions": test_address_iam_permissions
"/compute:beta/compute.addresses.testIamPermissions/project": project
"/compute:beta/compute.addresses.testIamPermissions/region": region
"/compute:beta/compute.addresses.testIamPermissions/resource": resource
"/compute:beta/compute.autoscalers.aggregatedList/filter": filter "/compute:beta/compute.autoscalers.aggregatedList/filter": filter
"/compute:beta/compute.autoscalers.aggregatedList/maxResults": max_results "/compute:beta/compute.autoscalers.aggregatedList/maxResults": max_results
"/compute:beta/compute.autoscalers.aggregatedList/orderBy": order_by "/compute:beta/compute.autoscalers.aggregatedList/orderBy": order_by
@ -1116,6 +1121,10 @@
"/compute:beta/compute.autoscalers.patch/autoscaler": autoscaler "/compute:beta/compute.autoscalers.patch/autoscaler": autoscaler
"/compute:beta/compute.autoscalers.patch/project": project "/compute:beta/compute.autoscalers.patch/project": project
"/compute:beta/compute.autoscalers.patch/zone": zone "/compute:beta/compute.autoscalers.patch/zone": zone
"/compute:beta/compute.autoscalers.testIamPermissions": test_autoscaler_iam_permissions
"/compute:beta/compute.autoscalers.testIamPermissions/project": project
"/compute:beta/compute.autoscalers.testIamPermissions/resource": resource
"/compute:beta/compute.autoscalers.testIamPermissions/zone": zone
"/compute:beta/compute.autoscalers.update": update_autoscaler "/compute:beta/compute.autoscalers.update": update_autoscaler
"/compute:beta/compute.autoscalers.update/autoscaler": autoscaler "/compute:beta/compute.autoscalers.update/autoscaler": autoscaler
"/compute:beta/compute.autoscalers.update/project": project "/compute:beta/compute.autoscalers.update/project": project
@ -1139,6 +1148,9 @@
"/compute:beta/compute.backendServices.patch": patch_backend_service "/compute:beta/compute.backendServices.patch": patch_backend_service
"/compute:beta/compute.backendServices.patch/backendService": backend_service "/compute:beta/compute.backendServices.patch/backendService": backend_service
"/compute:beta/compute.backendServices.patch/project": project "/compute:beta/compute.backendServices.patch/project": project
"/compute:beta/compute.backendServices.testIamPermissions": test_backend_service_iam_permissions
"/compute:beta/compute.backendServices.testIamPermissions/project": project
"/compute:beta/compute.backendServices.testIamPermissions/resource": resource
"/compute:beta/compute.backendServices.update": update_backend_service "/compute:beta/compute.backendServices.update": update_backend_service
"/compute:beta/compute.backendServices.update/backendService": backend_service "/compute:beta/compute.backendServices.update/backendService": backend_service
"/compute:beta/compute.backendServices.update/project": project "/compute:beta/compute.backendServices.update/project": project
@ -1189,6 +1201,14 @@
"/compute:beta/compute.disks.resize/disk": disk "/compute:beta/compute.disks.resize/disk": disk
"/compute:beta/compute.disks.resize/project": project "/compute:beta/compute.disks.resize/project": project
"/compute:beta/compute.disks.resize/zone": zone "/compute:beta/compute.disks.resize/zone": zone
"/compute:beta/compute.disks.setLabels": set_disk_labels
"/compute:beta/compute.disks.setLabels/project": project
"/compute:beta/compute.disks.setLabels/resource": resource
"/compute:beta/compute.disks.setLabels/zone": zone
"/compute:beta/compute.disks.testIamPermissions": test_disk_iam_permissions
"/compute:beta/compute.disks.testIamPermissions/project": project
"/compute:beta/compute.disks.testIamPermissions/resource": resource
"/compute:beta/compute.disks.testIamPermissions/zone": zone
"/compute:beta/compute.firewalls.delete": delete_firewall "/compute:beta/compute.firewalls.delete": delete_firewall
"/compute:beta/compute.firewalls.delete/firewall": firewall "/compute:beta/compute.firewalls.delete/firewall": firewall
"/compute:beta/compute.firewalls.delete/project": project "/compute:beta/compute.firewalls.delete/project": project
@ -1206,6 +1226,9 @@
"/compute:beta/compute.firewalls.patch": patch_firewall "/compute:beta/compute.firewalls.patch": patch_firewall
"/compute:beta/compute.firewalls.patch/firewall": firewall "/compute:beta/compute.firewalls.patch/firewall": firewall
"/compute:beta/compute.firewalls.patch/project": project "/compute:beta/compute.firewalls.patch/project": project
"/compute:beta/compute.firewalls.testIamPermissions": test_firewall_iam_permissions
"/compute:beta/compute.firewalls.testIamPermissions/project": project
"/compute:beta/compute.firewalls.testIamPermissions/resource": resource
"/compute:beta/compute.firewalls.update": update_firewall "/compute:beta/compute.firewalls.update": update_firewall
"/compute:beta/compute.firewalls.update/firewall": firewall "/compute:beta/compute.firewalls.update/firewall": firewall
"/compute:beta/compute.firewalls.update/project": project "/compute:beta/compute.firewalls.update/project": project
@ -1235,6 +1258,10 @@
"/compute:beta/compute.forwardingRules.setTarget/forwardingRule": forwarding_rule "/compute:beta/compute.forwardingRules.setTarget/forwardingRule": forwarding_rule
"/compute:beta/compute.forwardingRules.setTarget/project": project "/compute:beta/compute.forwardingRules.setTarget/project": project
"/compute:beta/compute.forwardingRules.setTarget/region": region "/compute:beta/compute.forwardingRules.setTarget/region": region
"/compute:beta/compute.forwardingRules.testIamPermissions": test_forwarding_rule_iam_permissions
"/compute:beta/compute.forwardingRules.testIamPermissions/project": project
"/compute:beta/compute.forwardingRules.testIamPermissions/region": region
"/compute:beta/compute.forwardingRules.testIamPermissions/resource": resource
"/compute:beta/compute.globalAddresses.delete": delete_global_address "/compute:beta/compute.globalAddresses.delete": delete_global_address
"/compute:beta/compute.globalAddresses.delete/address": address "/compute:beta/compute.globalAddresses.delete/address": address
"/compute:beta/compute.globalAddresses.delete/project": project "/compute:beta/compute.globalAddresses.delete/project": project
@ -1249,6 +1276,9 @@
"/compute:beta/compute.globalAddresses.list/orderBy": order_by "/compute:beta/compute.globalAddresses.list/orderBy": order_by
"/compute:beta/compute.globalAddresses.list/pageToken": page_token "/compute:beta/compute.globalAddresses.list/pageToken": page_token
"/compute:beta/compute.globalAddresses.list/project": project "/compute:beta/compute.globalAddresses.list/project": project
"/compute:beta/compute.globalAddresses.testIamPermissions": test_global_address_iam_permissions
"/compute:beta/compute.globalAddresses.testIamPermissions/project": project
"/compute:beta/compute.globalAddresses.testIamPermissions/resource": resource
"/compute:beta/compute.globalForwardingRules.delete": delete_global_forwarding_rule "/compute:beta/compute.globalForwardingRules.delete": delete_global_forwarding_rule
"/compute:beta/compute.globalForwardingRules.delete/forwardingRule": forwarding_rule "/compute:beta/compute.globalForwardingRules.delete/forwardingRule": forwarding_rule
"/compute:beta/compute.globalForwardingRules.delete/project": project "/compute:beta/compute.globalForwardingRules.delete/project": project
@ -1265,6 +1295,9 @@
"/compute:beta/compute.globalForwardingRules.list/project": project "/compute:beta/compute.globalForwardingRules.list/project": project
"/compute:beta/compute.globalForwardingRules.setTarget/forwardingRule": forwarding_rule "/compute:beta/compute.globalForwardingRules.setTarget/forwardingRule": forwarding_rule
"/compute:beta/compute.globalForwardingRules.setTarget/project": project "/compute:beta/compute.globalForwardingRules.setTarget/project": project
"/compute:beta/compute.globalForwardingRules.testIamPermissions": test_global_forwarding_rule_iam_permissions
"/compute:beta/compute.globalForwardingRules.testIamPermissions/project": project
"/compute:beta/compute.globalForwardingRules.testIamPermissions/resource": resource
"/compute:beta/compute.globalOperations.aggregatedList/filter": filter "/compute:beta/compute.globalOperations.aggregatedList/filter": filter
"/compute:beta/compute.globalOperations.aggregatedList/maxResults": max_results "/compute:beta/compute.globalOperations.aggregatedList/maxResults": max_results
"/compute:beta/compute.globalOperations.aggregatedList/orderBy": order_by "/compute:beta/compute.globalOperations.aggregatedList/orderBy": order_by
@ -1299,6 +1332,9 @@
"/compute:beta/compute.httpHealthChecks.patch": patch_http_health_check "/compute:beta/compute.httpHealthChecks.patch": patch_http_health_check
"/compute:beta/compute.httpHealthChecks.patch/httpHealthCheck": http_health_check "/compute:beta/compute.httpHealthChecks.patch/httpHealthCheck": http_health_check
"/compute:beta/compute.httpHealthChecks.patch/project": project "/compute:beta/compute.httpHealthChecks.patch/project": project
"/compute:beta/compute.httpHealthChecks.testIamPermissions": test_http_health_check_iam_permissions
"/compute:beta/compute.httpHealthChecks.testIamPermissions/project": project
"/compute:beta/compute.httpHealthChecks.testIamPermissions/resource": resource
"/compute:beta/compute.httpHealthChecks.update": update_http_health_check "/compute:beta/compute.httpHealthChecks.update": update_http_health_check
"/compute:beta/compute.httpHealthChecks.update/httpHealthCheck": http_health_check "/compute:beta/compute.httpHealthChecks.update/httpHealthCheck": http_health_check
"/compute:beta/compute.httpHealthChecks.update/project": project "/compute:beta/compute.httpHealthChecks.update/project": project
@ -1319,6 +1355,9 @@
"/compute:beta/compute.httpsHealthChecks.patch": patch_https_health_check "/compute:beta/compute.httpsHealthChecks.patch": patch_https_health_check
"/compute:beta/compute.httpsHealthChecks.patch/httpsHealthCheck": https_health_check "/compute:beta/compute.httpsHealthChecks.patch/httpsHealthCheck": https_health_check
"/compute:beta/compute.httpsHealthChecks.patch/project": project "/compute:beta/compute.httpsHealthChecks.patch/project": project
"/compute:beta/compute.httpsHealthChecks.testIamPermissions": test_https_health_check_iam_permissions
"/compute:beta/compute.httpsHealthChecks.testIamPermissions/project": project
"/compute:beta/compute.httpsHealthChecks.testIamPermissions/resource": resource
"/compute:beta/compute.httpsHealthChecks.update": update_https_health_check "/compute:beta/compute.httpsHealthChecks.update": update_https_health_check
"/compute:beta/compute.httpsHealthChecks.update/httpsHealthCheck": https_health_check "/compute:beta/compute.httpsHealthChecks.update/httpsHealthCheck": https_health_check
"/compute:beta/compute.httpsHealthChecks.update/project": project "/compute:beta/compute.httpsHealthChecks.update/project": project
@ -1342,6 +1381,12 @@
"/compute:beta/compute.images.list/orderBy": order_by "/compute:beta/compute.images.list/orderBy": order_by
"/compute:beta/compute.images.list/pageToken": page_token "/compute:beta/compute.images.list/pageToken": page_token
"/compute:beta/compute.images.list/project": project "/compute:beta/compute.images.list/project": project
"/compute:beta/compute.images.setLabels": set_image_labels
"/compute:beta/compute.images.setLabels/project": project
"/compute:beta/compute.images.setLabels/resource": resource
"/compute:beta/compute.images.testIamPermissions": test_image_iam_permissions
"/compute:beta/compute.images.testIamPermissions/project": project
"/compute:beta/compute.images.testIamPermissions/resource": resource
"/compute:beta/compute.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager "/compute:beta/compute.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager
"/compute:beta/compute.instanceGroupManagers.abandonInstances/project": project "/compute:beta/compute.instanceGroupManagers.abandonInstances/project": project
"/compute:beta/compute.instanceGroupManagers.abandonInstances/zone": zone "/compute:beta/compute.instanceGroupManagers.abandonInstances/zone": zone
@ -1391,6 +1436,10 @@
"/compute:beta/compute.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager "/compute:beta/compute.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager
"/compute:beta/compute.instanceGroupManagers.setTargetPools/project": project "/compute:beta/compute.instanceGroupManagers.setTargetPools/project": project
"/compute:beta/compute.instanceGroupManagers.setTargetPools/zone": zone "/compute:beta/compute.instanceGroupManagers.setTargetPools/zone": zone
"/compute:beta/compute.instanceGroupManagers.testIamPermissions": test_instance_group_manager_iam_permissions
"/compute:beta/compute.instanceGroupManagers.testIamPermissions/project": project
"/compute:beta/compute.instanceGroupManagers.testIamPermissions/resource": resource
"/compute:beta/compute.instanceGroupManagers.testIamPermissions/zone": zone
"/compute:beta/compute.instanceGroups.addInstances/instanceGroup": instance_group "/compute:beta/compute.instanceGroups.addInstances/instanceGroup": instance_group
"/compute:beta/compute.instanceGroups.addInstances/project": project "/compute:beta/compute.instanceGroups.addInstances/project": project
"/compute:beta/compute.instanceGroups.addInstances/zone": zone "/compute:beta/compute.instanceGroups.addInstances/zone": zone
@ -1430,6 +1479,10 @@
"/compute:beta/compute.instanceGroups.setNamedPorts/instanceGroup": instance_group "/compute:beta/compute.instanceGroups.setNamedPorts/instanceGroup": instance_group
"/compute:beta/compute.instanceGroups.setNamedPorts/project": project "/compute:beta/compute.instanceGroups.setNamedPorts/project": project
"/compute:beta/compute.instanceGroups.setNamedPorts/zone": zone "/compute:beta/compute.instanceGroups.setNamedPorts/zone": zone
"/compute:beta/compute.instanceGroups.testIamPermissions": test_instance_group_iam_permissions
"/compute:beta/compute.instanceGroups.testIamPermissions/project": project
"/compute:beta/compute.instanceGroups.testIamPermissions/resource": resource
"/compute:beta/compute.instanceGroups.testIamPermissions/zone": zone
"/compute:beta/compute.instanceTemplates.delete": delete_instance_template "/compute:beta/compute.instanceTemplates.delete": delete_instance_template
"/compute:beta/compute.instanceTemplates.delete/instanceTemplate": instance_template "/compute:beta/compute.instanceTemplates.delete/instanceTemplate": instance_template
"/compute:beta/compute.instanceTemplates.delete/project": project "/compute:beta/compute.instanceTemplates.delete/project": project
@ -1444,6 +1497,9 @@
"/compute:beta/compute.instanceTemplates.list/orderBy": order_by "/compute:beta/compute.instanceTemplates.list/orderBy": order_by
"/compute:beta/compute.instanceTemplates.list/pageToken": page_token "/compute:beta/compute.instanceTemplates.list/pageToken": page_token
"/compute:beta/compute.instanceTemplates.list/project": project "/compute:beta/compute.instanceTemplates.list/project": project
"/compute:beta/compute.instanceTemplates.testIamPermissions": test_instance_template_iam_permissions
"/compute:beta/compute.instanceTemplates.testIamPermissions/project": project
"/compute:beta/compute.instanceTemplates.testIamPermissions/resource": resource
"/compute:beta/compute.instances.addAccessConfig/instance": instance "/compute:beta/compute.instances.addAccessConfig/instance": instance
"/compute:beta/compute.instances.addAccessConfig/networkInterface": network_interface "/compute:beta/compute.instances.addAccessConfig/networkInterface": network_interface
"/compute:beta/compute.instances.addAccessConfig/project": project "/compute:beta/compute.instances.addAccessConfig/project": project
@ -1476,6 +1532,7 @@
"/compute:beta/compute.instances.getSerialPortOutput/instance": instance "/compute:beta/compute.instances.getSerialPortOutput/instance": instance
"/compute:beta/compute.instances.getSerialPortOutput/port": port "/compute:beta/compute.instances.getSerialPortOutput/port": port
"/compute:beta/compute.instances.getSerialPortOutput/project": project "/compute:beta/compute.instances.getSerialPortOutput/project": project
"/compute:beta/compute.instances.getSerialPortOutput/start": start
"/compute:beta/compute.instances.getSerialPortOutput/zone": zone "/compute:beta/compute.instances.getSerialPortOutput/zone": zone
"/compute:beta/compute.instances.insert": insert_instance "/compute:beta/compute.instances.insert": insert_instance
"/compute:beta/compute.instances.insert/project": project "/compute:beta/compute.instances.insert/project": project
@ -1521,6 +1578,10 @@
"/compute:beta/compute.instances.stop/instance": instance "/compute:beta/compute.instances.stop/instance": instance
"/compute:beta/compute.instances.stop/project": project "/compute:beta/compute.instances.stop/project": project
"/compute:beta/compute.instances.stop/zone": zone "/compute:beta/compute.instances.stop/zone": zone
"/compute:beta/compute.instances.testIamPermissions": test_instance_iam_permissions
"/compute:beta/compute.instances.testIamPermissions/project": project
"/compute:beta/compute.instances.testIamPermissions/resource": resource
"/compute:beta/compute.instances.testIamPermissions/zone": zone
"/compute:beta/compute.licenses.get": get_license "/compute:beta/compute.licenses.get": get_license
"/compute:beta/compute.licenses.get/license": license "/compute:beta/compute.licenses.get/license": license
"/compute:beta/compute.licenses.get/project": project "/compute:beta/compute.licenses.get/project": project
@ -1554,6 +1615,9 @@
"/compute:beta/compute.networks.list/orderBy": order_by "/compute:beta/compute.networks.list/orderBy": order_by
"/compute:beta/compute.networks.list/pageToken": page_token "/compute:beta/compute.networks.list/pageToken": page_token
"/compute:beta/compute.networks.list/project": project "/compute:beta/compute.networks.list/project": project
"/compute:beta/compute.networks.testIamPermissions": test_network_iam_permissions
"/compute:beta/compute.networks.testIamPermissions/project": project
"/compute:beta/compute.networks.testIamPermissions/resource": resource
"/compute:beta/compute.projects.get": get_project "/compute:beta/compute.projects.get": get_project
"/compute:beta/compute.projects.get/project": project "/compute:beta/compute.projects.get/project": project
"/compute:beta/compute.projects.setCommonInstanceMetadata/project": project "/compute:beta/compute.projects.setCommonInstanceMetadata/project": project
@ -1612,6 +1676,10 @@
"/compute:beta/compute.routers.patch/project": project "/compute:beta/compute.routers.patch/project": project
"/compute:beta/compute.routers.patch/region": region "/compute:beta/compute.routers.patch/region": region
"/compute:beta/compute.routers.patch/router": router "/compute:beta/compute.routers.patch/router": router
"/compute:beta/compute.routers.testIamPermissions": test_router_iam_permissions
"/compute:beta/compute.routers.testIamPermissions/project": project
"/compute:beta/compute.routers.testIamPermissions/region": region
"/compute:beta/compute.routers.testIamPermissions/resource": resource
"/compute:beta/compute.routers.update": update_router "/compute:beta/compute.routers.update": update_router
"/compute:beta/compute.routers.update/project": project "/compute:beta/compute.routers.update/project": project
"/compute:beta/compute.routers.update/region": region "/compute:beta/compute.routers.update/region": region
@ -1630,6 +1698,9 @@
"/compute:beta/compute.routes.list/orderBy": order_by "/compute:beta/compute.routes.list/orderBy": order_by
"/compute:beta/compute.routes.list/pageToken": page_token "/compute:beta/compute.routes.list/pageToken": page_token
"/compute:beta/compute.routes.list/project": project "/compute:beta/compute.routes.list/project": project
"/compute:beta/compute.routes.testIamPermissions": test_route_iam_permissions
"/compute:beta/compute.routes.testIamPermissions/project": project
"/compute:beta/compute.routes.testIamPermissions/resource": resource
"/compute:beta/compute.snapshots.delete": delete_snapshot "/compute:beta/compute.snapshots.delete": delete_snapshot
"/compute:beta/compute.snapshots.delete/project": project "/compute:beta/compute.snapshots.delete/project": project
"/compute:beta/compute.snapshots.delete/snapshot": snapshot "/compute:beta/compute.snapshots.delete/snapshot": snapshot
@ -1642,6 +1713,12 @@
"/compute:beta/compute.snapshots.list/orderBy": order_by "/compute:beta/compute.snapshots.list/orderBy": order_by
"/compute:beta/compute.snapshots.list/pageToken": page_token "/compute:beta/compute.snapshots.list/pageToken": page_token
"/compute:beta/compute.snapshots.list/project": project "/compute:beta/compute.snapshots.list/project": project
"/compute:beta/compute.snapshots.setLabels": set_snapshot_labels
"/compute:beta/compute.snapshots.setLabels/project": project
"/compute:beta/compute.snapshots.setLabels/resource": resource
"/compute:beta/compute.snapshots.testIamPermissions": test_snapshot_iam_permissions
"/compute:beta/compute.snapshots.testIamPermissions/project": project
"/compute:beta/compute.snapshots.testIamPermissions/resource": resource
"/compute:beta/compute.sslCertificates.delete": delete_ssl_certificate "/compute:beta/compute.sslCertificates.delete": delete_ssl_certificate
"/compute:beta/compute.sslCertificates.delete/project": project "/compute:beta/compute.sslCertificates.delete/project": project
"/compute:beta/compute.sslCertificates.delete/sslCertificate": ssl_certificate "/compute:beta/compute.sslCertificates.delete/sslCertificate": ssl_certificate
@ -1656,6 +1733,9 @@
"/compute:beta/compute.sslCertificates.list/orderBy": order_by "/compute:beta/compute.sslCertificates.list/orderBy": order_by
"/compute:beta/compute.sslCertificates.list/pageToken": page_token "/compute:beta/compute.sslCertificates.list/pageToken": page_token
"/compute:beta/compute.sslCertificates.list/project": project "/compute:beta/compute.sslCertificates.list/project": project
"/compute:beta/compute.sslCertificates.testIamPermissions": test_ssl_certificate_iam_permissions
"/compute:beta/compute.sslCertificates.testIamPermissions/project": project
"/compute:beta/compute.sslCertificates.testIamPermissions/resource": resource
"/compute:beta/compute.subnetworks.aggregatedList/filter": filter "/compute:beta/compute.subnetworks.aggregatedList/filter": filter
"/compute:beta/compute.subnetworks.aggregatedList/maxResults": max_results "/compute:beta/compute.subnetworks.aggregatedList/maxResults": max_results
"/compute:beta/compute.subnetworks.aggregatedList/orderBy": order_by "/compute:beta/compute.subnetworks.aggregatedList/orderBy": order_by
@ -1679,6 +1759,10 @@
"/compute:beta/compute.subnetworks.list/pageToken": page_token "/compute:beta/compute.subnetworks.list/pageToken": page_token
"/compute:beta/compute.subnetworks.list/project": project "/compute:beta/compute.subnetworks.list/project": project
"/compute:beta/compute.subnetworks.list/region": region "/compute:beta/compute.subnetworks.list/region": region
"/compute:beta/compute.subnetworks.testIamPermissions": test_subnetwork_iam_permissions
"/compute:beta/compute.subnetworks.testIamPermissions/project": project
"/compute:beta/compute.subnetworks.testIamPermissions/region": region
"/compute:beta/compute.subnetworks.testIamPermissions/resource": resource
"/compute:beta/compute.targetHttpProxies.delete": delete_target_http_proxy "/compute:beta/compute.targetHttpProxies.delete": delete_target_http_proxy
"/compute:beta/compute.targetHttpProxies.delete/project": project "/compute:beta/compute.targetHttpProxies.delete/project": project
"/compute:beta/compute.targetHttpProxies.delete/targetHttpProxy": target_http_proxy "/compute:beta/compute.targetHttpProxies.delete/targetHttpProxy": target_http_proxy
@ -1695,6 +1779,9 @@
"/compute:beta/compute.targetHttpProxies.list/project": project "/compute:beta/compute.targetHttpProxies.list/project": project
"/compute:beta/compute.targetHttpProxies.setUrlMap/project": project "/compute:beta/compute.targetHttpProxies.setUrlMap/project": project
"/compute:beta/compute.targetHttpProxies.setUrlMap/targetHttpProxy": target_http_proxy "/compute:beta/compute.targetHttpProxies.setUrlMap/targetHttpProxy": target_http_proxy
"/compute:beta/compute.targetHttpProxies.testIamPermissions": test_target_http_proxy_iam_permissions
"/compute:beta/compute.targetHttpProxies.testIamPermissions/project": project
"/compute:beta/compute.targetHttpProxies.testIamPermissions/resource": resource
"/compute:beta/compute.targetHttpsProxies.delete": delete_target_https_proxy "/compute:beta/compute.targetHttpsProxies.delete": delete_target_https_proxy
"/compute:beta/compute.targetHttpsProxies.delete/project": project "/compute:beta/compute.targetHttpsProxies.delete/project": project
"/compute:beta/compute.targetHttpsProxies.delete/targetHttpsProxy": target_https_proxy "/compute:beta/compute.targetHttpsProxies.delete/targetHttpsProxy": target_https_proxy
@ -1715,6 +1802,9 @@
"/compute:beta/compute.targetHttpsProxies.setUrlMap": set_target_https_proxy_url_map "/compute:beta/compute.targetHttpsProxies.setUrlMap": set_target_https_proxy_url_map
"/compute:beta/compute.targetHttpsProxies.setUrlMap/project": project "/compute:beta/compute.targetHttpsProxies.setUrlMap/project": project
"/compute:beta/compute.targetHttpsProxies.setUrlMap/targetHttpsProxy": target_https_proxy "/compute:beta/compute.targetHttpsProxies.setUrlMap/targetHttpsProxy": target_https_proxy
"/compute:beta/compute.targetHttpsProxies.testIamPermissions": test_target_https_proxy_iam_permissions
"/compute:beta/compute.targetHttpsProxies.testIamPermissions/project": project
"/compute:beta/compute.targetHttpsProxies.testIamPermissions/resource": resource
"/compute:beta/compute.targetInstances.aggregatedList/filter": filter "/compute:beta/compute.targetInstances.aggregatedList/filter": filter
"/compute:beta/compute.targetInstances.aggregatedList/maxResults": max_results "/compute:beta/compute.targetInstances.aggregatedList/maxResults": max_results
"/compute:beta/compute.targetInstances.aggregatedList/orderBy": order_by "/compute:beta/compute.targetInstances.aggregatedList/orderBy": order_by
@ -1738,6 +1828,10 @@
"/compute:beta/compute.targetInstances.list/pageToken": page_token "/compute:beta/compute.targetInstances.list/pageToken": page_token
"/compute:beta/compute.targetInstances.list/project": project "/compute:beta/compute.targetInstances.list/project": project
"/compute:beta/compute.targetInstances.list/zone": zone "/compute:beta/compute.targetInstances.list/zone": zone
"/compute:beta/compute.targetInstances.testIamPermissions": test_target_instance_iam_permissions
"/compute:beta/compute.targetInstances.testIamPermissions/project": project
"/compute:beta/compute.targetInstances.testIamPermissions/resource": resource
"/compute:beta/compute.targetInstances.testIamPermissions/zone": zone
"/compute:beta/compute.targetPools.addHealthCheck/project": project "/compute:beta/compute.targetPools.addHealthCheck/project": project
"/compute:beta/compute.targetPools.addHealthCheck/region": region "/compute:beta/compute.targetPools.addHealthCheck/region": region
"/compute:beta/compute.targetPools.addHealthCheck/targetPool": target_pool "/compute:beta/compute.targetPools.addHealthCheck/targetPool": target_pool
@ -1780,6 +1874,10 @@
"/compute:beta/compute.targetPools.setBackup/project": project "/compute:beta/compute.targetPools.setBackup/project": project
"/compute:beta/compute.targetPools.setBackup/region": region "/compute:beta/compute.targetPools.setBackup/region": region
"/compute:beta/compute.targetPools.setBackup/targetPool": target_pool "/compute:beta/compute.targetPools.setBackup/targetPool": target_pool
"/compute:beta/compute.targetPools.testIamPermissions": test_target_pool_iam_permissions
"/compute:beta/compute.targetPools.testIamPermissions/project": project
"/compute:beta/compute.targetPools.testIamPermissions/region": region
"/compute:beta/compute.targetPools.testIamPermissions/resource": resource
"/compute:beta/compute.targetVpnGateways.aggregatedList/filter": filter "/compute:beta/compute.targetVpnGateways.aggregatedList/filter": filter
"/compute:beta/compute.targetVpnGateways.aggregatedList/maxResults": max_results "/compute:beta/compute.targetVpnGateways.aggregatedList/maxResults": max_results
"/compute:beta/compute.targetVpnGateways.aggregatedList/orderBy": order_by "/compute:beta/compute.targetVpnGateways.aggregatedList/orderBy": order_by
@ -1799,6 +1897,10 @@
"/compute:beta/compute.targetVpnGateways.list/pageToken": page_token "/compute:beta/compute.targetVpnGateways.list/pageToken": page_token
"/compute:beta/compute.targetVpnGateways.list/project": project "/compute:beta/compute.targetVpnGateways.list/project": project
"/compute:beta/compute.targetVpnGateways.list/region": region "/compute:beta/compute.targetVpnGateways.list/region": region
"/compute:beta/compute.targetVpnGateways.testIamPermissions": test_target_vpn_gateway_iam_permissions
"/compute:beta/compute.targetVpnGateways.testIamPermissions/project": project
"/compute:beta/compute.targetVpnGateways.testIamPermissions/region": region
"/compute:beta/compute.targetVpnGateways.testIamPermissions/resource": resource
"/compute:beta/compute.urlMaps.delete": delete_url_map "/compute:beta/compute.urlMaps.delete": delete_url_map
"/compute:beta/compute.urlMaps.delete/project": project "/compute:beta/compute.urlMaps.delete/project": project
"/compute:beta/compute.urlMaps.delete/urlMap": url_map "/compute:beta/compute.urlMaps.delete/urlMap": url_map
@ -1807,6 +1909,9 @@
"/compute:beta/compute.urlMaps.get/urlMap": url_map "/compute:beta/compute.urlMaps.get/urlMap": url_map
"/compute:beta/compute.urlMaps.insert": insert_url_map "/compute:beta/compute.urlMaps.insert": insert_url_map
"/compute:beta/compute.urlMaps.insert/project": project "/compute:beta/compute.urlMaps.insert/project": project
"/compute:beta/compute.urlMaps.invalidateCache": invalidate_url_map_cache
"/compute:beta/compute.urlMaps.invalidateCache/project": project
"/compute:beta/compute.urlMaps.invalidateCache/urlMap": url_map
"/compute:beta/compute.urlMaps.list": list_url_maps "/compute:beta/compute.urlMaps.list": list_url_maps
"/compute:beta/compute.urlMaps.list/filter": filter "/compute:beta/compute.urlMaps.list/filter": filter
"/compute:beta/compute.urlMaps.list/maxResults": max_results "/compute:beta/compute.urlMaps.list/maxResults": max_results
@ -1816,6 +1921,9 @@
"/compute:beta/compute.urlMaps.patch": patch_url_map "/compute:beta/compute.urlMaps.patch": patch_url_map
"/compute:beta/compute.urlMaps.patch/project": project "/compute:beta/compute.urlMaps.patch/project": project
"/compute:beta/compute.urlMaps.patch/urlMap": url_map "/compute:beta/compute.urlMaps.patch/urlMap": url_map
"/compute:beta/compute.urlMaps.testIamPermissions": test_url_map_iam_permissions
"/compute:beta/compute.urlMaps.testIamPermissions/project": project
"/compute:beta/compute.urlMaps.testIamPermissions/resource": resource
"/compute:beta/compute.urlMaps.update": update_url_map "/compute:beta/compute.urlMaps.update": update_url_map
"/compute:beta/compute.urlMaps.update/project": project "/compute:beta/compute.urlMaps.update/project": project
"/compute:beta/compute.urlMaps.update/urlMap": url_map "/compute:beta/compute.urlMaps.update/urlMap": url_map
@ -1845,6 +1953,10 @@
"/compute:beta/compute.vpnTunnels.list/pageToken": page_token "/compute:beta/compute.vpnTunnels.list/pageToken": page_token
"/compute:beta/compute.vpnTunnels.list/project": project "/compute:beta/compute.vpnTunnels.list/project": project
"/compute:beta/compute.vpnTunnels.list/region": region "/compute:beta/compute.vpnTunnels.list/region": region
"/compute:beta/compute.vpnTunnels.testIamPermissions": test_vpn_tunnel_iam_permissions
"/compute:beta/compute.vpnTunnels.testIamPermissions/project": project
"/compute:beta/compute.vpnTunnels.testIamPermissions/region": region
"/compute:beta/compute.vpnTunnels.testIamPermissions/resource": resource
"/compute:beta/compute.zoneOperations.delete": delete_zone_operation "/compute:beta/compute.zoneOperations.delete": delete_zone_operation
"/compute:beta/compute.zoneOperations.delete/operation": operation "/compute:beta/compute.zoneOperations.delete/operation": operation
"/compute:beta/compute.zoneOperations.delete/project": project "/compute:beta/compute.zoneOperations.delete/project": project
@ -1994,6 +2106,7 @@
"/compute:beta/BackendService/backends/backend": backend "/compute:beta/BackendService/backends/backend": backend
"/compute:beta/BackendService/creationTimestamp": creation_timestamp "/compute:beta/BackendService/creationTimestamp": creation_timestamp
"/compute:beta/BackendService/description": description "/compute:beta/BackendService/description": description
"/compute:beta/BackendService/enableCDN": enable_cdn
"/compute:beta/BackendService/fingerprint": fingerprint "/compute:beta/BackendService/fingerprint": fingerprint
"/compute:beta/BackendService/healthChecks": health_checks "/compute:beta/BackendService/healthChecks": health_checks
"/compute:beta/BackendService/healthChecks/health_check": health_check "/compute:beta/BackendService/healthChecks/health_check": health_check
@ -2016,6 +2129,8 @@
"/compute:beta/BackendServiceList/kind": kind "/compute:beta/BackendServiceList/kind": kind
"/compute:beta/BackendServiceList/nextPageToken": next_page_token "/compute:beta/BackendServiceList/nextPageToken": next_page_token
"/compute:beta/BackendServiceList/selfLink": self_link "/compute:beta/BackendServiceList/selfLink": self_link
"/compute:beta/CacheInvalidationRule": cache_invalidation_rule
"/compute:beta/CacheInvalidationRule/path": path
"/compute:beta/CustomerEncryptionKey": customer_encryption_key "/compute:beta/CustomerEncryptionKey": customer_encryption_key
"/compute:beta/CustomerEncryptionKey/rawKey": raw_key "/compute:beta/CustomerEncryptionKey/rawKey": raw_key
"/compute:beta/CustomerEncryptionKey/rsaEncryptedKey": rsa_encrypted_key "/compute:beta/CustomerEncryptionKey/rsaEncryptedKey": rsa_encrypted_key
@ -2032,6 +2147,9 @@
"/compute:beta/Disk/diskEncryptionKey": disk_encryption_key "/compute:beta/Disk/diskEncryptionKey": disk_encryption_key
"/compute:beta/Disk/id": id "/compute:beta/Disk/id": id
"/compute:beta/Disk/kind": kind "/compute:beta/Disk/kind": kind
"/compute:beta/Disk/labelFingerprint": label_fingerprint
"/compute:beta/Disk/labels": labels
"/compute:beta/Disk/labels/label": label
"/compute:beta/Disk/lastAttachTimestamp": last_attach_timestamp "/compute:beta/Disk/lastAttachTimestamp": last_attach_timestamp
"/compute:beta/Disk/lastDetachTimestamp": last_detach_timestamp "/compute:beta/Disk/lastDetachTimestamp": last_detach_timestamp
"/compute:beta/Disk/licenses": licenses "/compute:beta/Disk/licenses": licenses
@ -2175,6 +2293,10 @@
"/compute:beta/ForwardingRulesScopedList/warning/data/datum/key": key "/compute:beta/ForwardingRulesScopedList/warning/data/datum/key": key
"/compute:beta/ForwardingRulesScopedList/warning/data/datum/value": value "/compute:beta/ForwardingRulesScopedList/warning/data/datum/value": value
"/compute:beta/ForwardingRulesScopedList/warning/message": message "/compute:beta/ForwardingRulesScopedList/warning/message": message
"/compute:beta/GlobalSetLabelsRequest": global_set_labels_request
"/compute:beta/GlobalSetLabelsRequest/labelFingerprint": label_fingerprint
"/compute:beta/GlobalSetLabelsRequest/labels": labels
"/compute:beta/GlobalSetLabelsRequest/labels/label": label
"/compute:beta/HealthCheckReference": health_check_reference "/compute:beta/HealthCheckReference": health_check_reference
"/compute:beta/HealthCheckReference/healthCheck": health_check "/compute:beta/HealthCheckReference/healthCheck": health_check
"/compute:beta/HealthStatus": health_status "/compute:beta/HealthStatus": health_status
@ -2239,6 +2361,9 @@
"/compute:beta/Image/id": id "/compute:beta/Image/id": id
"/compute:beta/Image/imageEncryptionKey": image_encryption_key "/compute:beta/Image/imageEncryptionKey": image_encryption_key
"/compute:beta/Image/kind": kind "/compute:beta/Image/kind": kind
"/compute:beta/Image/labelFingerprint": label_fingerprint
"/compute:beta/Image/labels": labels
"/compute:beta/Image/labels/label": label
"/compute:beta/Image/licenses": licenses "/compute:beta/Image/licenses": licenses
"/compute:beta/Image/licenses/license": license "/compute:beta/Image/licenses/license": license
"/compute:beta/Image/name": name "/compute:beta/Image/name": name
@ -2646,6 +2771,7 @@
"/compute:beta/Project": project "/compute:beta/Project": project
"/compute:beta/Project/commonInstanceMetadata": common_instance_metadata "/compute:beta/Project/commonInstanceMetadata": common_instance_metadata
"/compute:beta/Project/creationTimestamp": creation_timestamp "/compute:beta/Project/creationTimestamp": creation_timestamp
"/compute:beta/Project/defaultServiceAccount": default_service_account
"/compute:beta/Project/description": description "/compute:beta/Project/description": description
"/compute:beta/Project/enabledFeatures": enabled_features "/compute:beta/Project/enabledFeatures": enabled_features
"/compute:beta/Project/enabledFeatures/enabled_feature": enabled_feature "/compute:beta/Project/enabledFeatures/enabled_feature": enabled_feature
@ -2772,6 +2898,7 @@
"/compute:beta/RouterStatusBgpPeerStatus/state": state "/compute:beta/RouterStatusBgpPeerStatus/state": state
"/compute:beta/RouterStatusBgpPeerStatus/status": status "/compute:beta/RouterStatusBgpPeerStatus/status": status
"/compute:beta/RouterStatusBgpPeerStatus/uptime": uptime "/compute:beta/RouterStatusBgpPeerStatus/uptime": uptime
"/compute:beta/RouterStatusBgpPeerStatus/uptimeSeconds": uptime_seconds
"/compute:beta/RouterStatusResponse": router_status_response "/compute:beta/RouterStatusResponse": router_status_response
"/compute:beta/RouterStatusResponse/kind": kind "/compute:beta/RouterStatusResponse/kind": kind
"/compute:beta/RouterStatusResponse/result": result "/compute:beta/RouterStatusResponse/result": result
@ -2792,7 +2919,9 @@
"/compute:beta/SerialPortOutput": serial_port_output "/compute:beta/SerialPortOutput": serial_port_output
"/compute:beta/SerialPortOutput/contents": contents "/compute:beta/SerialPortOutput/contents": contents
"/compute:beta/SerialPortOutput/kind": kind "/compute:beta/SerialPortOutput/kind": kind
"/compute:beta/SerialPortOutput/next": next
"/compute:beta/SerialPortOutput/selfLink": self_link "/compute:beta/SerialPortOutput/selfLink": self_link
"/compute:beta/SerialPortOutput/start": start
"/compute:beta/ServiceAccount": service_account "/compute:beta/ServiceAccount": service_account
"/compute:beta/ServiceAccount/email": email "/compute:beta/ServiceAccount/email": email
"/compute:beta/ServiceAccount/scopes": scopes "/compute:beta/ServiceAccount/scopes": scopes
@ -2803,6 +2932,9 @@
"/compute:beta/Snapshot/diskSizeGb": disk_size_gb "/compute:beta/Snapshot/diskSizeGb": disk_size_gb
"/compute:beta/Snapshot/id": id "/compute:beta/Snapshot/id": id
"/compute:beta/Snapshot/kind": kind "/compute:beta/Snapshot/kind": kind
"/compute:beta/Snapshot/labelFingerprint": label_fingerprint
"/compute:beta/Snapshot/labels": labels
"/compute:beta/Snapshot/labels/label": label
"/compute:beta/Snapshot/licenses": licenses "/compute:beta/Snapshot/licenses": licenses
"/compute:beta/Snapshot/licenses/license": license "/compute:beta/Snapshot/licenses/license": license
"/compute:beta/Snapshot/name": name "/compute:beta/Snapshot/name": name
@ -3041,6 +3173,12 @@
"/compute:beta/TestFailure/expectedService": expected_service "/compute:beta/TestFailure/expectedService": expected_service
"/compute:beta/TestFailure/host": host "/compute:beta/TestFailure/host": host
"/compute:beta/TestFailure/path": path "/compute:beta/TestFailure/path": path
"/compute:beta/TestPermissionsRequest": test_permissions_request
"/compute:beta/TestPermissionsRequest/permissions": permissions
"/compute:beta/TestPermissionsRequest/permissions/permission": permission
"/compute:beta/TestPermissionsResponse": test_permissions_response
"/compute:beta/TestPermissionsResponse/permissions": permissions
"/compute:beta/TestPermissionsResponse/permissions/permission": permission
"/compute:beta/UrlMap": url_map "/compute:beta/UrlMap": url_map
"/compute:beta/UrlMap/creationTimestamp": creation_timestamp "/compute:beta/UrlMap/creationTimestamp": creation_timestamp
"/compute:beta/UrlMap/defaultService": default_service "/compute:beta/UrlMap/defaultService": default_service
@ -3147,6 +3285,10 @@
"/compute:beta/ZoneList/kind": kind "/compute:beta/ZoneList/kind": kind
"/compute:beta/ZoneList/nextPageToken": next_page_token "/compute:beta/ZoneList/nextPageToken": next_page_token
"/compute:beta/ZoneList/selfLink": self_link "/compute:beta/ZoneList/selfLink": self_link
"/compute:beta/ZoneSetLabelsRequest": zone_set_labels_request
"/compute:beta/ZoneSetLabelsRequest/labelFingerprint": label_fingerprint
"/compute:beta/ZoneSetLabelsRequest/labels": labels
"/compute:beta/ZoneSetLabelsRequest/labels/label": label
"/adexchangebuyer:v1.4/fields": fields "/adexchangebuyer:v1.4/fields": fields
"/adexchangebuyer:v1.4/key": key "/adexchangebuyer:v1.4/key": key
"/adexchangebuyer:v1.4/quotaUser": quota_user "/adexchangebuyer:v1.4/quotaUser": quota_user
@ -5565,6 +5707,7 @@
"/analytics:v3/Account/permissions/effective": effective "/analytics:v3/Account/permissions/effective": effective
"/analytics:v3/Account/permissions/effective/effective": effective "/analytics:v3/Account/permissions/effective/effective": effective
"/analytics:v3/Account/selfLink": self_link "/analytics:v3/Account/selfLink": self_link
"/analytics:v3/Account/starred": starred
"/analytics:v3/Account/updated": updated "/analytics:v3/Account/updated": updated
"/analytics:v3/AccountRef": account_ref "/analytics:v3/AccountRef": account_ref
"/analytics:v3/AccountRef/href": href "/analytics:v3/AccountRef/href": href
@ -5585,6 +5728,7 @@
"/analytics:v3/AccountSummary/id": id "/analytics:v3/AccountSummary/id": id
"/analytics:v3/AccountSummary/kind": kind "/analytics:v3/AccountSummary/kind": kind
"/analytics:v3/AccountSummary/name": name "/analytics:v3/AccountSummary/name": name
"/analytics:v3/AccountSummary/starred": starred
"/analytics:v3/AccountSummary/webProperties": web_properties "/analytics:v3/AccountSummary/webProperties": web_properties
"/analytics:v3/AccountSummary/webProperties/web_property": web_property "/analytics:v3/AccountSummary/webProperties/web_property": web_property
"/analytics:v3/AccountTicket": account_ticket "/analytics:v3/AccountTicket": account_ticket
@ -6037,6 +6181,7 @@
"/analytics:v3/Profile/selfLink": self_link "/analytics:v3/Profile/selfLink": self_link
"/analytics:v3/Profile/siteSearchCategoryParameters": site_search_category_parameters "/analytics:v3/Profile/siteSearchCategoryParameters": site_search_category_parameters
"/analytics:v3/Profile/siteSearchQueryParameters": site_search_query_parameters "/analytics:v3/Profile/siteSearchQueryParameters": site_search_query_parameters
"/analytics:v3/Profile/starred": starred
"/analytics:v3/Profile/stripSiteSearchCategoryParameters": strip_site_search_category_parameters "/analytics:v3/Profile/stripSiteSearchCategoryParameters": strip_site_search_category_parameters
"/analytics:v3/Profile/stripSiteSearchQueryParameters": strip_site_search_query_parameters "/analytics:v3/Profile/stripSiteSearchQueryParameters": strip_site_search_query_parameters
"/analytics:v3/Profile/timezone": timezone "/analytics:v3/Profile/timezone": timezone
@ -6073,6 +6218,7 @@
"/analytics:v3/ProfileSummary/id": id "/analytics:v3/ProfileSummary/id": id
"/analytics:v3/ProfileSummary/kind": kind "/analytics:v3/ProfileSummary/kind": kind
"/analytics:v3/ProfileSummary/name": name "/analytics:v3/ProfileSummary/name": name
"/analytics:v3/ProfileSummary/starred": starred
"/analytics:v3/ProfileSummary/type": type "/analytics:v3/ProfileSummary/type": type
"/analytics:v3/Profiles": profiles "/analytics:v3/Profiles": profiles
"/analytics:v3/Profiles/items": items "/analytics:v3/Profiles/items": items
@ -6203,6 +6349,7 @@
"/analytics:v3/WebPropertySummary/name": name "/analytics:v3/WebPropertySummary/name": name
"/analytics:v3/WebPropertySummary/profiles": profiles "/analytics:v3/WebPropertySummary/profiles": profiles
"/analytics:v3/WebPropertySummary/profiles/profile": profile "/analytics:v3/WebPropertySummary/profiles/profile": profile
"/analytics:v3/WebPropertySummary/starred": starred
"/analytics:v3/WebPropertySummary/websiteUrl": website_url "/analytics:v3/WebPropertySummary/websiteUrl": website_url
"/analytics:v3/Webproperties": webproperties "/analytics:v3/Webproperties": webproperties
"/analytics:v3/Webproperties/items": items "/analytics:v3/Webproperties/items": items
@ -6235,6 +6382,7 @@
"/analytics:v3/Webproperty/permissions/effective/effective": effective "/analytics:v3/Webproperty/permissions/effective/effective": effective
"/analytics:v3/Webproperty/profileCount": profile_count "/analytics:v3/Webproperty/profileCount": profile_count
"/analytics:v3/Webproperty/selfLink": self_link "/analytics:v3/Webproperty/selfLink": self_link
"/analytics:v3/Webproperty/starred": starred
"/analytics:v3/Webproperty/updated": updated "/analytics:v3/Webproperty/updated": updated
"/analytics:v3/Webproperty/websiteUrl": website_url "/analytics:v3/Webproperty/websiteUrl": website_url
"/androidenterprise:v1/fields": fields "/androidenterprise:v1/fields": fields
@ -6982,7 +7130,9 @@
"/appsactivity:v1/Target/mimeType": mime_type "/appsactivity:v1/Target/mimeType": mime_type
"/appsactivity:v1/Target/name": name "/appsactivity:v1/Target/name": name
"/appsactivity:v1/User": user "/appsactivity:v1/User": user
"/appsactivity:v1/User/isDeleted": is_deleted
"/appsactivity:v1/User/name": name "/appsactivity:v1/User/name": name
"/appsactivity:v1/User/permissionId": permission_id
"/appsactivity:v1/User/photo": photo "/appsactivity:v1/User/photo": photo
"/appstate:v1/fields": fields "/appstate:v1/fields": fields
"/appstate:v1/key": key "/appstate:v1/key": key
@ -7248,6 +7398,24 @@
"/bigquery:v2/bigquery.tables.update/datasetId": dataset_id "/bigquery:v2/bigquery.tables.update/datasetId": dataset_id
"/bigquery:v2/bigquery.tables.update/projectId": project_id "/bigquery:v2/bigquery.tables.update/projectId": project_id
"/bigquery:v2/bigquery.tables.update/tableId": table_id "/bigquery:v2/bigquery.tables.update/tableId": table_id
"/bigquery:v2/BigtableColumn": bigtable_column
"/bigquery:v2/BigtableColumn/encoding": encoding
"/bigquery:v2/BigtableColumn/fieldName": field_name
"/bigquery:v2/BigtableColumn/onlyReadLatest": only_read_latest
"/bigquery:v2/BigtableColumn/qualifierEncoded": qualifier_encoded
"/bigquery:v2/BigtableColumn/qualifierString": qualifier_string
"/bigquery:v2/BigtableColumn/type": type
"/bigquery:v2/BigtableColumnFamily": bigtable_column_family
"/bigquery:v2/BigtableColumnFamily/columns": columns
"/bigquery:v2/BigtableColumnFamily/columns/column": column
"/bigquery:v2/BigtableColumnFamily/encoding": encoding
"/bigquery:v2/BigtableColumnFamily/familyId": family_id
"/bigquery:v2/BigtableColumnFamily/onlyReadLatest": only_read_latest
"/bigquery:v2/BigtableColumnFamily/type": type
"/bigquery:v2/BigtableOptions": bigtable_options
"/bigquery:v2/BigtableOptions/columnFamilies": column_families
"/bigquery:v2/BigtableOptions/columnFamilies/column_family": column_family
"/bigquery:v2/BigtableOptions/ignoreUnspecifiedColumnFamilies": ignore_unspecified_column_families
"/bigquery:v2/CsvOptions": csv_options "/bigquery:v2/CsvOptions": csv_options
"/bigquery:v2/CsvOptions/allowJaggedRows": allow_jagged_rows "/bigquery:v2/CsvOptions/allowJaggedRows": allow_jagged_rows
"/bigquery:v2/CsvOptions/allowQuotedNewlines": allow_quoted_newlines "/bigquery:v2/CsvOptions/allowQuotedNewlines": allow_quoted_newlines
@ -7313,6 +7481,8 @@
"/bigquery:v2/ExplainQueryStep/substeps": substeps "/bigquery:v2/ExplainQueryStep/substeps": substeps
"/bigquery:v2/ExplainQueryStep/substeps/substep": substep "/bigquery:v2/ExplainQueryStep/substeps/substep": substep
"/bigquery:v2/ExternalDataConfiguration": external_data_configuration "/bigquery:v2/ExternalDataConfiguration": external_data_configuration
"/bigquery:v2/ExternalDataConfiguration/autodetect": autodetect
"/bigquery:v2/ExternalDataConfiguration/bigtableOptions": bigtable_options
"/bigquery:v2/ExternalDataConfiguration/compression": compression "/bigquery:v2/ExternalDataConfiguration/compression": compression
"/bigquery:v2/ExternalDataConfiguration/csvOptions": csv_options "/bigquery:v2/ExternalDataConfiguration/csvOptions": csv_options
"/bigquery:v2/ExternalDataConfiguration/ignoreUnknownValues": ignore_unknown_values "/bigquery:v2/ExternalDataConfiguration/ignoreUnknownValues": ignore_unknown_values
@ -8128,6 +8298,7 @@
"/books:v1/books.volumes.associated.list/source": source "/books:v1/books.volumes.associated.list/source": source
"/books:v1/books.volumes.associated.list/volumeId": volume_id "/books:v1/books.volumes.associated.list/volumeId": volume_id
"/books:v1/books.volumes.mybooks.list/acquireMethod": acquire_method "/books:v1/books.volumes.mybooks.list/acquireMethod": acquire_method
"/books:v1/books.volumes.mybooks.list/country": country
"/books:v1/books.volumes.mybooks.list/locale": locale "/books:v1/books.volumes.mybooks.list/locale": locale
"/books:v1/books.volumes.mybooks.list/maxResults": max_results "/books:v1/books.volumes.mybooks.list/maxResults": max_results
"/books:v1/books.volumes.mybooks.list/processingState": processing_state "/books:v1/books.volumes.mybooks.list/processingState": processing_state
@ -8396,6 +8567,7 @@
"/books:v1/Notification/kind": kind "/books:v1/Notification/kind": kind
"/books:v1/Notification/notification_type": notification_type "/books:v1/Notification/notification_type": notification_type
"/books:v1/Notification/pcampaign_id": pcampaign_id "/books:v1/Notification/pcampaign_id": pcampaign_id
"/books:v1/Notification/reason": reason
"/books:v1/Notification/show_notification_settings_action": show_notification_settings_action "/books:v1/Notification/show_notification_settings_action": show_notification_settings_action
"/books:v1/Notification/targetUrl": target_url "/books:v1/Notification/targetUrl": target_url
"/books:v1/Notification/title": title "/books:v1/Notification/title": title
@ -9269,6 +9441,7 @@
"/cloudbuild:v1/BuiltImage/digest": digest "/cloudbuild:v1/BuiltImage/digest": digest
"/cloudbuild:v1/BuiltImage/name": name "/cloudbuild:v1/BuiltImage/name": name
"/cloudbuild:v1/StorageSource": storage_source "/cloudbuild:v1/StorageSource": storage_source
"/cloudbuild:v1/StorageSource/generation": generation
"/cloudbuild:v1/StorageSource/bucket": bucket "/cloudbuild:v1/StorageSource/bucket": bucket
"/cloudbuild:v1/StorageSource/object": object "/cloudbuild:v1/StorageSource/object": object
"/cloudbuild:v1/Results": results "/cloudbuild:v1/Results": results
@ -9578,6 +9751,7 @@
"/clouduseraccounts:beta/Operation": operation "/clouduseraccounts:beta/Operation": operation
"/clouduseraccounts:beta/Operation/clientOperationId": client_operation_id "/clouduseraccounts:beta/Operation/clientOperationId": client_operation_id
"/clouduseraccounts:beta/Operation/creationTimestamp": creation_timestamp "/clouduseraccounts:beta/Operation/creationTimestamp": creation_timestamp
"/clouduseraccounts:beta/Operation/description": description
"/clouduseraccounts:beta/Operation/endTime": end_time "/clouduseraccounts:beta/Operation/endTime": end_time
"/clouduseraccounts:beta/Operation/error": error "/clouduseraccounts:beta/Operation/error": error
"/clouduseraccounts:beta/Operation/error/errors": errors "/clouduseraccounts:beta/Operation/error/errors": errors
@ -11887,6 +12061,7 @@
"/content:v2/DatafeedFetchSchedule/dayOfMonth": day_of_month "/content:v2/DatafeedFetchSchedule/dayOfMonth": day_of_month
"/content:v2/DatafeedFetchSchedule/fetchUrl": fetch_url "/content:v2/DatafeedFetchSchedule/fetchUrl": fetch_url
"/content:v2/DatafeedFetchSchedule/hour": hour "/content:v2/DatafeedFetchSchedule/hour": hour
"/content:v2/DatafeedFetchSchedule/minuteOfHour": minute_of_hour
"/content:v2/DatafeedFetchSchedule/password": password "/content:v2/DatafeedFetchSchedule/password": password
"/content:v2/DatafeedFetchSchedule/timeZone": time_zone "/content:v2/DatafeedFetchSchedule/timeZone": time_zone
"/content:v2/DatafeedFetchSchedule/username": username "/content:v2/DatafeedFetchSchedule/username": username
@ -17680,6 +17855,7 @@
"/games:v1/ApplicationCategory/primary": primary "/games:v1/ApplicationCategory/primary": primary
"/games:v1/ApplicationCategory/secondary": secondary "/games:v1/ApplicationCategory/secondary": secondary
"/games:v1/ApplicationVerifyResponse": application_verify_response "/games:v1/ApplicationVerifyResponse": application_verify_response
"/games:v1/ApplicationVerifyResponse/alternate_player_id": alternate_player_id
"/games:v1/ApplicationVerifyResponse/kind": kind "/games:v1/ApplicationVerifyResponse/kind": kind
"/games:v1/ApplicationVerifyResponse/player_id": player_id "/games:v1/ApplicationVerifyResponse/player_id": player_id
"/games:v1/Category": category "/games:v1/Category": category
@ -18739,6 +18915,7 @@
"/gmail:v1/gmail.users.drafts.get/id": id "/gmail:v1/gmail.users.drafts.get/id": id
"/gmail:v1/gmail.users.drafts.get/userId": user_id "/gmail:v1/gmail.users.drafts.get/userId": user_id
"/gmail:v1/gmail.users.drafts.list": list_user_drafts "/gmail:v1/gmail.users.drafts.list": list_user_drafts
"/gmail:v1/gmail.users.drafts.list/includeSpamTrash": include_spam_trash
"/gmail:v1/gmail.users.drafts.list/maxResults": max_results "/gmail:v1/gmail.users.drafts.list/maxResults": max_results
"/gmail:v1/gmail.users.drafts.list/pageToken": page_token "/gmail:v1/gmail.users.drafts.list/pageToken": page_token
"/gmail:v1/gmail.users.drafts.list/userId": user_id "/gmail:v1/gmail.users.drafts.list/userId": user_id
@ -18769,6 +18946,8 @@
"/gmail:v1/gmail.users.labels.update": update_user_label "/gmail:v1/gmail.users.labels.update": update_user_label
"/gmail:v1/gmail.users.labels.update/id": id "/gmail:v1/gmail.users.labels.update/id": id
"/gmail:v1/gmail.users.labels.update/userId": user_id "/gmail:v1/gmail.users.labels.update/userId": user_id
"/gmail:v1/gmail.users.messages.batchDelete": batch_delete_messages
"/gmail:v1/gmail.users.messages.batchDelete/userId": user_id
"/gmail:v1/gmail.users.messages.delete": delete_user_message "/gmail:v1/gmail.users.messages.delete": delete_user_message
"/gmail:v1/gmail.users.messages.delete/id": id "/gmail:v1/gmail.users.messages.delete/id": id
"/gmail:v1/gmail.users.messages.delete/userId": user_id "/gmail:v1/gmail.users.messages.delete/userId": user_id
@ -18833,6 +19012,9 @@
"/gmail:v1/gmail.users.threads.untrash": untrash_user_thread "/gmail:v1/gmail.users.threads.untrash": untrash_user_thread
"/gmail:v1/gmail.users.threads.untrash/id": id "/gmail:v1/gmail.users.threads.untrash/id": id
"/gmail:v1/gmail.users.threads.untrash/userId": user_id "/gmail:v1/gmail.users.threads.untrash/userId": user_id
"/gmail:v1/BatchDeleteMessagesRequest": batch_delete_messages_request
"/gmail:v1/BatchDeleteMessagesRequest/ids": ids
"/gmail:v1/BatchDeleteMessagesRequest/ids/id": id
"/gmail:v1/Draft": draft "/gmail:v1/Draft": draft
"/gmail:v1/Draft/id": id "/gmail:v1/Draft/id": id
"/gmail:v1/Draft/message": message "/gmail:v1/Draft/message": message
@ -19421,14 +19603,18 @@
"/clouddebugger:v2/clouddebugger.debugger.debuggees.list": list_debugger_debuggees "/clouddebugger:v2/clouddebugger.debugger.debuggees.list": list_debugger_debuggees
"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/project": project "/clouddebugger:v2/clouddebugger.debugger.debuggees.list/project": project
"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/includeInactive": include_inactive "/clouddebugger:v2/clouddebugger.debugger.debuggees.list/includeInactive": include_inactive
"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/clientVersion": client_version
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set": set_debugger_debuggee_breakpoint "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set": set_debugger_debuggee_breakpoint
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/debuggeeId": debuggee_id "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/debuggeeId": debuggee_id
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/clientVersion": client_version
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get": get_debugger_debuggee_breakpoint "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get": get_debugger_debuggee_breakpoint
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/debuggeeId": debuggee_id "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/debuggeeId": debuggee_id
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/breakpointId": breakpoint_id "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/breakpointId": breakpoint_id
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/clientVersion": client_version
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete": delete_debugger_debuggee_breakpoint "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete": delete_debugger_debuggee_breakpoint
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/debuggeeId": debuggee_id "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/debuggeeId": debuggee_id
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/breakpointId": breakpoint_id "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/breakpointId": breakpoint_id
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/clientVersion": client_version
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list": list_debugger_debuggee_breakpoints "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list": list_debugger_debuggee_breakpoints
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/debuggeeId": debuggee_id "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/debuggeeId": debuggee_id
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/includeAllUsers": include_all_users "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/includeAllUsers": include_all_users
@ -19436,6 +19622,7 @@
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/action.value": action_value "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/action.value": action_value
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/stripResults": strip_results "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/stripResults": strip_results
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/waitToken": wait_token "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/waitToken": wait_token
"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/clientVersion": client_version
"/clouddebugger:v2/RegisterDebuggeeRequest": register_debuggee_request "/clouddebugger:v2/RegisterDebuggeeRequest": register_debuggee_request
"/clouddebugger:v2/RegisterDebuggeeRequest/debuggee": debuggee "/clouddebugger:v2/RegisterDebuggeeRequest/debuggee": debuggee
"/clouddebugger:v2/Debuggee": debuggee "/clouddebugger:v2/Debuggee": debuggee
@ -19526,6 +19713,8 @@
"/clouddebugger:v2/Breakpoint/evaluatedExpressions/evaluated_expression": evaluated_expression "/clouddebugger:v2/Breakpoint/evaluatedExpressions/evaluated_expression": evaluated_expression
"/clouddebugger:v2/Breakpoint/variableTable": variable_table "/clouddebugger:v2/Breakpoint/variableTable": variable_table
"/clouddebugger:v2/Breakpoint/variableTable/variable_table": variable_table "/clouddebugger:v2/Breakpoint/variableTable/variable_table": variable_table
"/clouddebugger:v2/Breakpoint/labels": labels
"/clouddebugger:v2/Breakpoint/labels/label": label
"/clouddebugger:v2/SourceLocation": source_location "/clouddebugger:v2/SourceLocation": source_location
"/clouddebugger:v2/SourceLocation/path": path "/clouddebugger:v2/SourceLocation/path": path
"/clouddebugger:v2/SourceLocation/line": line "/clouddebugger:v2/SourceLocation/line": line
@ -19559,6 +19748,63 @@
"/clouddebugger:v2/ListDebuggeesResponse": list_debuggees_response "/clouddebugger:v2/ListDebuggeesResponse": list_debuggees_response
"/clouddebugger:v2/ListDebuggeesResponse/debuggees": debuggees "/clouddebugger:v2/ListDebuggeesResponse/debuggees": debuggees
"/clouddebugger:v2/ListDebuggeesResponse/debuggees/debuggee": debuggee "/clouddebugger:v2/ListDebuggeesResponse/debuggees/debuggee": debuggee
"/cloudresourcemanager:v1/fields": fields
"/cloudresourcemanager:v1/key": key
"/cloudresourcemanager:v1/quotaUser": quota_user
"/cloudresourcemanager:v1/cloudresourcemanager.projects.get": get_project
"/cloudresourcemanager:v1/cloudresourcemanager.projects.get/projectId": project_id
"/cloudresourcemanager:v1/cloudresourcemanager.projects.list": list_projects
"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageToken": page_token
"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageSize": page_size
"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/filter": filter
"/cloudresourcemanager:v1/cloudresourcemanager.projects.update": update_project
"/cloudresourcemanager:v1/cloudresourcemanager.projects.update/projectId": project_id
"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete": delete_project
"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete/projectId": project_id
"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete": undelete_project
"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete/projectId": project_id
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy/resource": resource
"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy
"/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/Project": project
"/cloudresourcemanager:v1/Project/projectNumber": project_number
"/cloudresourcemanager:v1/Project/projectId": project_id
"/cloudresourcemanager:v1/Project/lifecycleState": lifecycle_state
"/cloudresourcemanager:v1/Project/name": name
"/cloudresourcemanager:v1/Project/createTime": create_time
"/cloudresourcemanager:v1/Project/labels": labels
"/cloudresourcemanager:v1/Project/labels/label": label
"/cloudresourcemanager:v1/Project/parent": parent
"/cloudresourcemanager:v1/ResourceId": resource_id
"/cloudresourcemanager:v1/ResourceId/type": type
"/cloudresourcemanager:v1/ResourceId/id": id
"/cloudresourcemanager:v1/ListProjectsResponse": list_projects_response
"/cloudresourcemanager:v1/ListProjectsResponse/projects": projects
"/cloudresourcemanager:v1/ListProjectsResponse/projects/project": project
"/cloudresourcemanager:v1/ListProjectsResponse/nextPageToken": next_page_token
"/cloudresourcemanager:v1/Empty": empty
"/cloudresourcemanager:v1/UndeleteProjectRequest": undelete_project_request
"/cloudresourcemanager:v1/GetIamPolicyRequest": get_iam_policy_request
"/cloudresourcemanager:v1/Policy": policy
"/cloudresourcemanager:v1/Policy/version": version
"/cloudresourcemanager:v1/Policy/bindings": bindings
"/cloudresourcemanager:v1/Policy/bindings/binding": binding
"/cloudresourcemanager:v1/Policy/etag": etag
"/cloudresourcemanager:v1/Binding": binding
"/cloudresourcemanager:v1/Binding/role": role
"/cloudresourcemanager:v1/Binding/members": members
"/cloudresourcemanager:v1/Binding/members/member": member
"/cloudresourcemanager:v1/SetIamPolicyRequest": set_iam_policy_request
"/cloudresourcemanager:v1/SetIamPolicyRequest/policy": policy
"/cloudresourcemanager:v1/TestIamPermissionsRequest": test_iam_permissions_request
"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions": permissions
"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions/permission": permission
"/cloudresourcemanager:v1/TestIamPermissionsResponse": test_iam_permissions_response
"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions": permissions
"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions/permission": permission
"/cloudresourcemanager:v1beta1/fields": fields "/cloudresourcemanager:v1beta1/fields": fields
"/cloudresourcemanager:v1beta1/key": key "/cloudresourcemanager:v1beta1/key": key
"/cloudresourcemanager:v1beta1/quotaUser": quota_user "/cloudresourcemanager:v1beta1/quotaUser": quota_user
@ -20107,6 +20353,7 @@
"/genomics:v1/genomics.variants.delete/variantId": variant_id "/genomics:v1/genomics.variants.delete/variantId": variant_id
"/genomics:v1/genomics.variants.get": get_variant "/genomics:v1/genomics.variants.get": get_variant
"/genomics:v1/genomics.variants.get/variantId": variant_id "/genomics:v1/genomics.variants.get/variantId": variant_id
"/genomics:v1/genomics.variants.merge": merge_variants
"/genomics:v1/genomics.variants.stream": stream_variants "/genomics:v1/genomics.variants.stream": stream_variants
"/genomics:v1/genomics.variantsets.create": create_variantset "/genomics:v1/genomics.variantsets.create": create_variantset
"/genomics:v1/genomics.variantsets.export/variantSetId": variant_set_id "/genomics:v1/genomics.variantsets.export/variantSetId": variant_set_id
@ -20292,6 +20539,8 @@
"/genomics:v1/StreamReadsRequest/referenceName": reference_name "/genomics:v1/StreamReadsRequest/referenceName": reference_name
"/genomics:v1/StreamReadsRequest/start": start "/genomics:v1/StreamReadsRequest/start": start
"/genomics:v1/StreamReadsRequest/end": end "/genomics:v1/StreamReadsRequest/end": end
"/genomics:v1/StreamReadsRequest/shard": shard
"/genomics:v1/StreamReadsRequest/totalShards": total_shards
"/genomics:v1/StreamReadsResponse": stream_reads_response "/genomics:v1/StreamReadsResponse": stream_reads_response
"/genomics:v1/StreamReadsResponse/alignments": alignments "/genomics:v1/StreamReadsResponse/alignments": alignments
"/genomics:v1/StreamReadsResponse/alignments/alignment": alignment "/genomics:v1/StreamReadsResponse/alignments/alignment": alignment
@ -20433,6 +20682,10 @@
"/genomics:v1/VariantCall/info": info "/genomics:v1/VariantCall/info": info
"/genomics:v1/VariantCall/info/info": info "/genomics:v1/VariantCall/info/info": info
"/genomics:v1/VariantCall/info/info/info": info "/genomics:v1/VariantCall/info/info/info": info
"/genomics:v1/MergeVariantsRequest": merge_variants_request
"/genomics:v1/MergeVariantsRequest/variantSetId": variant_set_id
"/genomics:v1/MergeVariantsRequest/variants": variants
"/genomics:v1/MergeVariantsRequest/variants/variant": variant
"/genomics:v1/SearchCallSetsRequest": search_call_sets_request "/genomics:v1/SearchCallSetsRequest": search_call_sets_request
"/genomics:v1/SearchCallSetsRequest/variantSetIds": variant_set_ids "/genomics:v1/SearchCallSetsRequest/variantSetIds": variant_set_ids
"/genomics:v1/SearchCallSetsRequest/variantSetIds/variant_set_id": variant_set_id "/genomics:v1/SearchCallSetsRequest/variantSetIds/variant_set_id": variant_set_id
@ -20479,6 +20732,119 @@
"/genomics:v1/OperationMetadata/events/event": event "/genomics:v1/OperationMetadata/events/event": event
"/genomics:v1/OperationEvent": operation_event "/genomics:v1/OperationEvent": operation_event
"/genomics:v1/OperationEvent/description": description "/genomics:v1/OperationEvent/description": description
"/iam:v1/fields": fields
"/iam:v1/key": key
"/iam:v1/quotaUser": quota_user
"/iam:v1/iam.projects.serviceAccounts.list": list_project_service_accounts
"/iam:v1/iam.projects.serviceAccounts.list/name": name
"/iam:v1/iam.projects.serviceAccounts.list/pageSize": page_size
"/iam:v1/iam.projects.serviceAccounts.list/pageToken": page_token
"/iam:v1/iam.projects.serviceAccounts.get": get_project_service_account
"/iam:v1/iam.projects.serviceAccounts.get/name": name
"/iam:v1/iam.projects.serviceAccounts.create": create_service_account
"/iam:v1/iam.projects.serviceAccounts.create/name": name
"/iam:v1/iam.projects.serviceAccounts.update": update_project_service_account
"/iam:v1/iam.projects.serviceAccounts.update/name": name
"/iam:v1/iam.projects.serviceAccounts.delete": delete_project_service_account
"/iam:v1/iam.projects.serviceAccounts.delete/name": name
"/iam:v1/iam.projects.serviceAccounts.signBlob": sign_service_account_blob
"/iam:v1/iam.projects.serviceAccounts.signBlob/name": name
"/iam:v1/iam.projects.serviceAccounts.getIamPolicy": get_project_service_account_iam_policy
"/iam:v1/iam.projects.serviceAccounts.getIamPolicy/resource": resource
"/iam:v1/iam.projects.serviceAccounts.setIamPolicy": set_service_account_iam_policy
"/iam:v1/iam.projects.serviceAccounts.setIamPolicy/resource": resource
"/iam:v1/iam.projects.serviceAccounts.testIamPermissions": test_service_account_iam_permissions
"/iam:v1/iam.projects.serviceAccounts.testIamPermissions/resource": resource
"/iam:v1/iam.projects.serviceAccounts.keys.list": list_project_service_account_keys
"/iam:v1/iam.projects.serviceAccounts.keys.list/name": name
"/iam:v1/iam.projects.serviceAccounts.keys.list/keyTypes": key_types
"/iam:v1/iam.projects.serviceAccounts.keys.get": get_project_service_account_key
"/iam:v1/iam.projects.serviceAccounts.keys.get/name": name
"/iam:v1/iam.projects.serviceAccounts.keys.create": create_service_account_key
"/iam:v1/iam.projects.serviceAccounts.keys.create/name": name
"/iam:v1/iam.projects.serviceAccounts.keys.delete": delete_project_service_account_key
"/iam:v1/iam.projects.serviceAccounts.keys.delete/name": name
"/iam:v1/ListServiceAccountsResponse": list_service_accounts_response
"/iam:v1/ListServiceAccountsResponse/accounts": accounts
"/iam:v1/ListServiceAccountsResponse/accounts/account": account
"/iam:v1/ListServiceAccountsResponse/nextPageToken": next_page_token
"/iam:v1/ServiceAccount": service_account
"/iam:v1/ServiceAccount/name": name
"/iam:v1/ServiceAccount/projectId": project_id
"/iam:v1/ServiceAccount/uniqueId": unique_id
"/iam:v1/ServiceAccount/email": email
"/iam:v1/ServiceAccount/displayName": display_name
"/iam:v1/ServiceAccount/etag": etag
"/iam:v1/ServiceAccount/oauth2ClientId": oauth2_client_id
"/iam:v1/CreateServiceAccountRequest": create_service_account_request
"/iam:v1/CreateServiceAccountRequest/accountId": account_id
"/iam:v1/CreateServiceAccountRequest/serviceAccount": service_account
"/iam:v1/Empty": empty
"/iam:v1/ListServiceAccountKeysResponse": list_service_account_keys_response
"/iam:v1/ListServiceAccountKeysResponse/keys": keys
"/iam:v1/ListServiceAccountKeysResponse/keys/key": key
"/iam:v1/ServiceAccountKey": service_account_key
"/iam:v1/ServiceAccountKey/name": name
"/iam:v1/ServiceAccountKey/privateKeyType": private_key_type
"/iam:v1/ServiceAccountKey/privateKeyData": private_key_data
"/iam:v1/ServiceAccountKey/validAfterTime": valid_after_time
"/iam:v1/ServiceAccountKey/validBeforeTime": valid_before_time
"/iam:v1/CreateServiceAccountKeyRequest": create_service_account_key_request
"/iam:v1/CreateServiceAccountKeyRequest/privateKeyType": private_key_type
"/iam:v1/SignBlobRequest": sign_blob_request
"/iam:v1/SignBlobRequest/bytesToSign": bytes_to_sign
"/iam:v1/SignBlobResponse": sign_blob_response
"/iam:v1/SignBlobResponse/keyId": key_id
"/iam:v1/SignBlobResponse/signature": signature
"/iam:v1/Policy": policy
"/iam:v1/Policy/version": version
"/iam:v1/Policy/bindings": bindings
"/iam:v1/Policy/bindings/binding": binding
"/iam:v1/Policy/rules": rules
"/iam:v1/Policy/rules/rule": rule
"/iam:v1/Policy/etag": etag
"/iam:v1/Binding": binding
"/iam:v1/Binding/role": role
"/iam:v1/Binding/members": members
"/iam:v1/Binding/members/member": member
"/iam:v1/Rule": rule
"/iam:v1/Rule/description": description
"/iam:v1/Rule/permissions": permissions
"/iam:v1/Rule/permissions/permission": permission
"/iam:v1/Rule/action": action
"/iam:v1/Rule/in": in
"/iam:v1/Rule/in/in": in
"/iam:v1/Rule/notIn": not_in
"/iam:v1/Rule/notIn/not_in": not_in
"/iam:v1/Rule/conditions": conditions
"/iam:v1/Rule/conditions/condition": condition
"/iam:v1/Rule/logConfig": log_config
"/iam:v1/Rule/logConfig/log_config": log_config
"/iam:v1/Condition": condition
"/iam:v1/Condition/iam": iam
"/iam:v1/Condition/sys": sys
"/iam:v1/Condition/svc": svc
"/iam:v1/Condition/op": op
"/iam:v1/Condition/value": value
"/iam:v1/Condition/values": values
"/iam:v1/Condition/values/value": value
"/iam:v1/LogConfig": log_config
"/iam:v1/LogConfig/counter": counter
"/iam:v1/LogConfig/dataAccess": data_access
"/iam:v1/LogConfig/cloudAudit": cloud_audit
"/iam:v1/CounterOptions": counter_options
"/iam:v1/CounterOptions/metric": metric
"/iam:v1/CounterOptions/field": field
"/iam:v1/DataAccessOptions": data_access_options
"/iam:v1/CloudAuditOptions": cloud_audit_options
"/iam:v1/SetIamPolicyRequest": set_iam_policy_request
"/iam:v1/SetIamPolicyRequest/policy": policy
"/iam:v1/TestIamPermissionsRequest": test_iam_permissions_request
"/iam:v1/TestIamPermissionsRequest/permissions": permissions
"/iam:v1/TestIamPermissionsRequest/permissions/permission": permission
"/iam:v1/TestIamPermissionsResponse": test_iam_permissions_response
"/iam:v1/TestIamPermissionsResponse/permissions": permissions
"/iam:v1/TestIamPermissionsResponse/permissions/permission": permission
"/kgsearch:v1/fields": fields "/kgsearch:v1/fields": fields
"/kgsearch:v1/key": key "/kgsearch:v1/key": key
"/kgsearch:v1/quotaUser": quota_user "/kgsearch:v1/quotaUser": quota_user
@ -21544,6 +21910,9 @@
"/identitytoolkit:v3/key": key "/identitytoolkit:v3/key": key
"/identitytoolkit:v3/quotaUser": quota_user "/identitytoolkit:v3/quotaUser": quota_user
"/identitytoolkit:v3/userIp": user_ip "/identitytoolkit:v3/userIp": user_ip
"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig/delegatedProjectNumber": delegated_project_number
"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig/projectNumber": project_number
"/identitytoolkit:v3/identitytoolkit.relyingparty.setProjectConfig": set_relyingparty_project_config
"/identitytoolkit:v3/CreateAuthUriResponse": create_auth_uri_response "/identitytoolkit:v3/CreateAuthUriResponse": create_auth_uri_response
"/identitytoolkit:v3/CreateAuthUriResponse/allProviders": all_providers "/identitytoolkit:v3/CreateAuthUriResponse/allProviders": all_providers
"/identitytoolkit:v3/CreateAuthUriResponse/allProviders/all_provider": all_provider "/identitytoolkit:v3/CreateAuthUriResponse/allProviders/all_provider": all_provider
@ -21561,6 +21930,13 @@
"/identitytoolkit:v3/DownloadAccountResponse/nextPageToken": next_page_token "/identitytoolkit:v3/DownloadAccountResponse/nextPageToken": next_page_token
"/identitytoolkit:v3/DownloadAccountResponse/users": users "/identitytoolkit:v3/DownloadAccountResponse/users": users
"/identitytoolkit:v3/DownloadAccountResponse/users/user": user "/identitytoolkit:v3/DownloadAccountResponse/users/user": user
"/identitytoolkit:v3/EmailTemplate": email_template
"/identitytoolkit:v3/EmailTemplate/body": body
"/identitytoolkit:v3/EmailTemplate/format": format
"/identitytoolkit:v3/EmailTemplate/from": from
"/identitytoolkit:v3/EmailTemplate/fromDisplayName": from_display_name
"/identitytoolkit:v3/EmailTemplate/replyTo": reply_to
"/identitytoolkit:v3/EmailTemplate/subject": subject
"/identitytoolkit:v3/GetAccountInfoResponse": get_account_info_response "/identitytoolkit:v3/GetAccountInfoResponse": get_account_info_response
"/identitytoolkit:v3/GetAccountInfoResponse/kind": kind "/identitytoolkit:v3/GetAccountInfoResponse/kind": kind
"/identitytoolkit:v3/GetAccountInfoResponse/users": users "/identitytoolkit:v3/GetAccountInfoResponse/users": users
@ -21584,10 +21960,12 @@
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/otaApp": ota_app "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/otaApp": ota_app
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/providerId": provider_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/providerId": provider_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/delegatedProjectNumber": delegated_project_number
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/idToken": id_token
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/localId": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/localId": local_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/delegatedProjectNumber": delegated_project_number
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/maxResults": max_results "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/maxResults": max_results
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/nextPageToken": next_page_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/nextPageToken": next_page_token
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/delegatedProjectNumber": delegated_project_number
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/email": email "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/email": email
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/email/email": email "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/email/email": email
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/idToken": id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/idToken": id_token
@ -21595,9 +21973,15 @@
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/localId/local_id": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/localId/local_id": local_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/allowPasswordUser": allow_password_user "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/allowPasswordUser": allow_password_user
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/apiKey": api_key "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/apiKey": api_key
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/authorizedDomains": authorized_domains
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/authorizedDomains/authorized_domain": authorized_domain
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/changeEmailTemplate": change_email_template
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/idpConfig": idp_config "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/idpConfig": idp_config
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/idpConfig/idp_config": idp_config "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/idpConfig/idp_config": idp_config
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/projectId": project_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/projectId": project_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/resetPasswordTemplate": reset_password_template
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/useEmailSending": use_email_sending
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/verifyEmailTemplate": verify_email_template
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/email": email "/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/email": email
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/newPassword": new_password "/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/newPassword": new_password
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/oldPassword": old_password "/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/oldPassword": old_password
@ -21605,6 +21989,10 @@
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/captchaChallenge": captcha_challenge "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/captchaChallenge": captcha_challenge
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/captchaResponse": captcha_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/captchaResponse": captcha_response
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/delegatedProjectNumber": delegated_project_number
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/deleteAttribute": delete_attribute
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/deleteAttribute/delete_attribute": delete_attribute
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/deleteProvider": delete_provider
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/deleteProvider/delete_provider": delete_provider
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/disableUser": disable_user "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/disableUser": disable_user
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/displayName": display_name "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/displayName": display_name
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/email": email "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/email": email
@ -21617,8 +22005,20 @@
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/photoUrl": photo_url "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/photoUrl": photo_url
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider": provider "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider": provider
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider/provider": provider "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider/provider": provider
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/returnSecureToken": return_secure_token
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/upgradeToFederatedLogin": upgrade_to_federated_login "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/upgradeToFederatedLogin": upgrade_to_federated_login
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/validSince": valid_since "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/validSince": valid_since
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/allowPasswordUser": allow_password_user
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/apiKey": api_key
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/changeEmailTemplate": change_email_template
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/delegatedProjectNumber": delegated_project_number
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/idpConfig": idp_config
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/idpConfig/idp_config": idp_config
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/resetPasswordTemplate": reset_password_template
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/useEmailSending": use_email_sending
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/verifyEmailTemplate": verify_email_template
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigResponse": identitytoolkit_relyingparty_set_project_config_response
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigResponse/projectId": project_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/instanceId": instance_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/localId": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/localId": local_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse/localId": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse/localId": local_id
@ -21629,6 +22029,7 @@
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/idToken": id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/idToken": id_token
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/instanceId": instance_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/password": password "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/password": password
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/returnSecureToken": return_secure_token
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/delegatedProjectNumber": delegated_project_number
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/hashAlgorithm": hash_algorithm "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/hashAlgorithm": hash_algorithm
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/memoryCost": memory_cost "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/memoryCost": memory_cost
@ -21644,8 +22045,10 @@
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/postBody": post_body "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/postBody": post_body
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/requestUri": request_uri "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/requestUri": request_uri
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnRefreshToken": return_refresh_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnRefreshToken": return_refresh_token
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnSecureToken": return_secure_token
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/sessionId": session_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/sessionId": session_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/instanceId": instance_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/returnSecureToken": return_secure_token
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/token": token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/token": token
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaChallenge": captcha_challenge "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaChallenge": captcha_challenge
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaResponse": captcha_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaResponse": captcha_response
@ -21655,6 +22058,7 @@
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/instanceId": instance_id
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/password": password "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/password": password
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/pendingIdToken": pending_id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/pendingIdToken": pending_id_token
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/returnSecureToken": return_secure_token
"/identitytoolkit:v3/IdpConfig": idp_config "/identitytoolkit:v3/IdpConfig": idp_config
"/identitytoolkit:v3/IdpConfig/clientId": client_id "/identitytoolkit:v3/IdpConfig/clientId": client_id
"/identitytoolkit:v3/IdpConfig/enabled": enabled "/identitytoolkit:v3/IdpConfig/enabled": enabled
@ -21675,6 +22079,7 @@
"/identitytoolkit:v3/SetAccountInfoResponse": set_account_info_response "/identitytoolkit:v3/SetAccountInfoResponse": set_account_info_response
"/identitytoolkit:v3/SetAccountInfoResponse/displayName": display_name "/identitytoolkit:v3/SetAccountInfoResponse/displayName": display_name
"/identitytoolkit:v3/SetAccountInfoResponse/email": email "/identitytoolkit:v3/SetAccountInfoResponse/email": email
"/identitytoolkit:v3/SetAccountInfoResponse/expiresIn": expires_in
"/identitytoolkit:v3/SetAccountInfoResponse/idToken": id_token "/identitytoolkit:v3/SetAccountInfoResponse/idToken": id_token
"/identitytoolkit:v3/SetAccountInfoResponse/kind": kind "/identitytoolkit:v3/SetAccountInfoResponse/kind": kind
"/identitytoolkit:v3/SetAccountInfoResponse/newEmail": new_email "/identitytoolkit:v3/SetAccountInfoResponse/newEmail": new_email
@ -21684,11 +22089,15 @@
"/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/displayName": display_name "/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/displayName": display_name
"/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/photoUrl": photo_url "/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/photoUrl": photo_url
"/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/providerId": provider_id "/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/providerId": provider_id
"/identitytoolkit:v3/SetAccountInfoResponse/refreshToken": refresh_token
"/identitytoolkit:v3/SignupNewUserResponse": signup_new_user_response "/identitytoolkit:v3/SignupNewUserResponse": signup_new_user_response
"/identitytoolkit:v3/SignupNewUserResponse/displayName": display_name "/identitytoolkit:v3/SignupNewUserResponse/displayName": display_name
"/identitytoolkit:v3/SignupNewUserResponse/email": email "/identitytoolkit:v3/SignupNewUserResponse/email": email
"/identitytoolkit:v3/SignupNewUserResponse/expiresIn": expires_in
"/identitytoolkit:v3/SignupNewUserResponse/idToken": id_token "/identitytoolkit:v3/SignupNewUserResponse/idToken": id_token
"/identitytoolkit:v3/SignupNewUserResponse/kind": kind "/identitytoolkit:v3/SignupNewUserResponse/kind": kind
"/identitytoolkit:v3/SignupNewUserResponse/localId": local_id
"/identitytoolkit:v3/SignupNewUserResponse/refreshToken": refresh_token
"/identitytoolkit:v3/UploadAccountResponse": upload_account_response "/identitytoolkit:v3/UploadAccountResponse": upload_account_response
"/identitytoolkit:v3/UploadAccountResponse/error": error "/identitytoolkit:v3/UploadAccountResponse/error": error
"/identitytoolkit:v3/UploadAccountResponse/error/error": error "/identitytoolkit:v3/UploadAccountResponse/error/error": error
@ -21711,6 +22120,7 @@
"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/federatedId": federated_id "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/federatedId": federated_id
"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/photoUrl": photo_url "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/photoUrl": photo_url
"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/providerId": provider_id "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/providerId": provider_id
"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/rawId": raw_id
"/identitytoolkit:v3/UserInfo/salt": salt "/identitytoolkit:v3/UserInfo/salt": salt
"/identitytoolkit:v3/UserInfo/validSince": valid_since "/identitytoolkit:v3/UserInfo/validSince": valid_since
"/identitytoolkit:v3/UserInfo/version": version "/identitytoolkit:v3/UserInfo/version": version
@ -21724,6 +22134,7 @@
"/identitytoolkit:v3/VerifyAssertionResponse/email": email "/identitytoolkit:v3/VerifyAssertionResponse/email": email
"/identitytoolkit:v3/VerifyAssertionResponse/emailRecycled": email_recycled "/identitytoolkit:v3/VerifyAssertionResponse/emailRecycled": email_recycled
"/identitytoolkit:v3/VerifyAssertionResponse/emailVerified": email_verified "/identitytoolkit:v3/VerifyAssertionResponse/emailVerified": email_verified
"/identitytoolkit:v3/VerifyAssertionResponse/expiresIn": expires_in
"/identitytoolkit:v3/VerifyAssertionResponse/federatedId": federated_id "/identitytoolkit:v3/VerifyAssertionResponse/federatedId": federated_id
"/identitytoolkit:v3/VerifyAssertionResponse/firstName": first_name "/identitytoolkit:v3/VerifyAssertionResponse/firstName": first_name
"/identitytoolkit:v3/VerifyAssertionResponse/fullName": full_name "/identitytoolkit:v3/VerifyAssertionResponse/fullName": full_name
@ -21741,18 +22152,23 @@
"/identitytoolkit:v3/VerifyAssertionResponse/oauthExpireIn": oauth_expire_in "/identitytoolkit:v3/VerifyAssertionResponse/oauthExpireIn": oauth_expire_in
"/identitytoolkit:v3/VerifyAssertionResponse/oauthRequestToken": oauth_request_token "/identitytoolkit:v3/VerifyAssertionResponse/oauthRequestToken": oauth_request_token
"/identitytoolkit:v3/VerifyAssertionResponse/oauthScope": oauth_scope "/identitytoolkit:v3/VerifyAssertionResponse/oauthScope": oauth_scope
"/identitytoolkit:v3/VerifyAssertionResponse/oauthTokenSecret": oauth_token_secret
"/identitytoolkit:v3/VerifyAssertionResponse/originalEmail": original_email "/identitytoolkit:v3/VerifyAssertionResponse/originalEmail": original_email
"/identitytoolkit:v3/VerifyAssertionResponse/photoUrl": photo_url "/identitytoolkit:v3/VerifyAssertionResponse/photoUrl": photo_url
"/identitytoolkit:v3/VerifyAssertionResponse/providerId": provider_id "/identitytoolkit:v3/VerifyAssertionResponse/providerId": provider_id
"/identitytoolkit:v3/VerifyAssertionResponse/refreshToken": refresh_token
"/identitytoolkit:v3/VerifyAssertionResponse/timeZone": time_zone "/identitytoolkit:v3/VerifyAssertionResponse/timeZone": time_zone
"/identitytoolkit:v3/VerifyAssertionResponse/verifiedProvider": verified_provider "/identitytoolkit:v3/VerifyAssertionResponse/verifiedProvider": verified_provider
"/identitytoolkit:v3/VerifyAssertionResponse/verifiedProvider/verified_provider": verified_provider "/identitytoolkit:v3/VerifyAssertionResponse/verifiedProvider/verified_provider": verified_provider
"/identitytoolkit:v3/VerifyCustomTokenResponse": verify_custom_token_response "/identitytoolkit:v3/VerifyCustomTokenResponse": verify_custom_token_response
"/identitytoolkit:v3/VerifyCustomTokenResponse/expiresIn": expires_in
"/identitytoolkit:v3/VerifyCustomTokenResponse/idToken": id_token "/identitytoolkit:v3/VerifyCustomTokenResponse/idToken": id_token
"/identitytoolkit:v3/VerifyCustomTokenResponse/kind": kind "/identitytoolkit:v3/VerifyCustomTokenResponse/kind": kind
"/identitytoolkit:v3/VerifyCustomTokenResponse/refreshToken": refresh_token
"/identitytoolkit:v3/VerifyPasswordResponse": verify_password_response "/identitytoolkit:v3/VerifyPasswordResponse": verify_password_response
"/identitytoolkit:v3/VerifyPasswordResponse/displayName": display_name "/identitytoolkit:v3/VerifyPasswordResponse/displayName": display_name
"/identitytoolkit:v3/VerifyPasswordResponse/email": email "/identitytoolkit:v3/VerifyPasswordResponse/email": email
"/identitytoolkit:v3/VerifyPasswordResponse/expiresIn": expires_in
"/identitytoolkit:v3/VerifyPasswordResponse/idToken": id_token "/identitytoolkit:v3/VerifyPasswordResponse/idToken": id_token
"/identitytoolkit:v3/VerifyPasswordResponse/kind": kind "/identitytoolkit:v3/VerifyPasswordResponse/kind": kind
"/identitytoolkit:v3/VerifyPasswordResponse/localId": local_id "/identitytoolkit:v3/VerifyPasswordResponse/localId": local_id
@ -21760,6 +22176,7 @@
"/identitytoolkit:v3/VerifyPasswordResponse/oauthAuthorizationCode": oauth_authorization_code "/identitytoolkit:v3/VerifyPasswordResponse/oauthAuthorizationCode": oauth_authorization_code
"/identitytoolkit:v3/VerifyPasswordResponse/oauthExpireIn": oauth_expire_in "/identitytoolkit:v3/VerifyPasswordResponse/oauthExpireIn": oauth_expire_in
"/identitytoolkit:v3/VerifyPasswordResponse/photoUrl": photo_url "/identitytoolkit:v3/VerifyPasswordResponse/photoUrl": photo_url
"/identitytoolkit:v3/VerifyPasswordResponse/refreshToken": refresh_token
"/identitytoolkit:v3/VerifyPasswordResponse/registered": registered "/identitytoolkit:v3/VerifyPasswordResponse/registered": registered
"/licensing:v1/fields": fields "/licensing:v1/fields": fields
"/licensing:v1/key": key "/licensing:v1/key": key
@ -26021,6 +26438,7 @@
"/youtube:v3/ChannelSettings/unsubscribedTrailer": unsubscribed_trailer "/youtube:v3/ChannelSettings/unsubscribedTrailer": unsubscribed_trailer
"/youtube:v3/ChannelSnippet": channel_snippet "/youtube:v3/ChannelSnippet": channel_snippet
"/youtube:v3/ChannelSnippet/country": country "/youtube:v3/ChannelSnippet/country": country
"/youtube:v3/ChannelSnippet/customUrl": custom_url
"/youtube:v3/ChannelSnippet/defaultLanguage": default_language "/youtube:v3/ChannelSnippet/defaultLanguage": default_language
"/youtube:v3/ChannelSnippet/description": description "/youtube:v3/ChannelSnippet/description": description
"/youtube:v3/ChannelSnippet/localized": localized "/youtube:v3/ChannelSnippet/localized": localized

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest # @see https://developers.google.com/ad-exchange/buyer-rest
module AdexchangebuyerV1_4 module AdexchangebuyerV1_4
VERSION = 'V1_4' VERSION = 'V1_4'
REVISION = '20160222' REVISION = '20160229'
# Manage your Ad Exchange buyer account configuration # Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -20,13 +20,12 @@ module Google
module Apis module Apis
# AdSense Management API # AdSense Management API
# #
# Gives AdSense publishers access to their inventory and the ability to generate # Accesses AdSense publishers' inventory and generates performance reports.
# reports
# #
# @see https://developers.google.com/adsense/management/ # @see https://developers.google.com/adsense/management/
module AdsenseV1_4 module AdsenseV1_4
VERSION = 'V1_4' VERSION = 'V1_4'
REVISION = '20160223' REVISION = '20160309'
# View and manage your AdSense data # View and manage your AdSense data
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense' AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'

View File

@ -22,8 +22,7 @@ module Google
module AdsenseV1_4 module AdsenseV1_4
# AdSense Management API # AdSense Management API
# #
# Gives AdSense publishers access to their inventory and the ability to generate # Accesses AdSense publishers' inventory and generates performance reports.
# reports
# #
# @example # @example
# require 'google/apis/adsense_v1_4' # require 'google/apis/adsense_v1_4'

View File

@ -20,13 +20,13 @@ module Google
module Apis module Apis
# AdSense Host API # AdSense Host API
# #
# Gives AdSense Hosts access to report generation, ad code generation, and # Generates performance reports, generates ad codes, and provides publisher
# publisher management capabilities. # management capabilities for AdSense Hosts.
# #
# @see https://developers.google.com/adsense/host/ # @see https://developers.google.com/adsense/host/
module AdsensehostV4_1 module AdsensehostV4_1
VERSION = 'V4_1' VERSION = 'V4_1'
REVISION = '20160223' REVISION = '20160309'
# View and manage your AdSense host data and associated accounts # View and manage your AdSense host data and associated accounts
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost' AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'

View File

@ -22,8 +22,8 @@ module Google
module AdsensehostV4_1 module AdsensehostV4_1
# AdSense Host API # AdSense Host API
# #
# Gives AdSense Hosts access to report generation, ad code generation, and # Generates performance reports, generates ad codes, and provides publisher
# publisher management capabilities. # management capabilities for AdSense Hosts.
# #
# @example # @example
# require 'google/apis/adsensehost_v4_1' # require 'google/apis/adsensehost_v4_1'

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Google Analytics API # Google Analytics API
# #
# View and manage your Google Analytics data # Views and manages your Google Analytics data.
# #
# @see https://developers.google.com/analytics/ # @see https://developers.google.com/analytics/
module AnalyticsV3 module AnalyticsV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20160223' REVISION = '20160308'
# View and manage your Google Analytics data # View and manage your Google Analytics data
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'

View File

@ -62,6 +62,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# Indicates whether this account is starred or not.
# Corresponds to the JSON property `starred`
# @return [Boolean]
attr_accessor :starred
alias_method :starred?, :starred
# Time the account was last modified. # Time the account was last modified.
# Corresponds to the JSON property `updated` # Corresponds to the JSON property `updated`
# @return [DateTime] # @return [DateTime]
@ -80,6 +86,7 @@ module Google
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@permissions = args[:permissions] if args.key?(:permissions) @permissions = args[:permissions] if args.key?(:permissions)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@starred = args[:starred] if args.key?(:starred)
@updated = args[:updated] if args.key?(:updated) @updated = args[:updated] if args.key?(:updated)
end end
@ -255,6 +262,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Indicates whether this account is starred or not.
# Corresponds to the JSON property `starred`
# @return [Boolean]
attr_accessor :starred
alias_method :starred?, :starred
# List of web properties under this account. # List of web properties under this account.
# Corresponds to the JSON property `webProperties` # Corresponds to the JSON property `webProperties`
# @return [Array<Google::Apis::AnalyticsV3::WebPropertySummary>] # @return [Array<Google::Apis::AnalyticsV3::WebPropertySummary>]
@ -269,6 +282,7 @@ module Google
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@starred = args[:starred] if args.key?(:starred)
@web_properties = args[:web_properties] if args.key?(:web_properties) @web_properties = args[:web_properties] if args.key?(:web_properties)
end end
end end
@ -3600,6 +3614,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :site_search_query_parameters attr_accessor :site_search_query_parameters
# Indicates whether this view (profile) is starred or not.
# Corresponds to the JSON property `starred`
# @return [Boolean]
attr_accessor :starred
alias_method :starred?, :starred
# Whether or not Analytics will strip search category parameters from the URLs # Whether or not Analytics will strip search category parameters from the URLs
# in your reports. # in your reports.
# Corresponds to the JSON property `stripSiteSearchCategoryParameters` # Corresponds to the JSON property `stripSiteSearchCategoryParameters`
@ -3664,6 +3684,7 @@ module Google
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@site_search_category_parameters = args[:site_search_category_parameters] if args.key?(:site_search_category_parameters) @site_search_category_parameters = args[:site_search_category_parameters] if args.key?(:site_search_category_parameters)
@site_search_query_parameters = args[:site_search_query_parameters] if args.key?(:site_search_query_parameters) @site_search_query_parameters = args[:site_search_query_parameters] if args.key?(:site_search_query_parameters)
@starred = args[:starred] if args.key?(:starred)
@strip_site_search_category_parameters = args[:strip_site_search_category_parameters] if args.key?(:strip_site_search_category_parameters) @strip_site_search_category_parameters = args[:strip_site_search_category_parameters] if args.key?(:strip_site_search_category_parameters)
@strip_site_search_query_parameters = args[:strip_site_search_query_parameters] if args.key?(:strip_site_search_query_parameters) @strip_site_search_query_parameters = args[:strip_site_search_query_parameters] if args.key?(:strip_site_search_query_parameters)
@timezone = args[:timezone] if args.key?(:timezone) @timezone = args[:timezone] if args.key?(:timezone)
@ -3949,6 +3970,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Indicates whether this view (profile) is starred or not.
# Corresponds to the JSON property `starred`
# @return [Boolean]
attr_accessor :starred
alias_method :starred?, :starred
# View (Profile) type. Supported types: WEB or APP. # View (Profile) type. Supported types: WEB or APP.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
@ -3963,6 +3990,7 @@ module Google
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@starred = args[:starred] if args.key?(:starred)
@type = args[:type] if args.key?(:type) @type = args[:type] if args.key?(:type)
end end
end end
@ -4841,6 +4869,12 @@ module Google
# @return [Array<Google::Apis::AnalyticsV3::ProfileSummary>] # @return [Array<Google::Apis::AnalyticsV3::ProfileSummary>]
attr_accessor :profiles attr_accessor :profiles
# Indicates whether this web property is starred or not.
# Corresponds to the JSON property `starred`
# @return [Boolean]
attr_accessor :starred
alias_method :starred?, :starred
# Website url for this web property. # Website url for this web property.
# Corresponds to the JSON property `websiteUrl` # Corresponds to the JSON property `websiteUrl`
# @return [String] # @return [String]
@ -4858,6 +4892,7 @@ module Google
@level = args[:level] if args.key?(:level) @level = args[:level] if args.key?(:level)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@profiles = args[:profiles] if args.key?(:profiles) @profiles = args[:profiles] if args.key?(:profiles)
@starred = args[:starred] if args.key?(:starred)
@website_url = args[:website_url] if args.key?(:website_url) @website_url = args[:website_url] if args.key?(:website_url)
end end
end end
@ -5006,6 +5041,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# Indicates whether this web property is starred or not.
# Corresponds to the JSON property `starred`
# @return [Boolean]
attr_accessor :starred
alias_method :starred?, :starred
# Time this web property was last modified. # Time this web property was last modified.
# Corresponds to the JSON property `updated` # Corresponds to the JSON property `updated`
# @return [DateTime] # @return [DateTime]
@ -5036,6 +5077,7 @@ module Google
@permissions = args[:permissions] if args.key?(:permissions) @permissions = args[:permissions] if args.key?(:permissions)
@profile_count = args[:profile_count] if args.key?(:profile_count) @profile_count = args[:profile_count] if args.key?(:profile_count)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@starred = args[:starred] if args.key?(:starred)
@updated = args[:updated] if args.key?(:updated) @updated = args[:updated] if args.key?(:updated)
@website_url = args[:website_url] if args.key?(:website_url) @website_url = args[:website_url] if args.key?(:website_url)
end end

View File

@ -599,6 +599,7 @@ module Google
property :permissions, as: 'permissions', class: Google::Apis::AnalyticsV3::Account::Permissions, decorator: Google::Apis::AnalyticsV3::Account::Permissions::Representation property :permissions, as: 'permissions', class: Google::Apis::AnalyticsV3::Account::Permissions, decorator: Google::Apis::AnalyticsV3::Account::Permissions::Representation
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :starred, as: 'starred'
property :updated, as: 'updated', type: DateTime property :updated, as: 'updated', type: DateTime
end end
@ -650,6 +651,7 @@ module Google
property :id, as: 'id' property :id, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :name, as: 'name' property :name, as: 'name'
property :starred, as: 'starred'
collection :web_properties, as: 'webProperties', class: Google::Apis::AnalyticsV3::WebPropertySummary, decorator: Google::Apis::AnalyticsV3::WebPropertySummary::Representation collection :web_properties, as: 'webProperties', class: Google::Apis::AnalyticsV3::WebPropertySummary, decorator: Google::Apis::AnalyticsV3::WebPropertySummary::Representation
end end
@ -1473,6 +1475,7 @@ module Google
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :site_search_category_parameters, as: 'siteSearchCategoryParameters' property :site_search_category_parameters, as: 'siteSearchCategoryParameters'
property :site_search_query_parameters, as: 'siteSearchQueryParameters' property :site_search_query_parameters, as: 'siteSearchQueryParameters'
property :starred, as: 'starred'
property :strip_site_search_category_parameters, as: 'stripSiteSearchCategoryParameters' property :strip_site_search_category_parameters, as: 'stripSiteSearchCategoryParameters'
property :strip_site_search_query_parameters, as: 'stripSiteSearchQueryParameters' property :strip_site_search_query_parameters, as: 'stripSiteSearchQueryParameters'
property :timezone, as: 'timezone' property :timezone, as: 'timezone'
@ -1555,6 +1558,7 @@ module Google
property :id, as: 'id' property :id, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :name, as: 'name' property :name, as: 'name'
property :starred, as: 'starred'
property :type, as: 'type' property :type, as: 'type'
end end
end end
@ -1777,6 +1781,7 @@ module Google
property :name, as: 'name' property :name, as: 'name'
collection :profiles, as: 'profiles', class: Google::Apis::AnalyticsV3::ProfileSummary, decorator: Google::Apis::AnalyticsV3::ProfileSummary::Representation collection :profiles, as: 'profiles', class: Google::Apis::AnalyticsV3::ProfileSummary, decorator: Google::Apis::AnalyticsV3::ProfileSummary::Representation
property :starred, as: 'starred'
property :website_url, as: 'websiteUrl' property :website_url, as: 'websiteUrl'
end end
end end
@ -1817,6 +1822,7 @@ module Google
property :profile_count, as: 'profileCount' property :profile_count, as: 'profileCount'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :starred, as: 'starred'
property :updated, as: 'updated', type: DateTime property :updated, as: 'updated', type: DateTime
property :website_url, as: 'websiteUrl' property :website_url, as: 'websiteUrl'

View File

@ -22,7 +22,7 @@ module Google
module AnalyticsV3 module AnalyticsV3
# Google Analytics API # Google Analytics API
# #
# View and manage your Google Analytics data # Views and manages your Google Analytics data.
# #
# @example # @example
# require 'google/apis/analytics_v3' # require 'google/apis/analytics_v3'
@ -1638,7 +1638,7 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates an existing view (profile). This method supports patch semantics. # Updates an existing goal. This method supports patch semantics.
# @param [String] account_id # @param [String] account_id
# Account ID to update the goal. # Account ID to update the goal.
# @param [String] web_property_id # @param [String] web_property_id
@ -1685,7 +1685,7 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates an existing view (profile). # Updates an existing goal.
# @param [String] account_id # @param [String] account_id
# Account ID to update the goal. # Account ID to update the goal.
# @param [String] web_property_id # @param [String] web_property_id

View File

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

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/activity/ # @see https://developers.google.com/google-apps/activity/
module AppsactivityV1 module AppsactivityV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20150723' REVISION = '20160129'
# View the activity history of your Google Apps # View the activity history of your Google Apps
AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity' AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'

View File

@ -367,11 +367,25 @@ module Google
class User class User
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A boolean which indicates whether the specified User was deleted. If true,
# name, photo and permission_id will be omitted.
# Corresponds to the JSON property `isDeleted`
# @return [Boolean]
attr_accessor :is_deleted
alias_method :is_deleted?, :is_deleted
# The displayable name of the user. # The displayable name of the user.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The permission ID associated with this user. Equivalent to the Drive API's
# permission ID for this user, returned as part of the Drive Permissions
# resource.
# Corresponds to the JSON property `permissionId`
# @return [String]
attr_accessor :permission_id
# Photo information for a user. # Photo information for a user.
# Corresponds to the JSON property `photo` # Corresponds to the JSON property `photo`
# @return [Google::Apis::AppsactivityV1::Photo] # @return [Google::Apis::AppsactivityV1::Photo]
@ -383,7 +397,9 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@is_deleted = args[:is_deleted] if args.key?(:is_deleted)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@permission_id = args[:permission_id] if args.key?(:permission_id)
@photo = args[:photo] if args.key?(:photo) @photo = args[:photo] if args.key?(:photo)
end end
end end

View File

@ -196,7 +196,9 @@ module Google
class User class User
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :is_deleted, as: 'isDeleted'
property :name, as: 'name' property :name, as: 'name'
property :permission_id, as: 'permissionId'
property :photo, as: 'photo', class: Google::Apis::AppsactivityV1::Photo, decorator: Google::Apis::AppsactivityV1::Photo::Representation property :photo, as: 'photo', class: Google::Apis::AppsactivityV1::Photo, decorator: Google::Apis::AppsactivityV1::Photo::Representation
end end

View File

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

View File

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

View File

@ -22,6 +22,169 @@ module Google
module Apis module Apis
module BigqueryV2 module BigqueryV2
#
class BigtableColumn
include Google::Apis::Core::Hashable
# [Optional] The encoding of the values when the type is not STRING. Acceptable
# encoding values are: TEXT - indicates values are alphanumeric text strings.
# BINARY - indicates values are encoded using HBase Bytes.toBytes family of
# functions. 'encoding' can also be set at the column family level. However, the
# setting at this level takes precedence if 'encoding' is set at both levels.
# Corresponds to the JSON property `encoding`
# @return [String]
attr_accessor :encoding
# [Optional] If the qualifier is not a valid BigQuery field identifier i.e. does
# not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be provided as the
# column field name and is used as field name in queries.
# Corresponds to the JSON property `fieldName`
# @return [String]
attr_accessor :field_name
# [Optional] If this is set, only the latest version of value in this column are
# exposed. 'onlyReadLatest' can also be set at the column family level. However,
# the setting at this level takes precedence if 'onlyReadLatest' is set at both
# levels.
# Corresponds to the JSON property `onlyReadLatest`
# @return [Boolean]
attr_accessor :only_read_latest
alias_method :only_read_latest?, :only_read_latest
# [Required] Qualifier of the column. Columns in the parent column family that
# has this exact qualifier are exposed as . field. If the qualifier is valid UTF-
# 8 string, it can be specified in the qualifier_string field. Otherwise, a base-
# 64 encoded value must be set to qualifier_encoded. The column field name is
# the same as the column qualifier. However, if the qualifier is not a valid
# BigQuery field identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid
# identifier must be provided as field_name.
# Corresponds to the JSON property `qualifierEncoded`
# @return [String]
attr_accessor :qualifier_encoded
#
# Corresponds to the JSON property `qualifierString`
# @return [String]
attr_accessor :qualifier_string
# [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
# 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`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@encoding = args[:encoding] if args.key?(:encoding)
@field_name = args[:field_name] if args.key?(:field_name)
@only_read_latest = args[:only_read_latest] if args.key?(:only_read_latest)
@qualifier_encoded = args[:qualifier_encoded] if args.key?(:qualifier_encoded)
@qualifier_string = args[:qualifier_string] if args.key?(:qualifier_string)
@type = args[:type] if args.key?(:type)
end
end
#
class BigtableColumnFamily
include Google::Apis::Core::Hashable
# [Optional] Lists of columns that should be exposed as individual fields as
# opposed to a list of (column name, value) pairs. All columns whose qualifier
# matches a qualifier in this list can be accessed as .. Other columns can be
# accessed as a list through .Column field.
# Corresponds to the JSON property `columns`
# @return [Array<Google::Apis::BigqueryV2::BigtableColumn>]
attr_accessor :columns
# [Optional] The encoding of the values when the type is not STRING. Acceptable
# encoding values are: TEXT - indicates values are alphanumeric text strings.
# BINARY - indicates values are encoded using HBase Bytes.toBytes family of
# functions. This can be overridden for a specific column by listing that column
# in 'columns' and specifying an encoding for it.
# Corresponds to the JSON property `encoding`
# @return [String]
attr_accessor :encoding
# Identifier of the column family.
# Corresponds to the JSON property `familyId`
# @return [String]
attr_accessor :family_id
# [Optional] If this is set only the latest version of value are exposed for all
# columns in this column family. This can be overridden for a specific column by
# listing that column in 'columns' and specifying a different setting for that
# column.
# Corresponds to the JSON property `onlyReadLatest`
# @return [Boolean]
attr_accessor :only_read_latest
alias_method :only_read_latest?, :only_read_latest
# [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.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@columns = args[:columns] if args.key?(:columns)
@encoding = args[:encoding] if args.key?(:encoding)
@family_id = args[:family_id] if args.key?(:family_id)
@only_read_latest = args[:only_read_latest] if args.key?(:only_read_latest)
@type = args[:type] if args.key?(:type)
end
end
#
class BigtableOptions
include Google::Apis::Core::Hashable
# [Optional] List of column families to expose in the table schema along with
# their types. This list restricts the column families that can be referenced in
# queries and specifies their value types. You can use this list to do type
# conversions - see the 'type' field for more details. If you leave this list
# empty, all column families are present in the table schema and their values
# are read as BYTES. During a query only the column families referenced in that
# query are read from Bigtable.
# Corresponds to the JSON property `columnFamilies`
# @return [Array<Google::Apis::BigqueryV2::BigtableColumnFamily>]
attr_accessor :column_families
# [Optional] If field is true, then the column families that are not specified
# in columnFamilies list are not exposed in the table schema. Otherwise, they
# are read with BYTES type values. The default value is false.
# Corresponds to the JSON property `ignoreUnspecifiedColumnFamilies`
# @return [Boolean]
attr_accessor :ignore_unspecified_column_families
alias_method :ignore_unspecified_column_families?, :ignore_unspecified_column_families
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@column_families = args[:column_families] if args.key?(:column_families)
@ignore_unspecified_column_families = args[:ignore_unspecified_column_families] if args.key?(:ignore_unspecified_column_families)
end
end
# #
class CsvOptions class CsvOptions
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -527,9 +690,21 @@ module Google
class ExternalDataConfiguration class ExternalDataConfiguration
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# [Experimental] Try to detect schema and format options automatically. Any
# option specified explicitly will be honored.
# Corresponds to the JSON property `autodetect`
# @return [Boolean]
attr_accessor :autodetect
alias_method :autodetect?, :autodetect
# [Optional] Additional options if sourceFormat is set to BIGTABLE.
# Corresponds to the JSON property `bigtableOptions`
# @return [Google::Apis::BigqueryV2::BigtableOptions]
attr_accessor :bigtable_options
# [Optional] The compression type of the data source. Possible values include # [Optional] The compression type of the data source. Possible values include
# GZIP and NONE. The default value is NONE. This setting is ignored for Google # GZIP and NONE. The default value is NONE. This setting is ignored for Google
# Cloud Datastore backups. # Cloud Bigtable, Google Cloud Datastore backups and Avro formats.
# Corresponds to the JSON property `compression` # Corresponds to the JSON property `compression`
# @return [String] # @return [String]
attr_accessor :compression attr_accessor :compression
@ -545,7 +720,9 @@ module Google
# too many bad records, an invalid error is returned in the job result. The # too many bad records, an invalid error is returned in the job result. The
# default value is false. The sourceFormat property determines what BigQuery # default value is false. The sourceFormat property determines what BigQuery
# treats as an extra value: CSV: Trailing columns JSON: Named values that don't # treats as an extra value: CSV: Trailing columns JSON: Named values that don't
# match any column names Google Cloud Datastore backups: This setting is ignored. # match any column names Google Cloud Bigtable: This setting is ignored. Google
# Cloud Datastore backups: This setting is ignored. Avro: This setting is
# ignored.
# Corresponds to the JSON property `ignoreUnknownValues` # Corresponds to the JSON property `ignoreUnknownValues`
# @return [Boolean] # @return [Boolean]
attr_accessor :ignore_unknown_values attr_accessor :ignore_unknown_values
@ -554,31 +731,39 @@ module Google
# [Optional] The maximum number of bad records that BigQuery can ignore when # [Optional] The maximum number of bad records that BigQuery can ignore when
# reading data. If the number of bad records exceeds this value, an invalid # reading data. If the number of bad records exceeds this value, an invalid
# error is returned in the job result. The default value is 0, which requires # error is returned in the job result. The default value is 0, which requires
# that all records are valid. This setting is ignored for Google Cloud Datastore # that all records are valid. This setting is ignored for Google Cloud Bigtable,
# backups. # Google Cloud Datastore backups and Avro formats.
# Corresponds to the JSON property `maxBadRecords` # Corresponds to the JSON property `maxBadRecords`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :max_bad_records attr_accessor :max_bad_records
# [Optional] The schema for the data. Schema is required for CSV and JSON # [Optional] The schema for the data. Schema is required for CSV and JSON
# formats. Schema is disallowed for Google Cloud Datastore backups. # formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore
# backups, and Avro formats.
# Corresponds to the JSON property `schema` # Corresponds to the JSON property `schema`
# @return [Google::Apis::BigqueryV2::TableSchema] # @return [Google::Apis::BigqueryV2::TableSchema]
attr_accessor :schema attr_accessor :schema
# [Required] The data format. For CSV files, specify "CSV". For newline- # [Required] The data format. For CSV files, specify "CSV". For newline-
# delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Google Cloud Datastore # delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro files, specify "
# backups, specify "DATASTORE_BACKUP". # AVRO". For Google Cloud Datastore backups, specify "DATASTORE_BACKUP". [
# Experimental] For Google Cloud Bigtable, specify "BIGTABLE". Please note that
# reading from Google Cloud Bigtable is experimental and has to be enabled for
# your project. Please contact Google Cloud Support to enable this for your
# project.
# Corresponds to the JSON property `sourceFormat` # Corresponds to the JSON property `sourceFormat`
# @return [String] # @return [String]
attr_accessor :source_format attr_accessor :source_format
# [Required] The fully-qualified URIs that point to your data in Google Cloud # [Required] The fully-qualified URIs that point to your data in Google Cloud.
# Storage. Each URI can contain one '*' wildcard character and it must come # For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character
# after the 'bucket' name. Size limits related to load jobs apply to external # and it must come after the 'bucket' name. Size limits related to load jobs
# data sources, plus an additional limit of 10 GB maximum size across all URIs. # apply to external data sources, plus an additional limit of 10 GB maximum size
# For Google Cloud Datastore backups, exactly one URI can be specified, and it # across all URIs. For Google Cloud Bigtable URIs: Exactly one URI can be
# must end with '.backup_info'. Also, the '*' wildcard character is not allowed. # specified and it has be a fully specified and valid HTTPS URL for a Google
# Cloud Bigtable table. For Google Cloud Datastore backups, exactly one URI can
# be specified, and it must end with '.backup_info'. Also, the '*' wildcard
# character is not allowed.
# Corresponds to the JSON property `sourceUris` # Corresponds to the JSON property `sourceUris`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :source_uris attr_accessor :source_uris
@ -589,6 +774,8 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@autodetect = args[:autodetect] if args.key?(:autodetect)
@bigtable_options = args[:bigtable_options] if args.key?(:bigtable_options)
@compression = args[:compression] if args.key?(:compression) @compression = args[:compression] if args.key?(:compression)
@csv_options = args[:csv_options] if args.key?(:csv_options) @csv_options = args[:csv_options] if args.key?(:csv_options)
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values) @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)

View File

@ -22,6 +22,24 @@ module Google
module Apis module Apis
module BigqueryV2 module BigqueryV2
class BigtableColumn
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BigtableColumnFamily
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BigtableOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CsvOptions class CsvOptions
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -304,6 +322,39 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class BigtableColumn
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :encoding, as: 'encoding'
property :field_name, as: 'fieldName'
property :only_read_latest, as: 'onlyReadLatest'
property :qualifier_encoded, :base64 => true, as: 'qualifierEncoded'
property :qualifier_string, as: 'qualifierString'
property :type, as: 'type'
end
end
class BigtableColumnFamily
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :columns, as: 'columns', class: Google::Apis::BigqueryV2::BigtableColumn, decorator: Google::Apis::BigqueryV2::BigtableColumn::Representation
property :encoding, as: 'encoding'
property :family_id, as: 'familyId'
property :only_read_latest, as: 'onlyReadLatest'
property :type, as: 'type'
end
end
class BigtableOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :column_families, as: 'columnFamilies', class: Google::Apis::BigqueryV2::BigtableColumnFamily, decorator: Google::Apis::BigqueryV2::BigtableColumnFamily::Representation
property :ignore_unspecified_column_families, as: 'ignoreUnspecifiedColumnFamilies'
end
end
class CsvOptions class CsvOptions
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -420,6 +471,9 @@ module Google
class ExternalDataConfiguration class ExternalDataConfiguration
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :autodetect, as: 'autodetect'
property :bigtable_options, as: 'bigtableOptions', class: Google::Apis::BigqueryV2::BigtableOptions, decorator: Google::Apis::BigqueryV2::BigtableOptions::Representation
property :compression, as: 'compression' property :compression, as: 'compression'
property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/books/docs/v1/getting_started # @see https://developers.google.com/books/docs/v1/getting_started
module BooksV1 module BooksV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20160113' REVISION = '20160226'
# Manage your books # Manage your books
AUTH_BOOKS = 'https://www.googleapis.com/auth/books' AUTH_BOOKS = 'https://www.googleapis.com/auth/books'

View File

@ -2021,6 +2021,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :pcampaign_id attr_accessor :pcampaign_id
#
# Corresponds to the JSON property `reason`
# @return [String]
attr_accessor :reason
# #
# Corresponds to the JSON property `show_notification_settings_action` # Corresponds to the JSON property `show_notification_settings_action`
# @return [Boolean] # @return [Boolean]
@ -2049,6 +2054,7 @@ module Google
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@notification_type = args[:notification_type] if args.key?(:notification_type) @notification_type = args[:notification_type] if args.key?(:notification_type)
@pcampaign_id = args[:pcampaign_id] if args.key?(:pcampaign_id) @pcampaign_id = args[:pcampaign_id] if args.key?(:pcampaign_id)
@reason = args[:reason] if args.key?(:reason)
@show_notification_settings_action = args[:show_notification_settings_action] if args.key?(:show_notification_settings_action) @show_notification_settings_action = args[:show_notification_settings_action] if args.key?(:show_notification_settings_action)
@target_url = args[:target_url] if args.key?(:target_url) @target_url = args[:target_url] if args.key?(:target_url)
@title = args[:title] if args.key?(:title) @title = args[:title] if args.key?(:title)

View File

@ -1193,6 +1193,7 @@ module Google
property :kind, as: 'kind' property :kind, as: 'kind'
property :notification_type, as: 'notification_type' property :notification_type, as: 'notification_type'
property :pcampaign_id, as: 'pcampaign_id' property :pcampaign_id, as: 'pcampaign_id'
property :reason, as: 'reason'
property :show_notification_settings_action, as: 'show_notification_settings_action' property :show_notification_settings_action, as: 'show_notification_settings_action'
property :target_url, as: 'targetUrl' property :target_url, as: 'targetUrl'
property :title, as: 'title' property :title, as: 'title'

View File

@ -2091,6 +2091,8 @@ module Google
# Return a list of books in My Library. # Return a list of books in My Library.
# @param [Array<String>, String] acquire_method # @param [Array<String>, String] acquire_method
# How the book was aquired # How the book was aquired
# @param [String] country
# ISO-3166-1 code to override the IP-based location.
# @param [String] locale # @param [String] locale
# ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for # ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for
# generating recommendations. # generating recommendations.
@ -2124,11 +2126,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_my_books(acquire_method: nil, locale: nil, max_results: nil, processing_state: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def list_my_books(acquire_method: nil, country: nil, locale: nil, max_results: nil, processing_state: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/mybooks', options) command = make_simple_command(:get, 'volumes/mybooks', options)
command.response_representation = Google::Apis::BooksV1::Volumes::Representation command.response_representation = Google::Apis::BooksV1::Volumes::Representation
command.response_class = Google::Apis::BooksV1::Volumes command.response_class = Google::Apis::BooksV1::Volumes
command.query['acquireMethod'] = acquire_method unless acquire_method.nil? command.query['acquireMethod'] = acquire_method unless acquire_method.nil?
command.query['country'] = country unless country.nil?
command.query['locale'] = locale unless locale.nil? command.query['locale'] = locale unless locale.nil?
command.query['maxResults'] = max_results unless max_results.nil? command.query['maxResults'] = max_results unless max_results.nil?
command.query['processingState'] = processing_state unless processing_state.nil? command.query['processingState'] = processing_state unless processing_state.nil?

View File

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

View File

@ -20,13 +20,12 @@ module Google
module Apis module Apis
# Google Cloud Container Builder API # Google Cloud Container Builder API
# #
# The Google Cloud Container Builder API lets you build container images in the # Builds container images in the cloud.
# cloud.
# #
# @see https://cloud.google.com/container-builder/docs/ # @see https://cloud.google.com/container-builder/docs/
module CloudbuildV1 module CloudbuildV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20160225' REVISION = '20160310'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -265,6 +265,12 @@ module Google
class StorageSource class StorageSource
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Google Cloud Storage generation for the object. If the generation is
# omitted, the latest generation will be used.
# Corresponds to the JSON property `generation`
# @return [String]
attr_accessor :generation
# Google Cloud Storage bucket containing source (see # Google Cloud Storage bucket containing source (see
# [Bucket Name # [Bucket Name
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
@ -286,6 +292,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@generation = args[:generation] if args.key?(:generation)
@bucket = args[:bucket] if args.key?(:bucket) @bucket = args[:bucket] if args.key?(:bucket)
@object = args[:object] if args.key?(:object) @object = args[:object] if args.key?(:object)
end end

View File

@ -142,6 +142,7 @@ module Google
class StorageSource class StorageSource
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :generation, as: 'generation'
property :bucket, as: 'bucket' property :bucket, as: 'bucket'
property :object, as: 'object' property :object, as: 'object'
end end

View File

@ -22,8 +22,7 @@ module Google
module CloudbuildV1 module CloudbuildV1
# Google Cloud Container Builder API # Google Cloud Container Builder API
# #
# The Google Cloud Container Builder API lets you build container images in the # Builds container images in the cloud.
# cloud.
# #
# @example # @example
# require 'google/apis/cloudbuild_v1' # require 'google/apis/cloudbuild_v1'

View File

@ -20,13 +20,13 @@ module Google
module Apis module Apis
# Google Cloud Debugger API # Google Cloud Debugger API
# #
# Lets you examine the stack and variables of your running application without # Examines the call stack and variables of a running application without
# stopping or slowing it down. # stopping or slowing it down.
# #
# @see https://cloud.google.com/tools/cloud-debugger # @see https://cloud.google.com/tools/cloud-debugger
module ClouddebuggerV2 module ClouddebuggerV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20151123' REVISION = '20160309'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -680,12 +680,18 @@ module Google
# variables then would hold only a reference to it. The variable ` # variables then would hold only a reference to it. The variable `
# var_table_index` field is an index into this repeated field. The stored # var_table_index` field is an index into this repeated field. The stored
# objects are nameless and get their name from the referencing variable. The # objects are nameless and get their name from the referencing variable. The
# effective variable is a merge of the referencing veariable and the referenced # effective variable is a merge of the referencing variable and the referenced
# variable. # variable.
# Corresponds to the JSON property `variableTable` # Corresponds to the JSON property `variableTable`
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>] # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
attr_accessor :variable_table attr_accessor :variable_table
# A set of custom breakpoint properties, populated by the agent, to be displayed
# to the user.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -707,6 +713,7 @@ module Google
@stack_frames = args[:stack_frames] if args.key?(:stack_frames) @stack_frames = args[:stack_frames] if args.key?(:stack_frames)
@evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions) @evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
@variable_table = args[:variable_table] if args.key?(:variable_table) @variable_table = args[:variable_table] if args.key?(:variable_table)
@labels = args[:labels] if args.key?(:labels)
end end
end end

View File

@ -369,6 +369,7 @@ module Google
collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
hash :labels, as: 'labels'
end end
end end

View File

@ -22,7 +22,7 @@ module Google
module ClouddebuggerV2 module ClouddebuggerV2
# Google Cloud Debugger API # Google Cloud Debugger API
# #
# Lets you examine the stack and variables of your running application without # Examines the call stack and variables of a running application without
# stopping or slowing it down. # stopping or slowing it down.
# #
# @example # @example
@ -179,6 +179,9 @@ module Google
# @param [Boolean] include_inactive # @param [Boolean] include_inactive
# When set to `true`, the result includes all debuggees. Otherwise, the result # When set to `true`, the result includes all debuggees. Otherwise, the result
# includes only debuggees that are active. # includes only debuggees that are active.
# @param [String] client_version
# The client version making the call. Following: `domain/type/version` (e.g., `
# google.com/intellij/v1`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -196,12 +199,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_debugger_debuggees(project: nil, include_inactive: nil, fields: nil, quota_user: nil, options: nil, &block) def list_debugger_debuggees(project: nil, include_inactive: nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/debugger/debuggees', options) command = make_simple_command(:get, 'v2/debugger/debuggees', options)
command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation
command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse
command.query['project'] = project unless project.nil? command.query['project'] = project unless project.nil?
command.query['includeInactive'] = include_inactive unless include_inactive.nil? command.query['includeInactive'] = include_inactive unless include_inactive.nil?
command.query['clientVersion'] = client_version unless client_version.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
@ -211,6 +215,9 @@ module Google
# @param [String] debuggee_id # @param [String] debuggee_id
# ID of the debuggee where the breakpoint is to be set. # ID of the debuggee where the breakpoint is to be set.
# @param [Google::Apis::ClouddebuggerV2::Breakpoint] breakpoint_object # @param [Google::Apis::ClouddebuggerV2::Breakpoint] breakpoint_object
# @param [String] client_version
# The client version making the call. Following: `domain/type/version` (e.g., `
# google.com/intellij/v1`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -228,13 +235,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, fields: nil, quota_user: nil, options: nil, &block) def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options) command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options)
command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation
command.request_object = breakpoint_object command.request_object = breakpoint_object
command.response_representation = Google::Apis::ClouddebuggerV2::SetBreakpointResponse::Representation command.response_representation = Google::Apis::ClouddebuggerV2::SetBreakpointResponse::Representation
command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
command.query['clientVersion'] = client_version unless client_version.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
@ -245,6 +253,9 @@ module Google
# ID of the debuggee whose breakpoint to get. # ID of the debuggee whose breakpoint to get.
# @param [String] breakpoint_id # @param [String] breakpoint_id
# ID of the breakpoint to get. # ID of the breakpoint to get.
# @param [String] client_version
# The client version making the call. Following: `domain/type/version` (e.g., `
# google.com/intellij/v1`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -262,12 +273,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, fields: nil, quota_user: nil, options: nil, &block) def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation
command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil?
command.query['clientVersion'] = client_version unless client_version.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
@ -278,6 +290,9 @@ module Google
# ID of the debuggee whose breakpoint to delete. # ID of the debuggee whose breakpoint to delete.
# @param [String] breakpoint_id # @param [String] breakpoint_id
# ID of the breakpoint to delete. # ID of the breakpoint to delete.
# @param [String] client_version
# The client version making the call. Following: `domain/type/version` (e.g., `
# google.com/intellij/v1`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -295,12 +310,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, fields: nil, quota_user: nil, options: nil, &block) def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation
command.response_class = Google::Apis::ClouddebuggerV2::Empty command.response_class = Google::Apis::ClouddebuggerV2::Empty
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil?
command.query['clientVersion'] = client_version unless client_version.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
@ -326,6 +342,9 @@ module Google
# from the last response. The error code `google.rpc.Code.ABORTED` (RPC) is # from the last response. The error code `google.rpc.Code.ABORTED` (RPC) is
# returned on wait timeout, which should be called again with the same ` # returned on wait timeout, which should be called again with the same `
# wait_token`. # wait_token`.
# @param [String] client_version
# The client version making the call. Following: `domain/type/version` (e.g., `
# google.com/intellij/v1`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -343,7 +362,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_debugger_debuggee_breakpoints(debuggee_id, include_all_users: nil, include_inactive: nil, action_value: nil, strip_results: nil, wait_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_debugger_debuggee_breakpoints(debuggee_id, include_all_users: nil, include_inactive: nil, action_value: nil, strip_results: nil, wait_token: nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options) command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options)
command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation
command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse
@ -353,6 +372,7 @@ module Google
command.query['action.value'] = action_value unless action_value.nil? command.query['action.value'] = action_value unless action_value.nil?
command.query['stripResults'] = strip_results unless strip_results.nil? command.query['stripResults'] = strip_results unless strip_results.nil?
command.query['waitToken'] = wait_token unless wait_token.nil? command.query['waitToken'] = wait_token unless wait_token.nil?
command.query['clientVersion'] = client_version unless client_version.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Google Cloud Network Performance Monitoring API # Google Cloud Network Performance Monitoring API
# #
# A Test API to report latency data. # Reports latency data.
# #
# @see # @see
module CloudlatencytestV2 module CloudlatencytestV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20150508' REVISION = '20160309'
# View monitoring data for all of your Google Cloud and API projects # View monitoring data for all of your Google Cloud and API projects
AUTH_MONITORING_READONLY = 'https://www.googleapis.com/auth/monitoring.readonly' AUTH_MONITORING_READONLY = 'https://www.googleapis.com/auth/monitoring.readonly'

View File

@ -22,7 +22,7 @@ module Google
module CloudlatencytestV2 module CloudlatencytestV2
# Google Cloud Network Performance Monitoring API # Google Cloud Network Performance Monitoring API
# #
# A Test API to report latency data. # Reports latency data.
# #
# @example # @example
# require 'google/apis/cloudlatencytest_v2' # require 'google/apis/cloudlatencytest_v2'

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Cloud Monitoring API # Cloud Monitoring API
# #
# API for accessing Google Cloud and API monitoring data. # Accesses Google Cloud Monitoring data.
# #
# @see https://cloud.google.com/monitoring/v2beta2/ # @see https://cloud.google.com/monitoring/v2beta2/
module CloudmonitoringV2beta2 module CloudmonitoringV2beta2
VERSION = 'V2beta2' VERSION = 'V2beta2'
REVISION = '20160221' REVISION = '20160228'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,7 +22,7 @@ module Google
module CloudmonitoringV2beta2 module CloudmonitoringV2beta2
# Cloud Monitoring API # Cloud Monitoring API
# #
# API for accessing Google Cloud and API monitoring data. # Accesses Google Cloud Monitoring data.
# #
# @example # @example
# require 'google/apis/cloudmonitoring_v2beta2' # require 'google/apis/cloudmonitoring_v2beta2'

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/cloudresourcemanager_v1/service.rb'
require 'google/apis/cloudresourcemanager_v1/classes.rb'
require 'google/apis/cloudresourcemanager_v1/representations.rb'
module Google
module Apis
# Google Cloud Resource Manager API
#
# The Google Cloud Resource Manager API provides methods for creating, reading,
# and updating project metadata.
#
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1
VERSION = 'V1'
REVISION = '20160225'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
# View your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
end
end
end

View File

@ -0,0 +1,355 @@
# 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 CloudresourcemanagerV1
# A Project is a high-level Google Cloud Platform entity. It is a container for
# ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources.
class Project
include Google::Apis::Core::Hashable
# The number uniquely identifying the project. Example: 415104041262 Read-only.
# Corresponds to the JSON property `projectNumber`
# @return [String]
attr_accessor :project_number
# The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase
# letters, digits, or hyphens. It must start with a letter. Trailing hyphens are
# prohibited. Example: tokyo-rain-123 Read-only after creation.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# The Project lifecycle state. Read-only.
# Corresponds to the JSON property `lifecycleState`
# @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.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Creation time. Read-only.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# The labels associated with this Project. Label keys must be between 1 and 63
# characters long and must conform to the following regular expression: \[a-z\](\
# [-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long
# and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
# No more than 256 labels can be associated with a given resource. Clients
# should store labels in a representation such as JSON that does not depend on
# specific characters being disallowed. Example: "environment" : "dev" Read-
# write.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# A container to reference an id for any resource type. A `resource` in Google
# Cloud Platform is a generic term for something you (a developer) may want to
# interact with through one of our API's. Some examples are an AppEngine app, a
# Compute Engine instance, a Cloud SQL database, and so on.
# Corresponds to the JSON property `parent`
# @return [Google::Apis::CloudresourcemanagerV1::ResourceId]
attr_accessor :parent
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@project_number = args[:project_number] if args.key?(:project_number)
@project_id = args[:project_id] if args.key?(:project_id)
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
@name = args[:name] if args.key?(:name)
@create_time = args[:create_time] if args.key?(:create_time)
@labels = args[:labels] if args.key?(:labels)
@parent = args[:parent] if args.key?(:parent)
end
end
# A container to reference an id for any resource type. A `resource` in Google
# Cloud Platform is a generic term for something you (a developer) may want to
# interact with through one of our API's. Some examples are an AppEngine app, a
# Compute Engine instance, a Cloud SQL database, and so on.
class ResourceId
include Google::Apis::Core::Hashable
# Required field representing the resource type this id is for. At present, the
# only valid type is "organization".
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
# Required field for the type-specific id. This should correspond to the id used
# in the type-specific API's.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@type = args[:type] if args.key?(:type)
@id = args[:id] if args.key?(:id)
end
end
# A page of the response received from the ListProjects method. A paginated
# response where more pages are available has `next_page_token` set. This token
# can be used in a subsequent request to retrieve the next request page.
class ListProjectsResponse
include Google::Apis::Core::Hashable
# The list of Projects that matched the list filter. This list can be paginated.
# Corresponds to the JSON property `projects`
# @return [Array<Google::Apis::CloudresourcemanagerV1::Project>]
attr_accessor :projects
# Pagination token. If the result set is too large to fit in a single response,
# this token is returned. It encodes the position of the current result cursor.
# Feeding this value into a new list request with the `page_token` parameter
# gives the next page of the results. When `next_page_token` is not filled in,
# there is no next page and the list returned is the last page in the result set.
# Pagination tokens have a limited lifetime.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@projects = args[:projects] if args.key?(:projects)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The request sent to the UndeleteProject method.
class UndeleteProjectRequest
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Request message for `GetIamPolicy` method.
class GetIamPolicyRequest
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. A `Policy` consists of a
# list of `bindings`. A `Binding` binds a list of `members` to a `role`, where
# the members can be user accounts, Google groups, Google domains, and service
# accounts. A `role` is a named list of permissions defined by IAM. **Example** `
# "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] ` For a description of IAM and its features, see the [
# IAM developer's guide](https://cloud.google.com/iam).
class Policy
include Google::Apis::Core::Hashable
# Version of the `Policy`. The default version is 0.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
# Associates a list of `members` to a `role`. Multiple `bindings` must not be
# specified for the same `role`. `bindings` with no members will result in an
# error.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::CloudresourcemanagerV1::Binding>]
attr_accessor :bindings
# `etag` is used for optimistic concurrency control as a way to help prevent
# simultaneous updates of a policy from overwriting each other. It is strongly
# suggested that systems make use of the `etag` in the read-modify-write cycle
# to perform policy updates in order to avoid race conditions: An `etag` is
# returned in the response to `getIamPolicy`, and systems are expected to put
# that etag in the request to `setIamPolicy` to ensure that their change will be
# applied to the same version of the policy. If no `etag` is provided in the
# call to `setIamPolicy`, then the existing policy is overwritten blindly.
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
@bindings = args[:bindings] if args.key?(:bindings)
@etag = args[:etag] if args.key?(:etag)
end
end
# Associates `members` with a `role`.
class Binding
include Google::Apis::Core::Hashable
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
# , or `roles/owner`. Required
# Corresponds to the JSON property `role`
# @return [String]
attr_accessor :role
# Specifies the identities requesting access for a Cloud Platform resource. `
# members` can have the following values: * `allUsers`: A special identifier
# that represents anyone who is on the internet; with or without a Google
# account. * `allAuthenticatedUsers`: A special identifier that represents
# anyone who is authenticated with a Google account or a service account. * `
# user:`emailid``: An email address that represents a specific Google account.
# For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:`
# emailid``: An email address that represents a service account. For example, `
# my-other-app@appspot.gserviceaccount.com`. * `group:`emailid``: An email
# address that represents a Google group. For example, `admins@example.com`. * `
# domain:`domain``: A Google Apps domain name that represents all the users of
# that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]
attr_accessor :members
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@role = args[:role] if args.key?(:role)
@members = args[:members] if args.key?(:members)
end
end
# Request message for `SetIamPolicy` method.
class SetIamPolicyRequest
include Google::Apis::Core::Hashable
# Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. A `Policy` consists of a
# list of `bindings`. A `Binding` binds a list of `members` to a `role`, where
# the members can be user accounts, Google groups, Google domains, and service
# accounts. A `role` is a named list of permissions defined by IAM. **Example** `
# "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] ` For a description of IAM and its features, see the [
# IAM developer's guide](https://cloud.google.com/iam).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::CloudresourcemanagerV1::Policy]
attr_accessor :policy
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@policy = args[:policy] if args.key?(:policy)
end
end
# Request message for `TestIamPermissions` method.
class TestIamPermissionsRequest
include Google::Apis::Core::Hashable
# The set of permissions to check for the `resource`. Permissions with wildcards
# (such as '*' or 'storage.*') are not allowed. For more information see IAM
# Overview.
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@permissions = args[:permissions] if args.key?(:permissions)
end
end
# Response message for `TestIamPermissions` method.
class TestIamPermissionsResponse
include Google::Apis::Core::Hashable
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@permissions = args[:permissions] if args.key?(:permissions)
end
end
end
end
end

View File

@ -0,0 +1,181 @@
# 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 CloudresourcemanagerV1
class Project
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourceId
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListProjectsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UndeleteProjectRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Binding
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestIamPermissionsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestIamPermissionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Project
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :project_number, as: 'projectNumber'
property :project_id, as: 'projectId'
property :lifecycle_state, as: 'lifecycleState'
property :name, as: 'name'
property :create_time, as: 'createTime'
hash :labels, as: 'labels'
property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation
end
end
class ResourceId
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
property :id, as: 'id'
end
end
class ListProjectsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1::Project, decorator: Google::Apis::CloudresourcemanagerV1::Project::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class UndeleteProjectRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1::Binding, decorator: Google::Apis::CloudresourcemanagerV1::Binding::Representation
property :etag, :base64 => true, as: 'etag'
end
end
class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :role, as: 'role'
collection :members, as: 'members'
end
end
class SetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::Policy, decorator: Google::Apis::CloudresourcemanagerV1::Policy::Representation
end
end
class TestIamPermissionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :permissions, as: 'permissions'
end
end
class TestIamPermissionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :permissions, as: 'permissions'
end
end
end
end
end

View File

@ -0,0 +1,373 @@
# 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 CloudresourcemanagerV1
# Google Cloud Resource Manager API
#
# The Google Cloud Resource Manager API provides methods for creating, reading,
# and updating project metadata.
#
# @example
# require 'google/apis/cloudresourcemanager_v1'
#
# Cloudresourcemanager = Google::Apis::CloudresourcemanagerV1 # Alias the module
# service = Cloudresourcemanager::CloudresourcemanagerService.new
#
# @see https://cloud.google.com/resource-manager
class CloudresourcemanagerService < 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://cloudresourcemanager.googleapis.com/', '')
end
# Retrieves the Project identified by the specified `project_id` (for example, `
# my-project-123`). The caller must have read permissions for this Project.
# @param [String] project_id
# The Project ID (for example, `my-project-123`). Required.
# @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::Project] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudresourcemanagerV1::Project]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Project
command.params['projectId'] = project_id unless project_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists Projects that are visible to the user and satisfy the specified filter.
# This method returns Projects in an unspecified order. New Projects do not
# necessarily appear at the end of the list.
# @param [String] page_token
# A pagination token returned from a previous call to ListProjects that
# indicates from where listing should continue. Optional.
# @param [Fixnum] page_size
# The maximum number of Projects to return in the response. The server can
# return fewer Projects than requested. If unspecified, server picks an
# appropriate default. Optional.
# @param [String] filter
# An expression for filtering the results of the request. Filter rules are case
# insensitive. The fields eligible for filtering are: + `name` + `id` + labels.
# key where *key* is the name of a label Some examples of using labels as
# filters: |Filter|Description| |------|-----------| |name:*|The project has a
# name.| |name:Howl|The project's name is `Howl` or `howl`.| |name:HOWL|
# Equivalent to above.| |NAME:howl|Equivalent to above.| |labels.color:*|The
# project has the label `color`.| |labels.color:red|The project's label `color`
# has the value `red`.| |labels.color:red label.size:big|The project's label `
# color` has the value `red` and its label `size` has the value `big`. Optional.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListProjectsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudresourcemanagerV1::ListProjectsResponse]
#
# @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_projects(page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse
command.query['pageToken'] = page_token unless page_token.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['filter'] = filter unless filter.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 the attributes of the Project identified by the specified `project_id`
# (for example, `my-project-123`). The caller must have modify permissions for
# this Project.
# @param [String] project_id
# The project ID (for example, `my-project-123`). Required.
# @param [Google::Apis::CloudresourcemanagerV1::Project] project_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::Project] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudresourcemanagerV1::Project]
#
# @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_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/projects/{projectId}', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation
command.request_object = project_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Project
command.params['projectId'] = project_id unless project_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Marks the Project identified by the specified `project_id` (for example, `my-
# project-123`) for deletion. This method will only affect the Project if the
# 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.
# @param [String] project_id
# The Project ID (for example, `foo-bar-123`). Required.
# @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::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudresourcemanagerV1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project(project_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/projects/{projectId}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Empty
command.params['projectId'] = project_id unless project_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# 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.
# @param [String] project_id
# The project ID (for example, `foo-bar-123`). Required.
# @param [Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest] undelete_project_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudresourcemanagerV1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}:undelete', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest::Representation
command.request_object = undelete_project_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Empty
command.params['projectId'] = project_id unless project_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns the IAM access control policy for the specified Project. Permission is
# denied if the policy or the resource does not exist.
# @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/*
# disk*`. The format for the path specified in this value is resource specific
# and is specified in the `getIamPolicy` documentation.
# @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudresourcemanagerV1::Policy]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Policy
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# 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.
# @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/*
# disk*`. The format for the path specified in this value is resource specific
# and is specified in the `setIamPolicy` documentation.
# @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudresourcemanagerV1::Policy]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Policy
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified Project.
# @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/*
# zone*/disks/*disk*`. The format for the path specified in this value is
# resource specific and is specified in the `testIamPermissions` documentation.
# @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
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

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

View File

@ -20,12 +20,13 @@ module Google
module Apis module Apis
# Cloud User Accounts API # Cloud User Accounts API
# #
# API for the Google Cloud User Accounts service. # Creates and manages users and groups for accessing Google Compute Engine
# virtual machines.
# #
# @see https://cloud.google.com/compute/docs/access/user-accounts/api/latest/ # @see https://cloud.google.com/compute/docs/access/user-accounts/api/latest/
module ClouduseraccountsBeta module ClouduseraccountsBeta
VERSION = 'Beta' VERSION = 'Beta'
REVISION = '20150924' REVISION = '20160301'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -348,8 +348,7 @@ module Google
class Operation class Operation
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# [Output Only] An optional identifier specified by the client when the mutation # [Output Only] Reserved for future use.
# was initiated. Must be unique for all Operation resources in the project.
# Corresponds to the JSON property `clientOperationId` # Corresponds to the JSON property `clientOperationId`
# @return [String] # @return [String]
attr_accessor :client_operation_id attr_accessor :client_operation_id
@ -359,8 +358,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :creation_timestamp attr_accessor :creation_timestamp
# [Output Only] The time that this operation was completed. This is in RFC3339 # [Output Only] A textual description of the operation, which is set when the
# text format. # operation is created.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# [Output Only] The time that this operation was completed. This value is in
# RFC3339 text format.
# Corresponds to the JSON property `endTime` # Corresponds to the JSON property `endTime`
# @return [String] # @return [String]
attr_accessor :end_time attr_accessor :end_time
@ -378,23 +383,25 @@ module Google
attr_accessor :http_error_message attr_accessor :http_error_message
# [Output Only] If the operation fails, this field contains the HTTP error # [Output Only] If the operation fails, this field contains the HTTP error
# message that was returned, such as 404. # status code that was returned. For example, a 404 means the resource was not
# found.
# Corresponds to the JSON property `httpErrorStatusCode` # Corresponds to the JSON property `httpErrorStatusCode`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :http_error_status_code attr_accessor :http_error_status_code
# [Output Only] Unique identifier for the resource; defined by the server. # [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
# [Output Only] The time that this operation was requested. This is in RFC3339 # [Output Only] The time that this operation was requested. This value is in
# text format. # RFC3339 text format.
# Corresponds to the JSON property `insertTime` # Corresponds to the JSON property `insertTime`
# @return [String] # @return [String]
attr_accessor :insert_time attr_accessor :insert_time
# [Output Only] Type of the resource. Always compute#operation for Operation # [Output Only] Type of the resource. Always compute#operation for operation
# resources. # resources.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
@ -405,22 +412,22 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# [Output Only] Type of the operation, such as insert, compute.instanceGroups. # [Output Only] The type of operation, such as insert, update, or delete, and so
# update, or compute.instanceGroups.delete. # on.
# Corresponds to the JSON property `operationType` # Corresponds to the JSON property `operationType`
# @return [String] # @return [String]
attr_accessor :operation_type attr_accessor :operation_type
# [Output Only] An optional progress indicator that ranges from 0 to 100. There # [Output Only] An optional progress indicator that ranges from 0 to 100. There
# is no requirement that this be linear or support any granularity of operations. # is no requirement that this be linear or support any granularity of operations.
# This should not be used to guess at when the operation will be complete. This # This should not be used to guess when the operation will be complete. This
# number should monotonically increase as the operation progresses. # number should monotonically increase as the operation progresses.
# Corresponds to the JSON property `progress` # Corresponds to the JSON property `progress`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress attr_accessor :progress
# [Output Only] URL of the region where the operation resides. Only applicable # [Output Only] The URL of the region where the operation resides. Only
# for regional resources. # available when performing regional operations.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -430,14 +437,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# [Output Only] The time that this operation was started by the server. This is # [Output Only] The time that this operation was started by the server. This
# in RFC3339 text format. # value is in RFC3339 text format.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
attr_accessor :start_time attr_accessor :start_time
# [Output Only] Status of the operation. Can be one of the following: PENDING, # [Output Only] The status of the operation, which can be one of the following:
# RUNNING, or DONE. # PENDING, RUNNING, or DONE.
# Corresponds to the JSON property `status` # Corresponds to the JSON property `status`
# @return [String] # @return [String]
attr_accessor :status attr_accessor :status
@ -448,13 +455,13 @@ module Google
# @return [String] # @return [String]
attr_accessor :status_message attr_accessor :status_message
# [Output Only] Unique target ID which identifies a particular incarnation of # [Output Only] The unique target ID, which identifies a specific incarnation of
# the target. # the target resource.
# Corresponds to the JSON property `targetId` # Corresponds to the JSON property `targetId`
# @return [String] # @return [String]
attr_accessor :target_id attr_accessor :target_id
# [Output Only] URL of the resource the operation is mutating. # [Output Only] The URL of the resource that the operation modifies.
# Corresponds to the JSON property `targetLink` # Corresponds to the JSON property `targetLink`
# @return [String] # @return [String]
attr_accessor :target_link attr_accessor :target_link
@ -470,7 +477,8 @@ module Google
# @return [Array<Google::Apis::ClouduseraccountsBeta::Operation::Warning>] # @return [Array<Google::Apis::ClouduseraccountsBeta::Operation::Warning>]
attr_accessor :warnings attr_accessor :warnings
# [Output Only] URL of the zone where the operation resides. # [Output Only] The URL of the zone where the operation resides. Only available
# when performing per-zone operations.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -483,6 +491,7 @@ module Google
def update!(**args) def update!(**args)
@client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id) @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@end_time = args[:end_time] if args.key?(:end_time) @end_time = args[:end_time] if args.key?(:end_time)
@error = args[:error] if args.key?(:error) @error = args[:error] if args.key?(:error)
@http_error_message = args[:http_error_message] if args.key?(:http_error_message) @http_error_message = args[:http_error_message] if args.key?(:http_error_message)
@ -533,7 +542,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :code attr_accessor :code
# [Output Only] Indicates the field in the request which caused the error. This # [Output Only] Indicates the field in the request that caused the error. This
# property is optional. # property is optional.
# Corresponds to the JSON property `location` # Corresponds to the JSON property `location`
# @return [String] # @return [String]
@ -561,17 +570,19 @@ module Google
class Warning class Warning
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# [Output Only] The warning type identifier for this warning. # [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code` # Corresponds to the JSON property `code`
# @return [String] # @return [String]
attr_accessor :code attr_accessor :code
# [Output Only] Metadata for this warning in key: value format. # [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data` # Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ClouduseraccountsBeta::Operation::Warning::Datum>] # @return [Array<Google::Apis::ClouduseraccountsBeta::Operation::Warning::Datum>]
attr_accessor :data attr_accessor :data
# [Output Only] Optional human-readable details for this warning. # [Output Only] A human-readable description of the warning code.
# Corresponds to the JSON property `message` # Corresponds to the JSON property `message`
# @return [String] # @return [String]
attr_accessor :message attr_accessor :message
@ -591,7 +602,13 @@ module Google
class Datum class Datum
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# [Output Only] A key for the warning data. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key` # Corresponds to the JSON property `key`
# @return [String] # @return [String]
attr_accessor :key attr_accessor :key
@ -618,12 +635,13 @@ module Google
class OperationList class OperationList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# [Output Only] Unique identifier for the resource; defined by the server. # [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
# [Output Only] The Operation resources. # [Output Only] A list of Operation resources.
# Corresponds to the JSON property `items` # Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ClouduseraccountsBeta::Operation>] # @return [Array<Google::Apis::ClouduseraccountsBeta::Operation>]
attr_accessor :items attr_accessor :items
@ -634,7 +652,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# [Output Only] A token used to continue a truncate. # [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` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token

View File

@ -236,6 +236,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :client_operation_id, as: 'clientOperationId' property :client_operation_id, as: 'clientOperationId'
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :end_time, as: 'endTime' property :end_time, as: 'endTime'
property :error, as: 'error', class: Google::Apis::ClouduseraccountsBeta::Operation::Error, decorator: Google::Apis::ClouduseraccountsBeta::Operation::Error::Representation property :error, as: 'error', class: Google::Apis::ClouduseraccountsBeta::Operation::Error, decorator: Google::Apis::ClouduseraccountsBeta::Operation::Error::Representation

View File

@ -22,7 +22,8 @@ module Google
module ClouduseraccountsBeta module ClouduseraccountsBeta
# Cloud User Accounts API # Cloud User Accounts API
# #
# API for the Google Cloud User Accounts service. # Creates and manages users and groups for accessing Google Compute Engine
# virtual machines.
# #
# @example # @example
# require 'google/apis/clouduseraccounts_beta' # require 'google/apis/clouduseraccounts_beta'
@ -132,18 +133,32 @@ module Google
# Project ID for this request. # Project ID for this request.
# @param [String] filter # @param [String] filter
# Sets a filter expression for filtering listed resources, in the form filter=` # Sets a filter expression for filtering listed resources, in the form filter=`
# expression`. Your `expression` must be in the format: FIELD_NAME # expression`. Your `expression` must be in the format: field_name
# COMPARISON_STRING LITERAL_STRING. # comparison_string literal_string.
# The FIELD_NAME is the name of the field you want to compare. Only atomic field # 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 # 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 # 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 (string, # to filter to. The literal value must be valid for the type of field you are
# number, boolean). For string fields, the literal value is interpreted as a # filtering by (string, number, boolean). For string fields, the literal value
# regular expression using RE2 syntax. The literal value must match the entire # is interpreted as a regular expression using RE2 syntax. The literal value
# field. # must match the entire field.
# For example, filter=name ne example-instance. # 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: If you use 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. In particular, use
# filtering on nested fields to take advantage of instance labels to organize
# and filter 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 # @param [Fixnum] max_results
# Maximum count of results to be returned. # 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 # @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in # Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name. # alphanumerical order based on the resource name.
@ -154,9 +169,8 @@ module Google
# returned first. # returned first.
# Currently, only sorting by name or creationTimestamp desc is supported. # Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token # @param [String] page_token
# Specifies a page token to use. Use this parameter if you want to list the next # Specifies a page token to use. Set pageToken to the nextPageToken returned by
# page of results. Set pageToken to the nextPageToken returned by a previous # a previous list request to get the next page of results.
# list request.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -354,18 +368,32 @@ module Google
# Project ID for this request. # Project ID for this request.
# @param [String] filter # @param [String] filter
# Sets a filter expression for filtering listed resources, in the form filter=` # Sets a filter expression for filtering listed resources, in the form filter=`
# expression`. Your `expression` must be in the format: FIELD_NAME # expression`. Your `expression` must be in the format: field_name
# COMPARISON_STRING LITERAL_STRING. # comparison_string literal_string.
# The FIELD_NAME is the name of the field you want to compare. Only atomic field # 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 # 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 # 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 (string, # to filter to. The literal value must be valid for the type of field you are
# number, boolean). For string fields, the literal value is interpreted as a # filtering by (string, number, boolean). For string fields, the literal value
# regular expression using RE2 syntax. The literal value must match the entire # is interpreted as a regular expression using RE2 syntax. The literal value
# field. # must match the entire field.
# For example, filter=name ne example-instance. # 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: If you use 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. In particular, use
# filtering on nested fields to take advantage of instance labels to organize
# and filter 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 # @param [Fixnum] max_results
# Maximum count of results to be returned. # 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 # @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in # Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name. # alphanumerical order based on the resource name.
@ -376,9 +404,8 @@ module Google
# returned first. # returned first.
# Currently, only sorting by name or creationTimestamp desc is supported. # Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token # @param [String] page_token
# Specifies a page token to use. Use this parameter if you want to list the next # Specifies a page token to use. Set pageToken to the nextPageToken returned by
# page of results. Set pageToken to the nextPageToken returned by a previous # a previous list request to get the next page of results.
# list request.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -512,18 +539,32 @@ module Google
# The fully-qualified URL of the virtual machine requesting the views. # The fully-qualified URL of the virtual machine requesting the views.
# @param [String] filter # @param [String] filter
# Sets a filter expression for filtering listed resources, in the form filter=` # Sets a filter expression for filtering listed resources, in the form filter=`
# expression`. Your `expression` must be in the format: FIELD_NAME # expression`. Your `expression` must be in the format: field_name
# COMPARISON_STRING LITERAL_STRING. # comparison_string literal_string.
# The FIELD_NAME is the name of the field you want to compare. Only atomic field # 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 # 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 # 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 (string, # to filter to. The literal value must be valid for the type of field you are
# number, boolean). For string fields, the literal value is interpreted as a # filtering by (string, number, boolean). For string fields, the literal value
# regular expression using RE2 syntax. The literal value must match the entire # is interpreted as a regular expression using RE2 syntax. The literal value
# field. # must match the entire field.
# For example, filter=name ne example-instance. # 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: If you use 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. In particular, use
# filtering on nested fields to take advantage of instance labels to organize
# and filter 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 # @param [Fixnum] max_results
# Maximum count of results to be returned. # 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 # @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in # Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name. # alphanumerical order based on the resource name.
@ -534,9 +575,8 @@ module Google
# returned first. # returned first.
# Currently, only sorting by name or creationTimestamp desc is supported. # Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token # @param [String] page_token
# Specifies a page token to use. Use this parameter if you want to list the next # Specifies a page token to use. Set pageToken to the nextPageToken returned by
# page of results. Set pageToken to the nextPageToken returned by a previous # a previous list request to get the next page of results.
# list request.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -737,18 +777,32 @@ module Google
# Project ID for this request. # Project ID for this request.
# @param [String] filter # @param [String] filter
# Sets a filter expression for filtering listed resources, in the form filter=` # Sets a filter expression for filtering listed resources, in the form filter=`
# expression`. Your `expression` must be in the format: FIELD_NAME # expression`. Your `expression` must be in the format: field_name
# COMPARISON_STRING LITERAL_STRING. # comparison_string literal_string.
# The FIELD_NAME is the name of the field you want to compare. Only atomic field # 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 # 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 # 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 (string, # to filter to. The literal value must be valid for the type of field you are
# number, boolean). For string fields, the literal value is interpreted as a # filtering by (string, number, boolean). For string fields, the literal value
# regular expression using RE2 syntax. The literal value must match the entire # is interpreted as a regular expression using RE2 syntax. The literal value
# field. # must match the entire field.
# For example, filter=name ne example-instance. # 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: If you use 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. In particular, use
# filtering on nested fields to take advantage of instance labels to organize
# and filter 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 # @param [Fixnum] max_results
# Maximum count of results to be returned. # 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 # @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in # Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name. # alphanumerical order based on the resource name.
@ -759,9 +813,8 @@ module Google
# returned first. # returned first.
# Currently, only sorting by name or creationTimestamp desc is supported. # Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token # @param [String] page_token
# Specifies a page token to use. Use this parameter if you want to list the next # Specifies a page token to use. Set pageToken to the nextPageToken returned by
# page of results. Set pageToken to the nextPageToken returned by a previous # a previous list request to get the next page of results.
# list request.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user

View File

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

View File

@ -95,7 +95,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -310,7 +310,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -465,7 +465,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :disk_size_gb attr_accessor :disk_size_gb
# Storage type of the disk. # [Deprecated] Storage type of the disk.
# Corresponds to the JSON property `diskStorageType` # Corresponds to the JSON property `diskStorageType`
# @return [String] # @return [String]
attr_accessor :disk_storage_type attr_accessor :disk_storage_type
@ -519,7 +519,10 @@ module Google
end end
end end
# # Represents an Autoscaler resource. Autoscalers allow you to automatically
# scale virtual machine instances in managed instance groups according to an
# autoscaling policy that you define. For more information, read Autoscaling
# Groups of Instances.
class Autoscaler class Autoscaler
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -545,7 +548,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
# Type of the resource. # [Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
@ -565,8 +568,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# URL of Instance Group Manager or Replica Pool which will be controlled by # URL of the managed instance group that this autoscaler will scale.
# Autoscaler.
# Corresponds to the JSON property `target` # Corresponds to the JSON property `target`
# @return [String] # @return [String]
attr_accessor :target attr_accessor :target
@ -609,7 +611,8 @@ module Google
# @return [Hash<String,Google::Apis::ComputeBeta::AutoscalersScopedList>] # @return [Hash<String,Google::Apis::ComputeBeta::AutoscalersScopedList>]
attr_accessor :items attr_accessor :items
# Type of resource. # [Output Only] Type of resource. Always compute#autoscalerAggregatedList for
# aggregated lists of autoscalers.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
@ -642,7 +645,7 @@ module Google
end end
end end
# Contains a list of persistent autoscaler resources. # Contains a list of Autoscaler resources.
class AutoscalerList class AutoscalerList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -657,7 +660,8 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::Autoscaler>] # @return [Array<Google::Apis::ComputeBeta::Autoscaler>]
attr_accessor :items attr_accessor :items
# Type of resource. # [Output Only] Type of resource. Always compute#autoscalerList for lists of
# autoscalers.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
@ -694,13 +698,13 @@ module Google
class AutoscalersScopedList class AutoscalersScopedList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# List of autoscalers contained in this scope. # [Output Only] List of autoscalers contained in this scope.
# Corresponds to the JSON property `autoscalers` # Corresponds to the JSON property `autoscalers`
# @return [Array<Google::Apis::ComputeBeta::Autoscaler>] # @return [Array<Google::Apis::ComputeBeta::Autoscaler>]
attr_accessor :autoscalers attr_accessor :autoscalers
# Informational warning which replaces the list of autoscalers when the list is # [Output Only] Informational warning which replaces the list of autoscalers
# empty. # when the list is empty.
# Corresponds to the JSON property `warning` # Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeBeta::AutoscalersScopedList::Warning] # @return [Google::Apis::ComputeBeta::AutoscalersScopedList::Warning]
attr_accessor :warning attr_accessor :warning
@ -715,8 +719,8 @@ module Google
@warning = args[:warning] if args.key?(:warning) @warning = args[:warning] if args.key?(:warning)
end end
# Informational warning which replaces the list of autoscalers when the list is # [Output Only] Informational warning which replaces the list of autoscalers
# empty. # when the list is empty.
class Warning class Warning
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -755,7 +759,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -785,11 +789,14 @@ module Google
class AutoscalingPolicy class AutoscalingPolicy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The number of seconds that the Autoscaler should wait between two succeeding # The number of seconds that the autoscaler should wait before it starts
# changes to the number of virtual machines. You should define an interval that # collecting information from a new instance. This prevents the autoscaler from
# is at least as long as the initialization time of a virtual machine and the # collecting information when the instance is initializing, during which the
# time it may take for replica pool to create the virtual machine. The default # collected usage would not be reliable. The default time autoscaler waits is 60
# is 60 seconds. # seconds.
# Virtual machine initialization times might vary because of numerous factors.
# We recommend that you test how long an instance may take to initialize. To do
# this, create an instance and time the startup process.
# Corresponds to the JSON property `coolDownPeriodSec` # Corresponds to the JSON property `coolDownPeriodSec`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :cool_down_period_sec attr_accessor :cool_down_period_sec
@ -799,27 +806,26 @@ module Google
# @return [Google::Apis::ComputeBeta::AutoscalingPolicyCpuUtilization] # @return [Google::Apis::ComputeBeta::AutoscalingPolicyCpuUtilization]
attr_accessor :cpu_utilization attr_accessor :cpu_utilization
# Configuration parameters of autoscaling based on custom metric. # Configuration parameters of autoscaling based on a custom metric.
# Corresponds to the JSON property `customMetricUtilizations` # Corresponds to the JSON property `customMetricUtilizations`
# @return [Array<Google::Apis::ComputeBeta::AutoscalingPolicyCustomMetricUtilization>] # @return [Array<Google::Apis::ComputeBeta::AutoscalingPolicyCustomMetricUtilization>]
attr_accessor :custom_metric_utilizations attr_accessor :custom_metric_utilizations
# Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancing.
# Corresponds to the JSON property `loadBalancingUtilization` # Corresponds to the JSON property `loadBalancingUtilization`
# @return [Google::Apis::ComputeBeta::AutoscalingPolicyLoadBalancingUtilization] # @return [Google::Apis::ComputeBeta::AutoscalingPolicyLoadBalancingUtilization]
attr_accessor :load_balancing_utilization attr_accessor :load_balancing_utilization
# The maximum number of replicas that the Autoscaler can scale up to. This field # The maximum number of instances that the autoscaler can scale up to. This is
# is required for config to be effective. Maximum number of replicas should be # required when creating or updating an autoscaler. The maximum number of
# not lower than minimal number of replicas. Absolute limit for this value is # replicas should not be lower than minimal number of replicas.
# defined in Autoscaler backend.
# Corresponds to the JSON property `maxNumReplicas` # Corresponds to the JSON property `maxNumReplicas`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :max_num_replicas attr_accessor :max_num_replicas
# The minimum number of replicas that the Autoscaler can scale down to. Can't be # The minimum number of replicas that the autoscaler can scale down to. This
# less than 0. If not provided Autoscaler will choose default value depending on # cannot be less than 0. If not provided, autoscaler will choose a default value
# maximal number of replicas. # depending on maximum number of instances allowed.
# Corresponds to the JSON property `minNumReplicas` # Corresponds to the JSON property `minNumReplicas`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :min_num_replicas attr_accessor :min_num_replicas
@ -843,10 +849,15 @@ module Google
class AutoscalingPolicyCpuUtilization class AutoscalingPolicyCpuUtilization
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The target utilization that the Autoscaler should maintain. It is represented # The target CPU utilization that the autoscaler should maintain. Must be a
# as a fraction of used cores. For example: 6 cores used in 8-core VM are # float value in the range (0, 1]. If not specified, the default is 0.8.
# represented here as 0.75. Must be a float value between (0, 1]. If not defined, # If the CPU level is below the target utilization, the autoscaler scales down
# the default is 0.8. # the number of instances until it reaches the minimum number of instances you
# specified or until the average CPU of your instances reaches the target
# utilization.
# If the average CPU is above the target utilization, the autoscaler scales up
# until it reaches the maximum number of instances you specified or until the
# average utilization reaches the target utilization.
# Corresponds to the JSON property `utilizationTarget` # Corresponds to the JSON property `utilizationTarget`
# @return [Float] # @return [Float]
attr_accessor :utilization_target attr_accessor :utilization_target
@ -865,22 +876,30 @@ module Google
class AutoscalingPolicyCustomMetricUtilization class AutoscalingPolicyCustomMetricUtilization
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Identifier of the metric. It should be a Cloud Monitoring metric. The metric # The identifier of the Cloud Monitoring metric. The metric cannot have negative
# can not have negative values. The metric should be an utilization metric ( # values and should be a utilization metric, which means that the number of
# increasing number of VMs handling requests x times should reduce average value # virtual machines handling requests should increase or decrease proportionally
# of the metric roughly x times). For example you could use: compute.googleapis. # to the metric. The metric must also have a label of compute.googleapis.com/
# com/instance/network/received_bytes_count. # resource_id with the value of the instance's unique ID, although this alone
# does not guarantee that the metric is valid.
# For example, the following is a valid metric:
# compute.googleapis.com/instance/network/received_bytes_count
# The following is not a valid metric because it does not increase or decrease
# based on usage:
# compute.googleapis.com/instance/cpu/reserved_cores
# Corresponds to the JSON property `metric` # Corresponds to the JSON property `metric`
# @return [String] # @return [String]
attr_accessor :metric attr_accessor :metric
# Target value of the metric which Autoscaler should maintain. Must be a # Target value of the metric which autoscaler should maintain. Must be a
# positive value. # positive value.
# Corresponds to the JSON property `utilizationTarget` # Corresponds to the JSON property `utilizationTarget`
# @return [Float] # @return [Float]
attr_accessor :utilization_target attr_accessor :utilization_target
# Defines type in which utilization_target is expressed. # Defines how target utilization value is expressed for a Cloud Monitoring
# metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified,
# the default is GAUGE.
# Corresponds to the JSON property `utilizationTargetType` # Corresponds to the JSON property `utilizationTargetType`
# @return [String] # @return [String]
attr_accessor :utilization_target_type attr_accessor :utilization_target_type
@ -897,16 +916,13 @@ module Google
end end
end end
# Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancing.
class AutoscalingPolicyLoadBalancingUtilization class AutoscalingPolicyLoadBalancingUtilization
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Fraction of backend capacity utilization (set in HTTP load balancing # Fraction of backend capacity utilization (set in HTTP(s) load balancing
# configuration) that Autoscaler should maintain. Must be a positive float value. # configuration) that autoscaler should maintain. Must be a positive float value.
# If not defined, the default is 0.8. For example if your maxRatePerInstance # If not defined, the default is 0.8.
# capacity (in HTTP Load Balancing configuration) is set at 10 and you would
# like to keep number of instances such that each instance receives 7 QPS on
# average, set this to 0.7.
# Corresponds to the JSON property `utilizationTarget` # Corresponds to the JSON property `utilizationTarget`
# @return [Float] # @return [Float]
attr_accessor :utilization_target attr_accessor :utilization_target
@ -1015,6 +1031,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :description 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. # 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 # 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 # inserting a BackendService. An up-to-date fingerprint must be provided in
@ -1090,6 +1112,7 @@ module Google
@backends = args[:backends] if args.key?(:backends) @backends = args[:backends] if args.key?(:backends)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint) @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@health_checks = args[:health_checks] if args.key?(:health_checks) @health_checks = args[:health_checks] if args.key?(:health_checks)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@ -1178,6 +1201,25 @@ module Google
end end
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 # Represents a customer-supplied encryption key
class CustomerEncryptionKey class CustomerEncryptionKey
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1301,6 +1343,23 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# A fingerprint for the labels being applied to this disk, which is essentially
# a hash of the labels set used for optimistic locking. The fingerprint is
# initially generated by Compute Engine and changes after every request to
# modify or update metadata. You must always provide an up-to-date fingerprint
# hash in order to update or change labels.
# To see the latest fingerprint, make get() request to the disk.
# Corresponds to the JSON property `labelFingerprint`
# @return [String]
attr_accessor :label_fingerprint
# Labels to apply to this disk. These can be later modified by the setLabels
# method. Each label key & value must comply with RFC1035. Label values may be
# empty.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# [Output Only] Last attach timestamp in RFC3339 text format. # [Output Only] Last attach timestamp in RFC3339 text format.
# Corresponds to the JSON property `lastAttachTimestamp` # Corresponds to the JSON property `lastAttachTimestamp`
# @return [String] # @return [String]
@ -1316,7 +1375,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :licenses attr_accessor :licenses
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -1448,6 +1507,8 @@ module Google
@disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key) @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
@last_attach_timestamp = args[:last_attach_timestamp] if args.key?(:last_attach_timestamp) @last_attach_timestamp = args[:last_attach_timestamp] if args.key?(:last_attach_timestamp)
@last_detach_timestamp = args[:last_detach_timestamp] if args.key?(:last_detach_timestamp) @last_detach_timestamp = args[:last_detach_timestamp] if args.key?(:last_detach_timestamp)
@licenses = args[:licenses] if args.key?(:licenses) @licenses = args[:licenses] if args.key?(:licenses)
@ -1802,7 +1863,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -1912,7 +1973,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -2387,7 +2448,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -2413,6 +2474,32 @@ module Google
end end
end end
#
class GlobalSetLabelsRequest
include Google::Apis::Core::Hashable
# Fingerprint of the previous set of labels for this resource, used to detect
# conflicts.
# Corresponds to the JSON property `labelFingerprint`
# @return [String]
attr_accessor :label_fingerprint
# The new labels for the resource.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
end
end
# A full or valid partial URL to a health check. For example, the following are # A full or valid partial URL to a health check. For example, the following are
# valid URLs: # valid URLs:
# - https://www.googleapis.com/compute/beta/projects/project-id/global/ # - https://www.googleapis.com/compute/beta/projects/project-id/global/
@ -2868,6 +2955,23 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# A fingerprint for the labels being applied to this image, which is essentially
# a hash of the labels set used for optimistic locking. The fingerprint is
# initially generated by Compute Engine and changes after every request to
# modify or update metadata. You must always provide an up-to-date fingerprint
# hash in order to update or change labels.
# To see the latest fingerprint, make get() request to retrieve the image.
# Corresponds to the JSON property `labelFingerprint`
# @return [String]
attr_accessor :label_fingerprint
# Labels to apply to this image. These can be later modified by the setLabels
# method. Each label key & value must comply with RFC1035. Label values may be
# empty.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# Any applicable publicly visible licenses. # Any applicable publicly visible licenses.
# Corresponds to the JSON property `licenses` # Corresponds to the JSON property `licenses`
# @return [Array<String>] # @return [Array<String>]
@ -2945,6 +3049,8 @@ module Google
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@image_encryption_key = args[:image_encryption_key] if args.key?(:image_encryption_key) @image_encryption_key = args[:image_encryption_key] if args.key?(:image_encryption_key)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
@licenses = args[:licenses] if args.key?(:licenses) @licenses = args[:licenses] if args.key?(:licenses)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@raw_disk = args[:raw_disk] if args.key?(:raw_disk) @raw_disk = args[:raw_disk] if args.key?(:raw_disk)
@ -3920,7 +4026,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -4193,7 +4299,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -4604,7 +4710,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -4970,7 +5076,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -5107,7 +5213,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :code attr_accessor :code
# [Output Only] Indicates the field in the request which caused the error. This # [Output Only] Indicates the field in the request that caused the error. This
# property is optional. # property is optional.
# Corresponds to the JSON property `location` # Corresponds to the JSON property `location`
# @return [String] # @return [String]
@ -5485,7 +5591,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :insert_time attr_accessor :insert_time
# [Output Only] Type of the resource. Always compute#operation for Operation # [Output Only] Type of the resource. Always compute#operation for operation
# resources. # resources.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
@ -5626,7 +5732,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :code attr_accessor :code
# [Output Only] Indicates the field in the request which caused the error. This # [Output Only] Indicates the field in the request that caused the error. This
# property is optional. # property is optional.
# Corresponds to the JSON property `location` # Corresponds to the JSON property `location`
# @return [String] # @return [String]
@ -5689,7 +5795,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -5878,7 +5984,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -5995,6 +6101,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :creation_timestamp attr_accessor :creation_timestamp
# [Output Only] Default service account used by VMs running in this project.
# Corresponds to the JSON property `defaultServiceAccount`
# @return [String]
attr_accessor :default_service_account
# An optional textual description of the resource. # An optional textual description of the resource.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
@ -6047,6 +6158,7 @@ module Google
def update!(**args) def update!(**args)
@common_instance_metadata = args[:common_instance_metadata] if args.key?(:common_instance_metadata) @common_instance_metadata = args[:common_instance_metadata] if args.key?(:common_instance_metadata)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@default_service_account = args[:default_service_account] if args.key?(:default_service_account)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@enabled_features = args[:enabled_features] if args.key?(:enabled_features) @enabled_features = args[:enabled_features] if args.key?(:enabled_features)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@ -6231,7 +6343,7 @@ module Google
end end
end end
# Represents a Routes resource. A route specifies how certain packets should be # Represents a Route resource. A route specifies how certain packets should be
# handled by the network. Routes are associated with instances by tags and the # handled by the network. Routes are associated with instances by tags and the
# set of routes for a particular instance is called its routing table. # set of routes for a particular instance is called its routing table.
# For each packet leaving a instance, the system searches that instance's # For each packet leaving a instance, the system searches that instance's
@ -6239,7 +6351,7 @@ module Google
# destination IP address, preferring smaller or more specific ranges over larger # destination IP address, preferring smaller or more specific ranges over larger
# ones. If there is a tie, the system selects the route with the smallest # ones. If there is a tie, the system selects the route with the smallest
# priority value. If there is still a tie, it uses the layer three and four # priority value. If there is still a tie, it uses the layer three and four
# packet headers to select just one of the remaining matching Routes. The packet # packet headers to select just one of the remaining matching routes. The packet
# is then forwarded as specified by the nextHop field of the winning route - # is then forwarded as specified by the nextHop field of the winning route -
# either to another instance destination, a instance gateway or a Google Compute # either to another instance destination, a instance gateway or a Google Compute
# Engine-operated gateway. # Engine-operated gateway.
@ -6275,7 +6387,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -6406,7 +6518,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -6432,7 +6544,7 @@ module Google
end end
end end
# Contains a list of route resources. # Contains a list of Route resources.
class RouteList class RouteList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -6521,7 +6633,11 @@ module Google
attr_accessor :kind attr_accessor :kind
# Name of the resource. Provided by the client when the resource is created. The # 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. # 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` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -6561,7 +6677,7 @@ module Google
end end
end end
# Contains a list of RoutersScopedList. # Contains a list of routers.
class RouterAggregatedList class RouterAggregatedList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -6571,7 +6687,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
# A map of scoped Router lists. # A map of scoped router lists.
# Corresponds to the JSON property `items` # Corresponds to the JSON property `items`
# @return [Hash<String,Google::Apis::ComputeBeta::RoutersScopedList>] # @return [Hash<String,Google::Apis::ComputeBeta::RoutersScopedList>]
attr_accessor :items attr_accessor :items
@ -6613,8 +6729,8 @@ module Google
class RouterBgp class RouterBgp
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Local BGP Autonomous System Number (ASN) Can be a constant public ASN value # Local BGP Autonomous System Number (ASN). Can be a constant public ASN value
# for google, or a customer-specified private ASN. In either case, the value # for Google, or a customer-specified private ASN. In either case, the value
# will be fixed for this router resource. All VPN tunnels that link to this # will be fixed for this router resource. All VPN tunnels that link to this
# router will have the same local ASN. # router will have the same local ASN.
# Corresponds to the JSON property `asn` # Corresponds to the JSON property `asn`
@ -6644,17 +6760,17 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :advertised_route_priority attr_accessor :advertised_route_priority
# Name of the interface it is associated with. # Name of the interface the BGP peer is associated with.
# Corresponds to the JSON property `interfaceName` # Corresponds to the JSON property `interfaceName`
# @return [String] # @return [String]
attr_accessor :interface_name attr_accessor :interface_name
# IP address of the interface inside Google cloud. # IP address of the interface inside Google Cloud Platform.
# Corresponds to the JSON property `ipAddress` # Corresponds to the JSON property `ipAddress`
# @return [String] # @return [String]
attr_accessor :ip_address attr_accessor :ip_address
# Name of this BGP Peer. The name must be 1-63 characters long and comply with # Name of this BGP peer. The name must be 1-63 characters long and comply with
# RFC1035. # RFC1035.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -6691,8 +6807,8 @@ module Google
class RouterInterface class RouterInterface
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# IP address and range of the interface. The value should be a CIDR formatted # IP address and range of the interface. The value should be a CIDR-formatted
# string, for example: 169.254.0.1/30. NOTE: Do NOT trucate address, as it # string, for example: 169.254.0.1/30. NOTE: Do NOT truncate address, as it
# represents IP address of interface. # represents IP address of interface.
# Corresponds to the JSON property `ipRange` # Corresponds to the JSON property `ipRange`
# @return [String] # @return [String]
@ -6774,7 +6890,7 @@ module Google
class RouterStatus class RouterStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Best routes for this Router. # Best routes for this router.
# Corresponds to the JSON property `bestRoutes` # Corresponds to the JSON property `bestRoutes`
# @return [Array<Google::Apis::ComputeBeta::Route>] # @return [Array<Google::Apis::ComputeBeta::Route>]
attr_accessor :best_routes attr_accessor :best_routes
@ -6805,7 +6921,7 @@ module Google
class RouterStatusBgpPeerStatus class RouterStatusBgpPeerStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Routes that were advertised to the remote BgpPeer # Routes that were advertised to the remote BGP peer
# Corresponds to the JSON property `advertisedRoutes` # Corresponds to the JSON property `advertisedRoutes`
# @return [Array<Google::Apis::ComputeBeta::Route>] # @return [Array<Google::Apis::ComputeBeta::Route>]
attr_accessor :advertised_routes attr_accessor :advertised_routes
@ -6815,12 +6931,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :ip_address attr_accessor :ip_address
# URL of the VPN tunnel that this BgpPeer controls. # URL of the VPN tunnel that this BGP peer controls.
# Corresponds to the JSON property `linkedVpnTunnel` # Corresponds to the JSON property `linkedVpnTunnel`
# @return [String] # @return [String]
attr_accessor :linked_vpn_tunnel attr_accessor :linked_vpn_tunnel
# Name of this BgpPeer which is unique within the Router resource. # Name of this BGP peer. Unique within the routes resource.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -6835,22 +6951,27 @@ module Google
# @return [String] # @return [String]
attr_accessor :peer_ip_address attr_accessor :peer_ip_address
# BGP state as specified in RFC-1771. # BGP state as specified in RFC1771.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
# Status of the BgpPeer: `UP, DOWN` # Status of the BGP peer: `UP, DOWN`
# Corresponds to the JSON property `status` # Corresponds to the JSON property `status`
# @return [String] # @return [String]
attr_accessor :status attr_accessor :status
# Time this session has been up. Format: 1 second < uptime < 1 day = "23:59:59" # Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours,
# 1 day <= uptime < 1 week = "6d:23h:59m" 1 week <= uptime = "123w:6d:23h" # 59 minutes, 59 seconds
# Corresponds to the JSON property `uptime` # Corresponds to the JSON property `uptime`
# @return [String] # @return [String]
attr_accessor :uptime attr_accessor :uptime
# Time this session has been up, in seconds. Format: 145
# Corresponds to the JSON property `uptimeSeconds`
# @return [String]
attr_accessor :uptime_seconds
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -6866,6 +6987,7 @@ module Google
@state = args[:state] if args.key?(:state) @state = args[:state] if args.key?(:state)
@status = args[:status] if args.key?(:status) @status = args[:status] if args.key?(:status)
@uptime = args[:uptime] if args.key?(:uptime) @uptime = args[:uptime] if args.key?(:uptime)
@uptime_seconds = args[:uptime_seconds] if args.key?(:uptime_seconds)
end end
end end
@ -6898,7 +7020,7 @@ module Google
class RoutersScopedList class RoutersScopedList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# List of Routers contained in this scope. # List of routers contained in this scope.
# Corresponds to the JSON property `routers` # Corresponds to the JSON property `routers`
# @return [Array<Google::Apis::ComputeBeta::Router>] # @return [Array<Google::Apis::ComputeBeta::Router>]
attr_accessor :routers attr_accessor :routers
@ -6959,7 +7081,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -7039,11 +7161,25 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# [Output Only] The position of the next byte of content from the serial console
# output. Use this value in the next request as the start parameter.
# Corresponds to the JSON property `next`
# @return [String]
attr_accessor :next
# [Output Only] Server-defined URL for the resource. # [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink` # Corresponds to the JSON property `selfLink`
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# [Output Only] The starting byte position of the output that was returned. This
# should match the start parameter sent with the request. If the serial console
# output exceeds the size of the buffer, older output will be overwritten by
# newer content and the start values will be mismatched.
# Corresponds to the JSON property `start`
# @return [String]
attr_accessor :start
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -7052,7 +7188,9 @@ module Google
def update!(**args) def update!(**args)
@contents = args[:contents] if args.key?(:contents) @contents = args[:contents] if args.key?(:contents)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@next = args[:next] if args.key?(:next)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@start = args[:start] if args.key?(:start)
end end
end end
@ -7113,6 +7251,23 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# A fingerprint for the labels being applied to this snapshot, which is
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update metadata. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# To see the latest fingerprint, make get() request to the snapshot.
# Corresponds to the JSON property `labelFingerprint`
# @return [String]
attr_accessor :label_fingerprint
# Labels to apply to this snapshot. These can be later modified by the setLabels
# method. Each label key & value must comply with RFC1035. Label values may be
# empty.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# [Output Only] A list of public visible licenses that apply to this snapshot. # [Output Only] A list of public visible licenses that apply to this snapshot.
# This can be because the original image had licenses attached (such as a # This can be because the original image had licenses attached (such as a
# Windows image). # Windows image).
@ -7189,6 +7344,8 @@ module Google
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
@licenses = args[:licenses] if args.key?(:licenses) @licenses = args[:licenses] if args.key?(:licenses)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@ -7618,7 +7775,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -7702,7 +7859,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -7792,8 +7949,8 @@ module Google
class TargetHttpsProxiesSetSslCertificatesRequest class TargetHttpsProxiesSetSslCertificatesRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# New set of URLs to SslCertificate resources to associate with this # New set of SslCertificate resources to associate with this TargetHttpsProxy
# TargetHttpProxy. Currently exactly one SSL certificate must be specified. # resource. Currently exactly one SslCertificate resource must be specified.
# Corresponds to the JSON property `sslCertificates` # Corresponds to the JSON property `sslCertificates`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :ssl_certificates attr_accessor :ssl_certificates
@ -7829,7 +7986,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
# [Output Only] Type of the resource. Always compute#targetHttpsProxy for target # [Output Only] Type of resource. Always compute#targetHttpsProxy for target
# HTTPS proxies. # HTTPS proxies.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
@ -7899,7 +8056,8 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::TargetHttpsProxy>] # @return [Array<Google::Apis::ComputeBeta::TargetHttpsProxy>]
attr_accessor :items attr_accessor :items
# Type of resource. # Type of resource. Always compute#targetHttpsProxyList for lists of target
# HTTPS proxies.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
@ -8176,7 +8334,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -8597,7 +8755,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -8676,7 +8834,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -8896,7 +9054,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -8959,6 +9117,45 @@ module Google
end end
end end
#
class TestPermissionsRequest
include Google::Apis::Core::Hashable
# The set of permissions to check for the 'resource'. Permissions with wildcards
# (such as '*' or 'storage.*') are not allowed.
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@permissions = args[:permissions] if args.key?(:permissions)
end
end
#
class TestPermissionsResponse
include Google::Apis::Core::Hashable
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@permissions = args[:permissions] if args.key?(:permissions)
end
end
# A UrlMap resource. This resource defines the mapping from URL to the # A UrlMap resource. This resource defines the mapping from URL to the
# BackendService resource, based on the "longest-match" of the URL's host and # BackendService resource, based on the "longest-match" of the URL's host and
# path. # path.
@ -9313,7 +9510,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :local_traffic_selector attr_accessor :local_traffic_selector
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -9333,7 +9530,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
# URL of Router resource to be used for dynamic routing. # URL of router resource to be used for dynamic routing.
# Corresponds to the JSON property `router` # Corresponds to the JSON property `router`
# @return [String] # @return [String]
attr_accessor :router attr_accessor :router
@ -9359,8 +9556,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :status attr_accessor :status
# URL of the VPN gateway to which this VPN tunnel is associated. Provided by the # URL of the VPN gateway with which this VPN tunnel is associated. Provided by
# client when the VPN tunnel is created. # the client when the VPN tunnel is created.
# Corresponds to the JSON property `targetVpnGateway` # Corresponds to the JSON property `targetVpnGateway`
# @return [String] # @return [String]
attr_accessor :target_vpn_gateway attr_accessor :target_vpn_gateway
@ -9551,7 +9748,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -9736,6 +9933,32 @@ module Google
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
end end
end end
#
class ZoneSetLabelsRequest
include Google::Apis::Core::Hashable
# Fingerprint of the previous set of labels for this resource, used to detect
# conflicts.
# Corresponds to the JSON property `labelFingerprint`
# @return [String]
attr_accessor :label_fingerprint
# The new labels for the resource.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
end
end
end end
end end
end end

View File

@ -160,6 +160,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class CacheInvalidationRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomerEncryptionKey class CustomerEncryptionKey
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -304,6 +310,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GlobalSetLabelsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HealthCheckReference class HealthCheckReference
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1162,6 +1174,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class TestPermissionsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestPermissionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UrlMap class UrlMap
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1264,6 +1288,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ZoneSetLabelsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccessConfig class AccessConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1501,6 +1531,7 @@ module Google
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :enable_cdn, as: 'enableCDN'
property :fingerprint, :base64 => true, as: 'fingerprint' property :fingerprint, :base64 => true, as: 'fingerprint'
collection :health_checks, as: 'healthChecks' collection :health_checks, as: 'healthChecks'
property :id, as: 'id' property :id, as: 'id'
@ -1535,6 +1566,13 @@ module Google
end end
end end
class CacheInvalidationRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :path, as: 'path'
end
end
class CustomerEncryptionKey class CustomerEncryptionKey
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1564,6 +1602,8 @@ module Google
property :id, as: 'id' property :id, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
property :last_attach_timestamp, as: 'lastAttachTimestamp' property :last_attach_timestamp, as: 'lastAttachTimestamp'
property :last_detach_timestamp, as: 'lastDetachTimestamp' property :last_detach_timestamp, as: 'lastDetachTimestamp'
collection :licenses, as: 'licenses' collection :licenses, as: 'licenses'
@ -1822,6 +1862,14 @@ module Google
end end
end end
class GlobalSetLabelsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
end
end
class HealthCheckReference class HealthCheckReference
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1924,6 +1972,8 @@ module Google
property :image_encryption_key, as: 'imageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation property :image_encryption_key, as: 'imageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
property :kind, as: 'kind' property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
collection :licenses, as: 'licenses' collection :licenses, as: 'licenses'
property :name, as: 'name' property :name, as: 'name'
property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeBeta::Image::RawDisk, decorator: Google::Apis::ComputeBeta::Image::RawDisk::Representation property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeBeta::Image::RawDisk, decorator: Google::Apis::ComputeBeta::Image::RawDisk::Representation
@ -2714,6 +2764,7 @@ module Google
property :common_instance_metadata, as: 'commonInstanceMetadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation property :common_instance_metadata, as: 'commonInstanceMetadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :default_service_account, as: 'defaultServiceAccount'
property :description, as: 'description' property :description, as: 'description'
collection :enabled_features, as: 'enabledFeatures' collection :enabled_features, as: 'enabledFeatures'
property :id, as: 'id' property :id, as: 'id'
@ -2922,6 +2973,7 @@ module Google
property :state, as: 'state' property :state, as: 'state'
property :status, as: 'status' property :status, as: 'status'
property :uptime, as: 'uptime' property :uptime, as: 'uptime'
property :uptime_seconds, as: 'uptimeSeconds'
end end
end end
@ -2976,7 +3028,9 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :contents, as: 'contents' property :contents, as: 'contents'
property :kind, as: 'kind' property :kind, as: 'kind'
property :next, as: 'next'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :start, as: 'start'
end end
end end
@ -2996,6 +3050,8 @@ module Google
property :disk_size_gb, as: 'diskSizeGb' property :disk_size_gb, as: 'diskSizeGb'
property :id, as: 'id' property :id, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
collection :licenses, as: 'licenses' collection :licenses, as: 'licenses'
property :name, as: 'name' property :name, as: 'name'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
@ -3447,6 +3503,20 @@ module Google
end end
end end
class TestPermissionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :permissions, as: 'permissions'
end
end
class TestPermissionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :permissions, as: 'permissions'
end
end
class UrlMap class UrlMap
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -3644,6 +3714,14 @@ module Google
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
end end
end end
class ZoneSetLabelsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
end
end
end end
end end
end end

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -95,7 +95,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -310,7 +310,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -501,7 +501,10 @@ module Google
end end
end end
# # Represents an Autoscaler resource. Autoscalers allow you to automatically
# scale virtual machine instances in managed instance groups according to an
# autoscaling policy that you define. For more information, read Autoscaling
# Groups of Instances.
class Autoscaler class Autoscaler
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -527,7 +530,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
# Type of the resource. # [Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
@ -547,8 +550,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# URL of Instance Group Manager or Replica Pool which will be controlled by # URL of the managed instance group that this autoscaler will scale.
# Autoscaler.
# Corresponds to the JSON property `target` # Corresponds to the JSON property `target`
# @return [String] # @return [String]
attr_accessor :target attr_accessor :target
@ -591,7 +593,8 @@ module Google
# @return [Hash<String,Google::Apis::ComputeV1::AutoscalersScopedList>] # @return [Hash<String,Google::Apis::ComputeV1::AutoscalersScopedList>]
attr_accessor :items attr_accessor :items
# Type of resource. # [Output Only] Type of resource. Always compute#autoscalerAggregatedList for
# aggregated lists of autoscalers.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
@ -624,7 +627,7 @@ module Google
end end
end end
# Contains a list of persistent autoscaler resources. # Contains a list of Autoscaler resources.
class AutoscalerList class AutoscalerList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -639,7 +642,8 @@ module Google
# @return [Array<Google::Apis::ComputeV1::Autoscaler>] # @return [Array<Google::Apis::ComputeV1::Autoscaler>]
attr_accessor :items attr_accessor :items
# Type of resource. # [Output Only] Type of resource. Always compute#autoscalerList for lists of
# autoscalers.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
@ -676,13 +680,13 @@ module Google
class AutoscalersScopedList class AutoscalersScopedList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# List of autoscalers contained in this scope. # [Output Only] List of autoscalers contained in this scope.
# Corresponds to the JSON property `autoscalers` # Corresponds to the JSON property `autoscalers`
# @return [Array<Google::Apis::ComputeV1::Autoscaler>] # @return [Array<Google::Apis::ComputeV1::Autoscaler>]
attr_accessor :autoscalers attr_accessor :autoscalers
# Informational warning which replaces the list of autoscalers when the list is # [Output Only] Informational warning which replaces the list of autoscalers
# empty. # when the list is empty.
# Corresponds to the JSON property `warning` # Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::AutoscalersScopedList::Warning] # @return [Google::Apis::ComputeV1::AutoscalersScopedList::Warning]
attr_accessor :warning attr_accessor :warning
@ -697,8 +701,8 @@ module Google
@warning = args[:warning] if args.key?(:warning) @warning = args[:warning] if args.key?(:warning)
end end
# Informational warning which replaces the list of autoscalers when the list is # [Output Only] Informational warning which replaces the list of autoscalers
# empty. # when the list is empty.
class Warning class Warning
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -737,7 +741,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -767,11 +771,14 @@ module Google
class AutoscalingPolicy class AutoscalingPolicy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The number of seconds that the Autoscaler should wait between two succeeding # The number of seconds that the autoscaler should wait before it starts
# changes to the number of virtual machines. You should define an interval that # collecting information from a new instance. This prevents the autoscaler from
# is at least as long as the initialization time of a virtual machine and the # collecting information when the instance is initializing, during which the
# time it may take for replica pool to create the virtual machine. The default # collected usage would not be reliable. The default time autoscaler waits is 60
# is 60 seconds. # seconds.
# Virtual machine initialization times might vary because of numerous factors.
# We recommend that you test how long an instance may take to initialize. To do
# this, create an instance and time the startup process.
# Corresponds to the JSON property `coolDownPeriodSec` # Corresponds to the JSON property `coolDownPeriodSec`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :cool_down_period_sec attr_accessor :cool_down_period_sec
@ -781,27 +788,26 @@ module Google
# @return [Google::Apis::ComputeV1::AutoscalingPolicyCpuUtilization] # @return [Google::Apis::ComputeV1::AutoscalingPolicyCpuUtilization]
attr_accessor :cpu_utilization attr_accessor :cpu_utilization
# Configuration parameters of autoscaling based on custom metric. # Configuration parameters of autoscaling based on a custom metric.
# Corresponds to the JSON property `customMetricUtilizations` # Corresponds to the JSON property `customMetricUtilizations`
# @return [Array<Google::Apis::ComputeV1::AutoscalingPolicyCustomMetricUtilization>] # @return [Array<Google::Apis::ComputeV1::AutoscalingPolicyCustomMetricUtilization>]
attr_accessor :custom_metric_utilizations attr_accessor :custom_metric_utilizations
# Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancing.
# Corresponds to the JSON property `loadBalancingUtilization` # Corresponds to the JSON property `loadBalancingUtilization`
# @return [Google::Apis::ComputeV1::AutoscalingPolicyLoadBalancingUtilization] # @return [Google::Apis::ComputeV1::AutoscalingPolicyLoadBalancingUtilization]
attr_accessor :load_balancing_utilization attr_accessor :load_balancing_utilization
# The maximum number of replicas that the Autoscaler can scale up to. This field # The maximum number of instances that the autoscaler can scale up to. This is
# is required for config to be effective. Maximum number of replicas should be # required when creating or updating an autoscaler. The maximum number of
# not lower than minimal number of replicas. Absolute limit for this value is # replicas should not be lower than minimal number of replicas.
# defined in Autoscaler backend.
# Corresponds to the JSON property `maxNumReplicas` # Corresponds to the JSON property `maxNumReplicas`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :max_num_replicas attr_accessor :max_num_replicas
# The minimum number of replicas that the Autoscaler can scale down to. Can't be # The minimum number of replicas that the autoscaler can scale down to. This
# less than 0. If not provided Autoscaler will choose default value depending on # cannot be less than 0. If not provided, autoscaler will choose a default value
# maximal number of replicas. # depending on maximum number of instances allowed.
# Corresponds to the JSON property `minNumReplicas` # Corresponds to the JSON property `minNumReplicas`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :min_num_replicas attr_accessor :min_num_replicas
@ -825,10 +831,15 @@ module Google
class AutoscalingPolicyCpuUtilization class AutoscalingPolicyCpuUtilization
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The target utilization that the Autoscaler should maintain. It is represented # The target CPU utilization that the autoscaler should maintain. Must be a
# as a fraction of used cores. For example: 6 cores used in 8-core VM are # float value in the range (0, 1]. If not specified, the default is 0.8.
# represented here as 0.75. Must be a float value between (0, 1]. If not defined, # If the CPU level is below the target utilization, the autoscaler scales down
# the default is 0.8. # the number of instances until it reaches the minimum number of instances you
# specified or until the average CPU of your instances reaches the target
# utilization.
# If the average CPU is above the target utilization, the autoscaler scales up
# until it reaches the maximum number of instances you specified or until the
# average utilization reaches the target utilization.
# Corresponds to the JSON property `utilizationTarget` # Corresponds to the JSON property `utilizationTarget`
# @return [Float] # @return [Float]
attr_accessor :utilization_target attr_accessor :utilization_target
@ -847,22 +858,30 @@ module Google
class AutoscalingPolicyCustomMetricUtilization class AutoscalingPolicyCustomMetricUtilization
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Identifier of the metric. It should be a Cloud Monitoring metric. The metric # The identifier of the Cloud Monitoring metric. The metric cannot have negative
# can not have negative values. The metric should be an utilization metric ( # values and should be a utilization metric, which means that the number of
# increasing number of VMs handling requests x times should reduce average value # virtual machines handling requests should increase or decrease proportionally
# of the metric roughly x times). For example you could use: compute.googleapis. # to the metric. The metric must also have a label of compute.googleapis.com/
# com/instance/network/received_bytes_count. # resource_id with the value of the instance's unique ID, although this alone
# does not guarantee that the metric is valid.
# For example, the following is a valid metric:
# compute.googleapis.com/instance/network/received_bytes_count
# The following is not a valid metric because it does not increase or decrease
# based on usage:
# compute.googleapis.com/instance/cpu/reserved_cores
# Corresponds to the JSON property `metric` # Corresponds to the JSON property `metric`
# @return [String] # @return [String]
attr_accessor :metric attr_accessor :metric
# Target value of the metric which Autoscaler should maintain. Must be a # Target value of the metric which autoscaler should maintain. Must be a
# positive value. # positive value.
# Corresponds to the JSON property `utilizationTarget` # Corresponds to the JSON property `utilizationTarget`
# @return [Float] # @return [Float]
attr_accessor :utilization_target attr_accessor :utilization_target
# Defines type in which utilization_target is expressed. # Defines how target utilization value is expressed for a Cloud Monitoring
# metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified,
# the default is GAUGE.
# Corresponds to the JSON property `utilizationTargetType` # Corresponds to the JSON property `utilizationTargetType`
# @return [String] # @return [String]
attr_accessor :utilization_target_type attr_accessor :utilization_target_type
@ -879,16 +898,13 @@ module Google
end end
end end
# Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancing.
class AutoscalingPolicyLoadBalancingUtilization class AutoscalingPolicyLoadBalancingUtilization
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Fraction of backend capacity utilization (set in HTTP load balancing # Fraction of backend capacity utilization (set in HTTP(s) load balancing
# configuration) that Autoscaler should maintain. Must be a positive float value. # configuration) that autoscaler should maintain. Must be a positive float value.
# If not defined, the default is 0.8. For example if your maxRatePerInstance # If not defined, the default is 0.8.
# capacity (in HTTP Load Balancing configuration) is set at 10 and you would
# like to keep number of instances such that each instance receives 7 QPS on
# average, set this to 0.7.
# Corresponds to the JSON property `utilizationTarget` # Corresponds to the JSON property `utilizationTarget`
# @return [Float] # @return [Float]
attr_accessor :utilization_target attr_accessor :utilization_target
@ -1253,7 +1269,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :licenses attr_accessor :licenses
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -1753,7 +1769,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -1844,7 +1860,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -2319,7 +2335,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -3778,7 +3794,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -4032,7 +4048,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -4477,7 +4493,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -4848,7 +4864,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -4985,7 +5001,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :code attr_accessor :code
# [Output Only] Indicates the field in the request which caused the error. This # [Output Only] Indicates the field in the request that caused the error. This
# property is optional. # property is optional.
# Corresponds to the JSON property `location` # Corresponds to the JSON property `location`
# @return [String] # @return [String]
@ -5363,7 +5379,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :insert_time attr_accessor :insert_time
# [Output Only] Type of the resource. Always compute#operation for Operation # [Output Only] Type of the resource. Always compute#operation for operation
# resources. # resources.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
@ -5504,7 +5520,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :code attr_accessor :code
# [Output Only] Indicates the field in the request which caused the error. This # [Output Only] Indicates the field in the request that caused the error. This
# property is optional. # property is optional.
# Corresponds to the JSON property `location` # Corresponds to the JSON property `location`
# @return [String] # @return [String]
@ -5567,7 +5583,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -5756,7 +5772,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -6109,7 +6125,7 @@ module Google
end end
end end
# Represents a Routes resource. A route specifies how certain packets should be # Represents a Route resource. A route specifies how certain packets should be
# handled by the network. Routes are associated with instances by tags and the # handled by the network. Routes are associated with instances by tags and the
# set of routes for a particular instance is called its routing table. # set of routes for a particular instance is called its routing table.
# For each packet leaving a instance, the system searches that instance's # For each packet leaving a instance, the system searches that instance's
@ -6117,7 +6133,7 @@ module Google
# destination IP address, preferring smaller or more specific ranges over larger # destination IP address, preferring smaller or more specific ranges over larger
# ones. If there is a tie, the system selects the route with the smallest # ones. If there is a tie, the system selects the route with the smallest
# priority value. If there is still a tie, it uses the layer three and four # priority value. If there is still a tie, it uses the layer three and four
# packet headers to select just one of the remaining matching Routes. The packet # packet headers to select just one of the remaining matching routes. The packet
# is then forwarded as specified by the nextHop field of the winning route - # is then forwarded as specified by the nextHop field of the winning route -
# either to another instance destination, a instance gateway or a Google Compute # either to another instance destination, a instance gateway or a Google Compute
# Engine-operated gateway. # Engine-operated gateway.
@ -6153,7 +6169,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -6284,7 +6300,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -6310,7 +6326,7 @@ module Google
end end
end end
# Contains a list of route resources. # Contains a list of Route resources.
class RouteList class RouteList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -6978,7 +6994,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -7062,7 +7078,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -7152,8 +7168,8 @@ module Google
class TargetHttpsProxiesSetSslCertificatesRequest class TargetHttpsProxiesSetSslCertificatesRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# New set of URLs to SslCertificate resources to associate with this # New set of SslCertificate resources to associate with this TargetHttpsProxy
# TargetHttpProxy. Currently exactly one SSL certificate must be specified. # resource. Currently exactly one SslCertificate resource must be specified.
# Corresponds to the JSON property `sslCertificates` # Corresponds to the JSON property `sslCertificates`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :ssl_certificates attr_accessor :ssl_certificates
@ -7189,7 +7205,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
# [Output Only] Type of the resource. Always compute#targetHttpsProxy for target # [Output Only] Type of resource. Always compute#targetHttpsProxy for target
# HTTPS proxies. # HTTPS proxies.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
@ -7259,7 +7275,8 @@ module Google
# @return [Array<Google::Apis::ComputeV1::TargetHttpsProxy>] # @return [Array<Google::Apis::ComputeV1::TargetHttpsProxy>]
attr_accessor :items attr_accessor :items
# Type of resource. # Type of resource. Always compute#targetHttpsProxyList for lists of target
# HTTPS proxies.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
@ -7536,7 +7553,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -7957,7 +7974,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -8036,7 +8053,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -8256,7 +8273,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -8673,7 +8690,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :local_traffic_selector attr_accessor :local_traffic_selector
# Name of the resource; provided by the client when the resource is created. The # 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 comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a- # 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, # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
@ -8714,8 +8731,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :status attr_accessor :status
# URL of the VPN gateway to which this VPN tunnel is associated. Provided by the # URL of the VPN gateway with which this VPN tunnel is associated. Provided by
# client when the VPN tunnel is created. # the client when the VPN tunnel is created.
# Corresponds to the JSON property `targetVpnGateway` # Corresponds to the JSON property `targetVpnGateway`
# @return [String] # @return [String]
attr_accessor :target_vpn_gateway attr_accessor :target_vpn_gateway
@ -8905,7 +8922,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).

File diff suppressed because it is too large Load Diff

View File

@ -20,13 +20,13 @@ module Google
module Apis module Apis
# Content API for Shopping # Content API for Shopping
# #
# Manage product items, inventory, and Merchant Center accounts for Google # Manages product items, inventory, and Merchant Center accounts for Google
# Shopping. # Shopping.
# #
# @see https://developers.google.com/shopping-content # @see https://developers.google.com/shopping-content
module ContentV2 module ContentV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20160204' REVISION = '20160303'
# Manage your product listings and accounts for Google Shopping # Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content' AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -1611,6 +1611,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :hour attr_accessor :hour
# The minute of the hour the feed file should be fetched (0-59). Read-only.
# Corresponds to the JSON property `minuteOfHour`
# @return [Fixnum]
attr_accessor :minute_of_hour
# An optional password for fetch_url. # An optional password for fetch_url.
# Corresponds to the JSON property `password` # Corresponds to the JSON property `password`
# @return [String] # @return [String]
@ -1640,6 +1645,7 @@ module Google
@day_of_month = args[:day_of_month] if args.key?(:day_of_month) @day_of_month = args[:day_of_month] if args.key?(:day_of_month)
@fetch_url = args[:fetch_url] if args.key?(:fetch_url) @fetch_url = args[:fetch_url] if args.key?(:fetch_url)
@hour = args[:hour] if args.key?(:hour) @hour = args[:hour] if args.key?(:hour)
@minute_of_hour = args[:minute_of_hour] if args.key?(:minute_of_hour)
@password = args[:password] if args.key?(:password) @password = args[:password] if args.key?(:password)
@time_zone = args[:time_zone] if args.key?(:time_zone) @time_zone = args[:time_zone] if args.key?(:time_zone)
@username = args[:username] if args.key?(:username) @username = args[:username] if args.key?(:username)

View File

@ -1366,6 +1366,7 @@ module Google
property :day_of_month, as: 'dayOfMonth' property :day_of_month, as: 'dayOfMonth'
property :fetch_url, as: 'fetchUrl' property :fetch_url, as: 'fetchUrl'
property :hour, as: 'hour' property :hour, as: 'hour'
property :minute_of_hour, as: 'minuteOfHour'
property :password, as: 'password' property :password, as: 'password'
property :time_zone, as: 'timeZone' property :time_zone, as: 'timeZone'
property :username, as: 'username' property :username, as: 'username'

View File

@ -22,7 +22,7 @@ module Google
module ContentV2 module ContentV2
# Content API for Shopping # Content API for Shopping
# #
# Manage product items, inventory, and Merchant Center accounts for Google # Manages product items, inventory, and Merchant Center accounts for Google
# Shopping. # Shopping.
# #
# @example # @example

View File

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

View File

@ -462,7 +462,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :insert_time attr_accessor :insert_time
# [Output Only] Type of the resource. Always compute#operation for Operation # [Output Only] Type of the resource. Always compute#operation for operation
# resources. # resources.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
@ -603,7 +603,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :code attr_accessor :code
# [Output Only] Indicates the field in the request which caused the error. This # [Output Only] Indicates the field in the request that caused the error. This
# property is optional. # property is optional.
# Corresponds to the JSON property `location` # Corresponds to the JSON property `location`
# @return [String] # @return [String]
@ -666,7 +666,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -841,7 +841,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).
@ -954,7 +954,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :code attr_accessor :code
# [Output Only] Indicates the field in the request which caused the error. This # [Output Only] Indicates the field in the request that caused the error. This
# property is optional. # property is optional.
# Corresponds to the JSON property `location` # Corresponds to the JSON property `location`
# @return [String] # @return [String]
@ -1017,7 +1017,7 @@ module Google
# [Output Only] A key that provides more detail on the warning being returned. # [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a # For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone # particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource, and a # name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for # suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled # example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding). # for IP forwarding).

View File

@ -232,7 +232,7 @@ module Google
# filtering by (string, number, boolean). For string fields, the literal value # filtering by (string, number, boolean). For string fields, the literal value
# is interpreted as a regular expression using RE2 syntax. The literal value # is interpreted as a regular expression using RE2 syntax. The literal value
# must match the entire field. # must match the entire field.
# For example, to filter for instances whose name is not equal to example- # For example, to filter for instances that do not have a name of example-
# instance, you would use filter=name ne example-instance. # instance, you would use filter=name ne example-instance.
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can # Compute Engine Beta API Only: If you use filtering in the Beta API, you can
# also filter on nested fields. For example, you could filter on instances that # also filter on nested fields. For example, you could filter on instances that
@ -242,7 +242,7 @@ module Google
# The Beta API also supports filtering on multiple expressions by providing each # The Beta API also supports filtering on multiple expressions by providing each
# separate expression within parentheses. For example, (scheduling. # separate expression within parentheses. For example, (scheduling.
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
# treated as AND expressions meaning that resources must match all expressions # treated as AND expressions, meaning that resources must match all expressions
# to pass the filters. # to pass the filters.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number # The maximum number of results per page that should be returned. If the number
@ -504,7 +504,7 @@ module Google
# filtering by (string, number, boolean). For string fields, the literal value # filtering by (string, number, boolean). For string fields, the literal value
# is interpreted as a regular expression using RE2 syntax. The literal value # is interpreted as a regular expression using RE2 syntax. The literal value
# must match the entire field. # must match the entire field.
# For example, to filter for instances whose name is not equal to example- # For example, to filter for instances that do not have a name of example-
# instance, you would use filter=name ne example-instance. # instance, you would use filter=name ne example-instance.
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can # Compute Engine Beta API Only: If you use filtering in the Beta API, you can
# also filter on nested fields. For example, you could filter on instances that # also filter on nested fields. For example, you could filter on instances that
@ -514,7 +514,7 @@ module Google
# The Beta API also supports filtering on multiple expressions by providing each # The Beta API also supports filtering on multiple expressions by providing each
# separate expression within parentheses. For example, (scheduling. # separate expression within parentheses. For example, (scheduling.
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
# treated as AND expressions meaning that resources must match all expressions # treated as AND expressions, meaning that resources must match all expressions
# to pass the filters. # to pass the filters.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number # The maximum number of results per page that should be returned. If the number
@ -612,7 +612,7 @@ module Google
# filtering by (string, number, boolean). For string fields, the literal value # filtering by (string, number, boolean). For string fields, the literal value
# is interpreted as a regular expression using RE2 syntax. The literal value # is interpreted as a regular expression using RE2 syntax. The literal value
# must match the entire field. # must match the entire field.
# For example, to filter for instances whose name is not equal to example- # For example, to filter for instances that do not have a name of example-
# instance, you would use filter=name ne example-instance. # instance, you would use filter=name ne example-instance.
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can # Compute Engine Beta API Only: If you use filtering in the Beta API, you can
# also filter on nested fields. For example, you could filter on instances that # also filter on nested fields. For example, you could filter on instances that
@ -622,7 +622,7 @@ module Google
# The Beta API also supports filtering on multiple expressions by providing each # The Beta API also supports filtering on multiple expressions by providing each
# separate expression within parentheses. For example, (scheduling. # separate expression within parentheses. For example, (scheduling.
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
# treated as AND expressions meaning that resources must match all expressions # treated as AND expressions, meaning that resources must match all expressions
# to pass the filters. # to pass the filters.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number # The maximum number of results per page that should be returned. If the number
@ -724,7 +724,7 @@ module Google
# filtering by (string, number, boolean). For string fields, the literal value # filtering by (string, number, boolean). For string fields, the literal value
# is interpreted as a regular expression using RE2 syntax. The literal value # is interpreted as a regular expression using RE2 syntax. The literal value
# must match the entire field. # must match the entire field.
# For example, to filter for instances whose name is not equal to example- # For example, to filter for instances that do not have a name of example-
# instance, you would use filter=name ne example-instance. # instance, you would use filter=name ne example-instance.
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can # Compute Engine Beta API Only: If you use filtering in the Beta API, you can
# also filter on nested fields. For example, you could filter on instances that # also filter on nested fields. For example, you could filter on instances that
@ -734,7 +734,7 @@ module Google
# The Beta API also supports filtering on multiple expressions by providing each # The Beta API also supports filtering on multiple expressions by providing each
# separate expression within parentheses. For example, (scheduling. # separate expression within parentheses. For example, (scheduling.
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
# treated as AND expressions meaning that resources must match all expressions # treated as AND expressions, meaning that resources must match all expressions
# to pass the filters. # to pass the filters.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number # The maximum number of results per page that should be returned. If the number
@ -794,7 +794,7 @@ module Google
# filtering by (string, number, boolean). For string fields, the literal value # filtering by (string, number, boolean). For string fields, the literal value
# is interpreted as a regular expression using RE2 syntax. The literal value # is interpreted as a regular expression using RE2 syntax. The literal value
# must match the entire field. # must match the entire field.
# For example, to filter for instances whose name is not equal to example- # For example, to filter for instances that do not have a name of example-
# instance, you would use filter=name ne example-instance. # instance, you would use filter=name ne example-instance.
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can # Compute Engine Beta API Only: If you use filtering in the Beta API, you can
# also filter on nested fields. For example, you could filter on instances that # also filter on nested fields. For example, you could filter on instances that
@ -804,7 +804,7 @@ module Google
# The Beta API also supports filtering on multiple expressions by providing each # The Beta API also supports filtering on multiple expressions by providing each
# separate expression within parentheses. For example, (scheduling. # separate expression within parentheses. For example, (scheduling.
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
# treated as AND expressions meaning that resources must match all expressions # treated as AND expressions, meaning that resources must match all expressions
# to pass the filters. # to pass the filters.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number # The maximum number of results per page that should be returned. If the number

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/bid-manager/ # @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1 module DoubleclickbidmanagerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20160120' REVISION = '20160225'
end end
end end
end end

View File

@ -20,13 +20,13 @@ module Google
module Apis module Apis
# DoubleClick Search API # DoubleClick Search API
# #
# Report and modify your advertising data in DoubleClick Search (for example, # Reports and modifies your advertising data in DoubleClick Search (for example,
# campaigns, ad groups, keywords, and conversions). # campaigns, ad groups, keywords, and conversions).
# #
# @see https://developers.google.com/doubleclick-search/ # @see https://developers.google.com/doubleclick-search/
module DoubleclicksearchV2 module DoubleclicksearchV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20160217' REVISION = '20160302'
# View and manage your advertising data in DoubleClick Search # View and manage your advertising data in DoubleClick Search
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch' AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'

View File

@ -22,7 +22,7 @@ module Google
module DoubleclicksearchV2 module DoubleclicksearchV2
# DoubleClick Search API # DoubleClick Search API
# #
# Report and modify your advertising data in DoubleClick Search (for example, # Reports and modifies your advertising data in DoubleClick Search (for example,
# campaigns, ad groups, keywords, and conversions). # campaigns, ad groups, keywords, and conversions).
# #
# @example # @example

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -172,8 +172,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Whether the the current steps for the achievement has reached the number of # Whether the current steps for the achievement has reached the number of steps
# steps required to unlock. # required to unlock.
# Corresponds to the JSON property `newlyUnlocked` # Corresponds to the JSON property `newlyUnlocked`
# @return [Boolean] # @return [Boolean]
attr_accessor :newly_unlocked attr_accessor :newly_unlocked
@ -650,6 +650,12 @@ module Google
class ApplicationVerifyResponse class ApplicationVerifyResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# An alternate ID that was once used for the player that was issued the auth
# token used in this request. (This field is not normally populated.)
# Corresponds to the JSON property `alternate_player_id`
# @return [String]
attr_accessor :alternate_player_id
# Uniquely identifies the type of this resource. Value is always the fixed # Uniquely identifies the type of this resource. Value is always the fixed
# string games#applicationVerifyResponse. # string games#applicationVerifyResponse.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
@ -667,6 +673,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@alternate_player_id = args[:alternate_player_id] if args.key?(:alternate_player_id)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@player_id = args[:player_id] if args.key?(:player_id) @player_id = args[:player_id] if args.key?(:player_id)
end end

View File

@ -776,6 +776,7 @@ module Google
class ApplicationVerifyResponse class ApplicationVerifyResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :alternate_player_id, as: 'alternate_player_id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :player_id, as: 'player_id' property :player_id, as: 'player_id'
end end

View File

@ -20,15 +20,14 @@ module Google
module Apis module Apis
# Genomics API # Genomics API
# #
# An API to store, process, explore, and share genomic data. It supports # Stores, processes, explores and shares genomic data. This API implements the
# reference-based alignments, genetic variants, and reference genomes. This API # Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
# provides an implementation of the Global Alliance for Genomics and Health ( # extensions.
# GA4GH) v0.5.1 API as well as several extensions.
# #
# @see # @see
module GenomicsV1 module GenomicsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20160219' REVISION = '20160309'
# View and manage your data in Google BigQuery # View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -1373,6 +1373,30 @@ module Google
# @return [String] # @return [String]
attr_accessor :end attr_accessor :end
# Restricts results to a shard containing approximately `1/totalShards` of the
# normal response payload for this query. Results from a sharded request are
# disjoint from those returned by all queries which differ only in their shard
# parameter. A shard may yield 0 results; this is especially likely for large
# values of `totalShards`. Valid values are `[0, totalShards)`.
# Corresponds to the JSON property `shard`
# @return [Fixnum]
attr_accessor :shard
# Specifying `totalShards` causes a disjoint subset of the normal response
# payload to be returned for each query with a unique `shard` parameter
# specified. A best effort is made to yield equally sized shards. Sharding can
# be used to distribute processing amongst workers, where each worker is
# assigned a unique `shard` number and all workers specify the same `totalShards`
# number. The union of reads returned for all sharded queries `[0, totalShards)`
# is equal to those returned by a single unsharded query. Queries for different
# values of `totalShards` with common divisors will share shard boundaries. For
# example, streaming `shard` 2 of 5 `totalShards` yields the same results as
# streaming `shard`s 4 and 5 of 10 `totalShards`. This property can be leveraged
# for adaptive retries.
# Corresponds to the JSON property `totalShards`
# @return [Fixnum]
attr_accessor :total_shards
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -1384,6 +1408,8 @@ module Google
@reference_name = args[:reference_name] if args.key?(:reference_name) @reference_name = args[:reference_name] if args.key?(:reference_name)
@start = args[:start] if args.key?(:start) @start = args[:start] if args.key?(:start)
@end = args[:end] if args.key?(:end) @end = args[:end] if args.key?(:end)
@shard = args[:shard] if args.key?(:shard)
@total_shards = args[:total_shards] if args.key?(:total_shards)
end end
end end
@ -2312,6 +2338,31 @@ module Google
end end
end end
#
class MergeVariantsRequest
include Google::Apis::Core::Hashable
# The destination variant set.
# Corresponds to the JSON property `variantSetId`
# @return [String]
attr_accessor :variant_set_id
# The variants to be merged with existing variants.
# Corresponds to the JSON property `variants`
# @return [Array<Google::Apis::GenomicsV1::Variant>]
attr_accessor :variants
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
@variants = args[:variants] if args.key?(:variants)
end
end
# The call set search request. # The call set search request.
class SearchCallSetsRequest class SearchCallSetsRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -328,6 +328,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class MergeVariantsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SearchCallSetsRequest class SearchCallSetsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -710,6 +716,8 @@ module Google
property :reference_name, as: 'referenceName' property :reference_name, as: 'referenceName'
property :start, as: 'start' property :start, as: 'start'
property :end, as: 'end' property :end, as: 'end'
property :shard, as: 'shard'
property :total_shards, as: 'totalShards'
end end
end end
@ -938,6 +946,15 @@ module Google
end end
end end
class MergeVariantsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :variant_set_id, as: 'variantSetId'
collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation
end
end
class SearchCallSetsRequest class SearchCallSetsRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -22,10 +22,9 @@ module Google
module GenomicsV1 module GenomicsV1
# Genomics API # Genomics API
# #
# An API to store, process, explore, and share genomic data. It supports # Stores, processes, explores and shares genomic data. This API implements the
# reference-based alignments, genetic variants, and reference genomes. This API # Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
# provides an implementation of the Global Alliance for Genomics and Health ( # extensions.
# GA4GH) v0.5.1 API as well as several extensions.
# #
# @example # @example
# require 'google/apis/genomics_v1' # require 'google/apis/genomics_v1'
@ -1254,6 +1253,43 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Merges the given variants with existing variants. For the definitions of
# variants and other genomics resources, see [Fundamentals of Google Genomics](
# https://cloud.google.com/genomics/fundamentals-of-google-genomics) Each
# variant will be merged with an existing variant that matches its reference
# sequence, start, end, reference bases, and alternative bases. If no such
# variant exists, a new one will be created. When variants are merged, the call
# information from the new variant is added to the existing variant, and other
# fields (such as key/value pairs) are discarded.
# @param [Google::Apis::GenomicsV1::MergeVariantsRequest] merge_variants_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::GenomicsV1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def merge_variants(merge_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/variants:merge', options)
command.request_representation = Google::Apis::GenomicsV1::MergeVariantsRequest::Representation
command.request_object = merge_variants_request_object
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
command.response_class = Google::Apis::GenomicsV1::Empty
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns a stream of all the variants matching the search request, ordered by # Returns a stream of all the variants matching the search request, ordered by
# reference name, position, and ID. # reference name, position, and ID.
# @param [Google::Apis::GenomicsV1::StreamVariantsRequest] stream_variants_request_object # @param [Google::Apis::GenomicsV1::StreamVariantsRequest] stream_variants_request_object
@ -1421,10 +1457,10 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Deletes the contents of a variant set. The variant set object is not deleted. # Deletes a variant set including all variants, call sets, and calls within.
# For the definitions of variant sets and other genomics resources, see [ # This is not reversible. For the definitions of variant sets and other genomics
# Fundamentals of Google Genomics](https://cloud.google.com/genomics/ # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
# fundamentals-of-google-genomics) # genomics/fundamentals-of-google-genomics)
# @param [String] variant_set_id # @param [String] variant_set_id
# The ID of the variant set to be deleted. # The ID of the variant set to be deleted.
# @param [String] fields # @param [String] fields

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Gmail API # Gmail API
# #
# The Gmail REST API. # Access Gmail mailboxes including sending user email.
# #
# @see https://developers.google.com/gmail/api/ # @see https://developers.google.com/gmail/api/
module GmailV1 module GmailV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20151214' REVISION = '20160301'
# View and manage your mail # View and manage your mail
AUTH_SCOPE = 'https://mail.google.com/' AUTH_SCOPE = 'https://mail.google.com/'

View File

@ -22,6 +22,25 @@ module Google
module Apis module Apis
module GmailV1 module GmailV1
#
class BatchDeleteMessagesRequest
include Google::Apis::Core::Hashable
# The IDs of the messages to delete.
# Corresponds to the JSON property `ids`
# @return [Array<String>]
attr_accessor :ids
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ids = args[:ids] if args.key?(:ids)
end
end
# A draft email in the user's mailbox. # A draft email in the user's mailbox.
class Draft class Draft
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -22,6 +22,12 @@ module Google
module Apis module Apis
module GmailV1 module GmailV1
class BatchDeleteMessagesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Draft class Draft
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -154,6 +160,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class BatchDeleteMessagesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :ids, as: 'ids'
end
end
class Draft class Draft
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -22,7 +22,7 @@ module Google
module GmailV1 module GmailV1
# Gmail API # Gmail API
# #
# The Gmail REST API. # Access Gmail mailboxes including sending user email.
# #
# @example # @example
# require 'google/apis/gmail_v1' # require 'google/apis/gmail_v1'
@ -294,6 +294,8 @@ module Google
# @param [String] user_id # @param [String] user_id
# The user's email address. The special value me can be used to indicate the # The user's email address. The special value me can be used to indicate the
# authenticated user. # authenticated user.
# @param [Boolean] include_spam_trash
# Include drafts from SPAM and TRASH in the results.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# Maximum number of drafts to return. # Maximum number of drafts to return.
# @param [String] page_token # @param [String] page_token
@ -319,11 +321,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_user_drafts(user_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def list_user_drafts(user_id, include_spam_trash: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{userId}/drafts', options) command = make_simple_command(:get, '{userId}/drafts', options)
command.response_representation = Google::Apis::GmailV1::ListDraftsResponse::Representation command.response_representation = Google::Apis::GmailV1::ListDraftsResponse::Representation
command.response_class = Google::Apis::GmailV1::ListDraftsResponse command.response_class = Google::Apis::GmailV1::ListDraftsResponse
command.params['userId'] = user_id unless user_id.nil? command.params['userId'] = user_id unless user_id.nil?
command.query['includeSpamTrash'] = include_spam_trash unless include_spam_trash.nil?
command.query['maxResults'] = max_results unless max_results.nil? command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -728,6 +731,44 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Deletes many messages by message ID. Provides no guarantees that messages were
# not already deleted or even existed at all.
# @param [String] user_id
# The user's email address. The special value me can be used to indicate the
# authenticated user.
# @param [Google::Apis::GmailV1::BatchDeleteMessagesRequest] batch_delete_messages_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 [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_delete_messages(user_id, batch_delete_messages_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{userId}/messages/batchDelete', options)
command.request_representation = Google::Apis::GmailV1::BatchDeleteMessagesRequest::Representation
command.request_object = batch_delete_messages_request_object
command.params['userId'] = user_id unless user_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Immediately and permanently deletes the specified message. This operation # Immediately and permanently deletes the specified message. This operation
# cannot be undone. Prefer messages.trash instead. # cannot be undone. Prefer messages.trash instead.
# @param [String] user_id # @param [String] user_id

View File

@ -0,0 +1,36 @@
# 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/iam_v1/service.rb'
require 'google/apis/iam_v1/classes.rb'
require 'google/apis/iam_v1/representations.rb'
module Google
module Apis
# Google Identity and Access Management API
#
# Manages identity and access control for Google Cloud Platform resources,
# including the creation of service accounts, which you can use to authenticate
# to Google and make API calls.
#
# @see https://cloud.google.com/iam/
module IamV1
VERSION = 'V1'
REVISION = '20160129'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
end
end
end

View File

@ -0,0 +1,665 @@
# 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 IamV1
# The service account list response.
class ListServiceAccountsResponse
include Google::Apis::Core::Hashable
# The list of matching service accounts.
# Corresponds to the JSON property `accounts`
# @return [Array<Google::Apis::IamV1::ServiceAccount>]
attr_accessor :accounts
# To retrieve the next page of results, set [ListServiceAccountsRequest.
# page_token] to this value.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@accounts = args[:accounts] if args.key?(:accounts)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# A service account in the Identity and Access Management API. To create a
# service account, you specify the project_id and account_id for the account.
# The account_id is unique within the project, and used to generate the service
# account email address and a stable unique id. All other methods can identify
# accounts using the format "projects/`project`/serviceAccounts/`account`".
# Using '-' as a wildcard for the project, will infer the project from the
# account. The account value can be the email address or the unique_id of the
# service account.
class ServiceAccount
include Google::Apis::Core::Hashable
# The resource name of the service account in the format "projects/`project`/
# serviceAccounts/`account`". In requests using '-' as a wildcard for the
# project, will infer the project from the account and the account value can be
# the email address or the unique_id of the service account. In responses the
# resource name will always be in the format "projects/`project`/serviceAccounts/
# `email`".
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# @OutputOnly The id of the project that owns the service account.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# @OutputOnly unique and stable id of the service account.
# Corresponds to the JSON property `uniqueId`
# @return [String]
attr_accessor :unique_id
# @OutputOnly Email address of the service account.
# Corresponds to the JSON property `email`
# @return [String]
attr_accessor :email
# Optional. A user-specified description of the service account. Must be fewer
# than 100 UTF-8 bytes.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Used to perform a consistent read-modify-write.
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# @OutputOnly. The OAuth2 client id for the service account. This is used in
# conjunction with the OAuth2 clientconfig API to make three legged OAuth2 (3LO)
# flows to access the data of Google users.
# Corresponds to the JSON property `oauth2ClientId`
# @return [String]
attr_accessor :oauth2_client_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@project_id = args[:project_id] if args.key?(:project_id)
@unique_id = args[:unique_id] if args.key?(:unique_id)
@email = args[:email] if args.key?(:email)
@display_name = args[:display_name] if args.key?(:display_name)
@etag = args[:etag] if args.key?(:etag)
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
end
end
# The service account create request.
class CreateServiceAccountRequest
include Google::Apis::Core::Hashable
# Required. The account id that is used to generate the service account email
# address and a stable unique id. It is unique within a project, must be 1-63
# characters long, and match the regular expression [a-z]([-a-z0-9]*[a-z0-9]) to
# comply with RFC1035.
# Corresponds to the JSON property `accountId`
# @return [String]
attr_accessor :account_id
# A service account in the Identity and Access Management API. To create a
# service account, you specify the project_id and account_id for the account.
# The account_id is unique within the project, and used to generate the service
# account email address and a stable unique id. All other methods can identify
# accounts using the format "projects/`project`/serviceAccounts/`account`".
# Using '-' as a wildcard for the project, will infer the project from the
# account. The account value can be the email address or the unique_id of the
# service account.
# Corresponds to the JSON property `serviceAccount`
# @return [Google::Apis::IamV1::ServiceAccount]
attr_accessor :service_account
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@account_id = args[:account_id] if args.key?(:account_id)
@service_account = args[:service_account] if args.key?(:service_account)
end
end
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The service account keys list response.
class ListServiceAccountKeysResponse
include Google::Apis::Core::Hashable
# The public keys for the service account.
# Corresponds to the JSON property `keys`
# @return [Array<Google::Apis::IamV1::ServiceAccountKey>]
attr_accessor :keys
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@keys = args[:keys] if args.key?(:keys)
end
end
# Represents a service account key. A service account can have 0 or more key
# pairs. The private keys for these are not stored by Google. ServiceAccountKeys
# are immutable.
class ServiceAccountKey
include Google::Apis::Core::Hashable
# The resource name of the service account key in the format "projects/`project`/
# serviceAccounts/`email`/keys/`key`".
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The type of the private key.
# Corresponds to the JSON property `privateKeyType`
# @return [String]
attr_accessor :private_key_type
# The key data.
# Corresponds to the JSON property `privateKeyData`
# @return [String]
attr_accessor :private_key_data
# The key can be used after this timestamp.
# Corresponds to the JSON property `validAfterTime`
# @return [String]
attr_accessor :valid_after_time
# The key can be used before this timestamp.
# Corresponds to the JSON property `validBeforeTime`
# @return [String]
attr_accessor :valid_before_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@private_key_type = args[:private_key_type] if args.key?(:private_key_type)
@private_key_data = args[:private_key_data] if args.key?(:private_key_data)
@valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time)
@valid_before_time = args[:valid_before_time] if args.key?(:valid_before_time)
end
end
# The service account key create request.
class CreateServiceAccountKeyRequest
include Google::Apis::Core::Hashable
# The type of the key requested. GOOGLE_CREDENTIALS is the default key type.
# Corresponds to the JSON property `privateKeyType`
# @return [String]
attr_accessor :private_key_type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@private_key_type = args[:private_key_type] if args.key?(:private_key_type)
end
end
# The service account sign blob request.
class SignBlobRequest
include Google::Apis::Core::Hashable
# The bytes to sign
# Corresponds to the JSON property `bytesToSign`
# @return [String]
attr_accessor :bytes_to_sign
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign)
end
end
# The service account sign blob response.
class SignBlobResponse
include Google::Apis::Core::Hashable
# The id of the key used to sign the blob.
# Corresponds to the JSON property `keyId`
# @return [String]
attr_accessor :key_id
# The signed blob.
# Corresponds to the JSON property `signature`
# @return [String]
attr_accessor :signature
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key_id = args[:key_id] if args.key?(:key_id)
@signature = args[:signature] if args.key?(:signature)
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. A `Policy` consists of a
# list of `bindings`. A `Binding` binds a list of `members` to a `role`, where
# the members can be user accounts, Google groups, Google domains, and service
# accounts. A `role` is a named list of permissions defined by IAM. **Example** `
# "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] ` For a description of IAM and its features, see the [
# IAM developer's guide](https://cloud.google.com/iam).
class Policy
include Google::Apis::Core::Hashable
# Version of the `Policy`. The default version is 0.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
# Associates a list of `members` to a `role`. Multiple `bindings` must not be
# specified for the same `role`. `bindings` with no members will result in an
# error.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::IamV1::Binding>]
attr_accessor :bindings
#
# Corresponds to the JSON property `rules`
# @return [Array<Google::Apis::IamV1::Rule>]
attr_accessor :rules
# `etag` is used for optimistic concurrency control as a way to help prevent
# simultaneous updates of a policy from overwriting each other. It is strongly
# suggested that systems make use of the `etag` in the read-modify-write cycle
# to perform policy updates in order to avoid race conditions: An `etag` is
# returned in the response to `getIamPolicy`, and systems are expected to put
# that etag in the request to `setIamPolicy` to ensure that their change will be
# applied to the same version of the policy. If no `etag` is provided in the
# call to `setIamPolicy`, then the existing policy is overwritten blindly.
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
@bindings = args[:bindings] if args.key?(:bindings)
@rules = args[:rules] if args.key?(:rules)
@etag = args[:etag] if args.key?(:etag)
end
end
# Associates `members` with a `role`.
class Binding
include Google::Apis::Core::Hashable
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
# , or `roles/owner`. Required
# Corresponds to the JSON property `role`
# @return [String]
attr_accessor :role
# Specifies the identities requesting access for a Cloud Platform resource. `
# members` can have the following values: * `allUsers`: A special identifier
# that represents anyone who is on the internet; with or without a Google
# account. * `allAuthenticatedUsers`: A special identifier that represents
# anyone who is authenticated with a Google account or a service account. * `
# user:`emailid``: An email address that represents a specific Google account.
# For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:`
# emailid``: An email address that represents a service account. For example, `
# my-other-app@appspot.gserviceaccount.com`. * `group:`emailid``: An email
# address that represents a Google group. For example, `admins@example.com`. * `
# domain:`domain``: A Google Apps domain name that represents all the users of
# that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]
attr_accessor :members
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@role = args[:role] if args.key?(:role)
@members = args[:members] if args.key?(:members)
end
end
# A rule to be applied in a Policy.
class Rule
include Google::Apis::Core::Hashable
# Human-readable description of the rule.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value
# of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.
# *') matches all verbs.
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
# Required
# Corresponds to the JSON property `action`
# @return [String]
attr_accessor :action
# The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.
# Corresponds to the JSON property `in`
# @return [Array<String>]
attr_accessor :in
# The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of
# entries. The format for in and not_in entries is the same as for members in a
# Binding (see google/iam/v1/policy.proto).
# Corresponds to the JSON property `notIn`
# @return [Array<String>]
attr_accessor :not_in
# Additional restrictions that must be met
# Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::IamV1::Condition>]
attr_accessor :conditions
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
# that match the LOG action.
# Corresponds to the JSON property `logConfig`
# @return [Array<Google::Apis::IamV1::LogConfig>]
attr_accessor :log_config
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@permissions = args[:permissions] if args.key?(:permissions)
@action = args[:action] if args.key?(:action)
@in = args[:in] if args.key?(:in)
@not_in = args[:not_in] if args.key?(:not_in)
@conditions = args[:conditions] if args.key?(:conditions)
@log_config = args[:log_config] if args.key?(:log_config)
end
end
# A condition to be met.
class Condition
include Google::Apis::Core::Hashable
# Trusted attributes supplied by the IAM system.
# Corresponds to the JSON property `iam`
# @return [String]
attr_accessor :iam
# Trusted attributes supplied by any service that owns resources and uses the
# IAM system for access control.
# Corresponds to the JSON property `sys`
# @return [String]
attr_accessor :sys
# Trusted attributes discharged by the service.
# Corresponds to the JSON property `svc`
# @return [String]
attr_accessor :svc
# An operator to apply the subject with.
# Corresponds to the JSON property `op`
# @return [String]
attr_accessor :op
# The object of the condition. Exactly one of these must be set.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
# The objects of the condition. This is mutually exclusive with 'value'.
# Corresponds to the JSON property `values`
# @return [Array<String>]
attr_accessor :values
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@iam = args[:iam] if args.key?(:iam)
@sys = args[:sys] if args.key?(:sys)
@svc = args[:svc] if args.key?(:svc)
@op = args[:op] if args.key?(:op)
@value = args[:value] if args.key?(:value)
@values = args[:values] if args.key?(:values)
end
end
# Specifies what kind of log the caller must write Increment a streamz counter
# with the specified metric and field names. Metric names should start with a '/'
# , generally be lowercase-only, and end in "_count". Field names should not
# contain an initial slash. The actual exported metric names will have "/iam/
# policy" prepended. Field names correspond to IAM request parameters and field
# values are their respective values. At present only "iam_principal",
# corresponding to IAMContext.principal, is supported. Examples: counter `
# metric: "/debug_access_count" field: "iam_principal" ` ==> increment counter /
# iam/policy/backend_debug_access_count `iam_principal=[value of IAMContext.
# principal]` At this time we do not support: * multiple field names (though
# this may be supported in the future) * decrementing the counter * incrementing
# it by anything other than 1
class LogConfig
include Google::Apis::Core::Hashable
# Options for counters
# Corresponds to the JSON property `counter`
# @return [Google::Apis::IamV1::CounterOptions]
attr_accessor :counter
# Write a Data Access (Gin) log
# Corresponds to the JSON property `dataAccess`
# @return [Google::Apis::IamV1::DataAccessOptions]
attr_accessor :data_access
# Write a Cloud Audit log
# Corresponds to the JSON property `cloudAudit`
# @return [Google::Apis::IamV1::CloudAuditOptions]
attr_accessor :cloud_audit
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@counter = args[:counter] if args.key?(:counter)
@data_access = args[:data_access] if args.key?(:data_access)
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
end
end
# Options for counters
class CounterOptions
include Google::Apis::Core::Hashable
# The metric to update.
# Corresponds to the JSON property `metric`
# @return [String]
attr_accessor :metric
# The field value to attribute.
# Corresponds to the JSON property `field`
# @return [String]
attr_accessor :field
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@metric = args[:metric] if args.key?(:metric)
@field = args[:field] if args.key?(:field)
end
end
# Write a Data Access (Gin) log
class DataAccessOptions
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Write a Cloud Audit log
class CloudAuditOptions
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Request message for `SetIamPolicy` method.
class SetIamPolicyRequest
include Google::Apis::Core::Hashable
# Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. A `Policy` consists of a
# list of `bindings`. A `Binding` binds a list of `members` to a `role`, where
# the members can be user accounts, Google groups, Google domains, and service
# accounts. A `role` is a named list of permissions defined by IAM. **Example** `
# "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] ` For a description of IAM and its features, see the [
# IAM developer's guide](https://cloud.google.com/iam).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::IamV1::Policy]
attr_accessor :policy
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@policy = args[:policy] if args.key?(:policy)
end
end
# Request message for `TestIamPermissions` method.
class TestIamPermissionsRequest
include Google::Apis::Core::Hashable
# The set of permissions to check for the `resource`. Permissions with wildcards
# (such as '*' or 'storage.*') are not allowed. For more information see IAM
# Overview.
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@permissions = args[:permissions] if args.key?(:permissions)
end
end
# Response message for `TestIamPermissions` method.
class TestIamPermissionsResponse
include Google::Apis::Core::Hashable
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@permissions = args[:permissions] if args.key?(:permissions)
end
end
end
end
end

View File

@ -0,0 +1,325 @@
# 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 IamV1
class ListServiceAccountsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ServiceAccount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateServiceAccountRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListServiceAccountKeysResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ServiceAccountKey
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateServiceAccountKeyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SignBlobRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SignBlobResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Binding
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Rule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Condition
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CounterOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataAccessOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CloudAuditOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestIamPermissionsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestIamPermissionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListServiceAccountsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ServiceAccount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :project_id, as: 'projectId'
property :unique_id, as: 'uniqueId'
property :email, as: 'email'
property :display_name, as: 'displayName'
property :etag, :base64 => true, as: 'etag'
property :oauth2_client_id, as: 'oauth2ClientId'
end
end
class CreateServiceAccountRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :account_id, as: 'accountId'
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class ListServiceAccountKeysResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :keys, as: 'keys', class: Google::Apis::IamV1::ServiceAccountKey, decorator: Google::Apis::IamV1::ServiceAccountKey::Representation
end
end
class ServiceAccountKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :private_key_type, as: 'privateKeyType'
property :private_key_data, :base64 => true, as: 'privateKeyData'
property :valid_after_time, as: 'validAfterTime'
property :valid_before_time, as: 'validBeforeTime'
end
end
class CreateServiceAccountKeyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :private_key_type, as: 'privateKeyType'
end
end
class SignBlobRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bytes_to_sign, :base64 => true, as: 'bytesToSign'
end
end
class SignBlobResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key_id, as: 'keyId'
property :signature, :base64 => true, as: 'signature'
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation
collection :rules, as: 'rules', class: Google::Apis::IamV1::Rule, decorator: Google::Apis::IamV1::Rule::Representation
property :etag, :base64 => true, as: 'etag'
end
end
class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :role, as: 'role'
collection :members, as: 'members'
end
end
class Rule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
collection :permissions, as: 'permissions'
property :action, as: 'action'
collection :in, as: 'in'
collection :not_in, as: 'notIn'
collection :conditions, as: 'conditions', class: Google::Apis::IamV1::Condition, decorator: Google::Apis::IamV1::Condition::Representation
collection :log_config, as: 'logConfig', class: Google::Apis::IamV1::LogConfig, decorator: Google::Apis::IamV1::LogConfig::Representation
end
end
class Condition
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :iam, as: 'iam'
property :sys, as: 'sys'
property :svc, as: 'svc'
property :op, as: 'op'
property :value, as: 'value'
collection :values, as: 'values'
end
end
class LogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :counter, as: 'counter', class: Google::Apis::IamV1::CounterOptions, decorator: Google::Apis::IamV1::CounterOptions::Representation
property :data_access, as: 'dataAccess', class: Google::Apis::IamV1::DataAccessOptions, decorator: Google::Apis::IamV1::DataAccessOptions::Representation
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::IamV1::CloudAuditOptions, decorator: Google::Apis::IamV1::CloudAuditOptions::Representation
end
end
class CounterOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :metric, as: 'metric'
property :field, as: 'field'
end
end
class DataAccessOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class CloudAuditOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class SetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation
end
end
class TestIamPermissionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :permissions, as: 'permissions'
end
end
class TestIamPermissionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :permissions, as: 'permissions'
end
end
end
end
end

View File

@ -0,0 +1,520 @@
# 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 IamV1
# Google Identity and Access Management API
#
# Manages identity and access control for Google Cloud Platform resources,
# including the creation of service accounts, which you can use to authenticate
# to Google and make API calls.
#
# @example
# require 'google/apis/iam_v1'
#
# Iam = Google::Apis::IamV1 # Alias the module
# service = Iam::IamService.new
#
# @see https://cloud.google.com/iam/
class IamService < 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://iam.googleapis.com/', '')
end
# Lists service accounts for a project.
# @param [String] name
# Required. The resource name of the project associated with the service
# accounts, such as "projects/123"
# @param [Fixnum] page_size
# Optional limit on the number of service accounts to include in the response.
# Further accounts can subsequently be obtained by including the [
# ListServiceAccountsResponse.next_page_token] in a subsequent request.
# @param [String] page_token
# Optional pagination token returned in an earlier [ListServiceAccountsResponse.
# next_page_token].
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::IamV1::ListServiceAccountsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::ListServiceAccountsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_service_accounts(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/serviceAccounts', options)
command.response_representation = Google::Apis::IamV1::ListServiceAccountsResponse::Representation
command.response_class = Google::Apis::IamV1::ListServiceAccountsResponse
command.params['name'] = name unless name.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets a ServiceAccount
# @param [String] name
# The resource name of the service account in the format "projects/`project`/
# serviceAccounts/`account`". Using '-' as a wildcard for the project, will
# infer the project from the account. The account value can be the email address
# or the unique_id of the service account.
# @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::IamV1::ServiceAccount] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::ServiceAccount]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
command.response_class = Google::Apis::IamV1::ServiceAccount
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a service account and returns it.
# @param [String] name
# Required. The resource name of the project associated with the service
# accounts, such as "projects/123"
# @param [Google::Apis::IamV1::CreateServiceAccountRequest] create_service_account_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::ServiceAccount]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_service_account(name, create_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}/serviceAccounts', options)
command.request_representation = Google::Apis::IamV1::CreateServiceAccountRequest::Representation
command.request_object = create_service_account_request_object
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
command.response_class = Google::Apis::IamV1::ServiceAccount
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
# Updates a service account. Currently, only the following fields are updatable:
# 'display_name' . The 'etag' is mandatory.
# @param [String] name
# The resource name of the service account in the format "projects/`project`/
# serviceAccounts/`account`". In requests using '-' as a wildcard for the
# project, will infer the project from the account and the account value can be
# the email address or the unique_id of the service account. In responses the
# resource name will always be in the format "projects/`project`/serviceAccounts/
# `email`".
# @param [Google::Apis::IamV1::ServiceAccount] service_account_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::ServiceAccount]
#
# @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_project_service_account(name, service_account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/{+name}', options)
command.request_representation = Google::Apis::IamV1::ServiceAccount::Representation
command.request_object = service_account_object
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
command.response_class = Google::Apis::IamV1::ServiceAccount
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a service acount.
# @param [String] name
# The resource name of the service account in the format "projects/`project`/
# serviceAccounts/`account`". Using '-' as a wildcard for the project, will
# infer the project from the account. The account value can be the email address
# or the unique_id of the service account.
# @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::IamV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::IamV1::Empty::Representation
command.response_class = Google::Apis::IamV1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Signs a blob using a service account.
# @param [String] name
# The resource name of the service account in the format "projects/`project`/
# serviceAccounts/`account`". Using '-' as a wildcard for the project, will
# infer the project from the account. The account value can be the email address
# or the unique_id of the service account.
# @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::IamV1::SignBlobResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::SignBlobResponse]
#
# @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 sign_service_account_blob(name, sign_blob_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:signBlob', options)
command.request_representation = Google::Apis::IamV1::SignBlobRequest::Representation
command.request_object = sign_blob_request_object
command.response_representation = Google::Apis::IamV1::SignBlobResponse::Representation
command.response_class = Google::Apis::IamV1::SignBlobResponse
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns the IAM access control policy for specified IAM resource.
# @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/*
# disk*`. The format for the path specified in this value is resource specific
# and is specified in the `getIamPolicy` documentation.
# @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::IamV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::Policy]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_service_account_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::IamV1::Policy::Representation
command.response_class = Google::Apis::IamV1::Policy
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets the IAM access control policy for the specified IAM resource.
# @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/*
# disk*`. The format for the path specified in this value is resource specific
# and is specified in the `setIamPolicy` documentation.
# @param [Google::Apis::IamV1::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::IamV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::Policy]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_service_account_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::IamV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::IamV1::Policy::Representation
command.response_class = Google::Apis::IamV1::Policy
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Tests the specified permissions against the IAM access control policy for the
# specified IAM resource.
# @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/*
# zone*/disks/*disk*`. The format for the path specified in this value is
# resource specific and is specified in the `testIamPermissions` documentation.
# @param [Google::Apis::IamV1::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::IamV1::TestIamPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::TestIamPermissionsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_service_account_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::IamV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::IamV1::TestIamPermissionsResponse::Representation
command.response_class = Google::Apis::IamV1::TestIamPermissionsResponse
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists service account keys
# @param [String] name
# The resource name of the service account in the format "projects/`project`/
# serviceAccounts/`account`". Using '-' as a wildcard for the project, will
# infer the project from the account. The account value can be the email address
# or the unique_id of the service account.
# @param [Array<String>, String] key_types
# The type of keys the user wants to list. If empty, all key types are included
# in the response. Duplicate key types are not allowed.
# @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::IamV1::ListServiceAccountKeysResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::ListServiceAccountKeysResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_service_account_keys(name, key_types: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/keys', options)
command.response_representation = Google::Apis::IamV1::ListServiceAccountKeysResponse::Representation
command.response_class = Google::Apis::IamV1::ListServiceAccountKeysResponse
command.params['name'] = name unless name.nil?
command.query['keyTypes'] = key_types unless key_types.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the ServiceAccountKey by key id.
# @param [String] name
# The resource name of the service account key in the format "projects/`project`/
# serviceAccounts/`account`/keys/`key`". Using '-' as a wildcard for the project
# will infer the project from the account. The account value can be the email
# address or the unique_id of the service account.
# @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::IamV1::ServiceAccountKey] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::ServiceAccountKey]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_service_account_key(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::IamV1::ServiceAccountKey::Representation
command.response_class = Google::Apis::IamV1::ServiceAccountKey
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a service account key and returns it.
# @param [String] name
# The resource name of the service account in the format "projects/`project`/
# serviceAccounts/`account`". Using '-' as a wildcard for the project, will
# infer the project from the account. The account value can be the email address
# or the unique_id of the service account.
# @param [Google::Apis::IamV1::CreateServiceAccountKeyRequest] create_service_account_key_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::IamV1::ServiceAccountKey] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::ServiceAccountKey]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_service_account_key(name, create_service_account_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}/keys', options)
command.request_representation = Google::Apis::IamV1::CreateServiceAccountKeyRequest::Representation
command.request_object = create_service_account_key_request_object
command.response_representation = Google::Apis::IamV1::ServiceAccountKey::Representation
command.response_class = Google::Apis::IamV1::ServiceAccountKey
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a service account key.
# @param [String] name
# The resource name of the service account key in the format "projects/`project`/
# serviceAccounts/`account`/keys/`key`". Using '-' as a wildcard for the project
# will infer the project from the account. The account value can be the email
# address or the unique_id of the service account.
# @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::IamV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_service_account_key(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::IamV1::Empty::Representation
command.response_class = Google::Apis::IamV1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
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://developers.google.com/identity-toolkit/v3/ # @see https://developers.google.com/identity-toolkit/v3/
module IdentitytoolkitV3 module IdentitytoolkitV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20160216' REVISION = '20160304'
end end
end end
end end

View File

@ -137,6 +137,55 @@ module Google
end end
end end
# Template for an email template.
class EmailTemplate
include Google::Apis::Core::Hashable
# Email body.
# Corresponds to the JSON property `body`
# @return [String]
attr_accessor :body
# Email body format.
# Corresponds to the JSON property `format`
# @return [String]
attr_accessor :format
# From address of the email.
# Corresponds to the JSON property `from`
# @return [String]
attr_accessor :from
# From display name.
# Corresponds to the JSON property `fromDisplayName`
# @return [String]
attr_accessor :from_display_name
# Reply-to address.
# Corresponds to the JSON property `replyTo`
# @return [String]
attr_accessor :reply_to
# Subject of the email.
# Corresponds to the JSON property `subject`
# @return [String]
attr_accessor :subject
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@body = args[:body] if args.key?(:body)
@format = args[:format] if args.key?(:format)
@from = args[:from] if args.key?(:from)
@from_display_name = args[:from_display_name] if args.key?(:from_display_name)
@reply_to = args[:reply_to] if args.key?(:reply_to)
@subject = args[:subject] if args.key?(:subject)
end
end
# Response of getting account information. # Response of getting account information.
class GetAccountInfoResponse class GetAccountInfoResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -313,6 +362,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :delegated_project_number attr_accessor :delegated_project_number
# The GITKit token or STS id token of the authenticated user.
# Corresponds to the JSON property `idToken`
# @return [String]
attr_accessor :id_token
# The local ID of the user. # The local ID of the user.
# Corresponds to the JSON property `localId` # Corresponds to the JSON property `localId`
# @return [String] # @return [String]
@ -325,6 +379,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
@id_token = args[:id_token] if args.key?(:id_token)
@local_id = args[:local_id] if args.key?(:local_id) @local_id = args[:local_id] if args.key?(:local_id)
end end
end end
@ -365,6 +420,12 @@ module Google
class GetAccountInfoRequest class GetAccountInfoRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# GCP project number of the requesting delegated app. Currently only intended
# for Firebase V1 migration.
# Corresponds to the JSON property `delegatedProjectNumber`
# @return [String]
attr_accessor :delegated_project_number
# The list of emails of the users to inquiry. # The list of emails of the users to inquiry.
# Corresponds to the JSON property `email` # Corresponds to the JSON property `email`
# @return [Array<String>] # @return [Array<String>]
@ -386,6 +447,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
@email = args[:email] if args.key?(:email) @email = args[:email] if args.key?(:email)
@id_token = args[:id_token] if args.key?(:id_token) @id_token = args[:id_token] if args.key?(:id_token)
@local_id = args[:local_id] if args.key?(:local_id) @local_id = args[:local_id] if args.key?(:local_id)
@ -407,6 +469,16 @@ module Google
# @return [String] # @return [String]
attr_accessor :api_key attr_accessor :api_key
# Authorized domains.
# Corresponds to the JSON property `authorizedDomains`
# @return [Array<String>]
attr_accessor :authorized_domains
# Template for an email template.
# Corresponds to the JSON property `changeEmailTemplate`
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
attr_accessor :change_email_template
# OAuth2 provider configuration. # OAuth2 provider configuration.
# Corresponds to the JSON property `idpConfig` # Corresponds to the JSON property `idpConfig`
# @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>] # @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>]
@ -417,6 +489,22 @@ module Google
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Template for an email template.
# Corresponds to the JSON property `resetPasswordTemplate`
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
attr_accessor :reset_password_template
# Whether to use email sending provided by Firebear.
# Corresponds to the JSON property `useEmailSending`
# @return [Boolean]
attr_accessor :use_email_sending
alias_method :use_email_sending?, :use_email_sending
# Template for an email template.
# Corresponds to the JSON property `verifyEmailTemplate`
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
attr_accessor :verify_email_template
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -425,8 +513,13 @@ module Google
def update!(**args) def update!(**args)
@allow_password_user = args[:allow_password_user] if args.key?(:allow_password_user) @allow_password_user = args[:allow_password_user] if args.key?(:allow_password_user)
@api_key = args[:api_key] if args.key?(:api_key) @api_key = args[:api_key] if args.key?(:api_key)
@authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
@idp_config = args[:idp_config] if args.key?(:idp_config) @idp_config = args[:idp_config] if args.key?(:idp_config)
@project_id = args[:project_id] if args.key?(:project_id) @project_id = args[:project_id] if args.key?(:project_id)
@reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
@use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
@verify_email_template = args[:verify_email_template] if args.key?(:verify_email_template)
end end
end end
@ -487,6 +580,16 @@ module Google
# @return [String] # @return [String]
attr_accessor :delegated_project_number attr_accessor :delegated_project_number
# The attributes users request to delete.
# Corresponds to the JSON property `deleteAttribute`
# @return [Array<String>]
attr_accessor :delete_attribute
# The IDPs the user request to delete.
# Corresponds to the JSON property `deleteProvider`
# @return [Array<String>]
attr_accessor :delete_provider
# Whether to disable the user. # Whether to disable the user.
# Corresponds to the JSON property `disableUser` # Corresponds to the JSON property `disableUser`
# @return [Boolean] # @return [Boolean]
@ -544,6 +647,12 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :provider attr_accessor :provider
# Whether return sts id token and refresh token instead of gitkit token.
# Corresponds to the JSON property `returnSecureToken`
# @return [Boolean]
attr_accessor :return_secure_token
alias_method :return_secure_token?, :return_secure_token
# Mark the user to upgrade to federated login. # Mark the user to upgrade to federated login.
# Corresponds to the JSON property `upgradeToFederatedLogin` # Corresponds to the JSON property `upgradeToFederatedLogin`
# @return [Boolean] # @return [Boolean]
@ -564,6 +673,8 @@ module Google
@captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge) @captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge)
@captcha_response = args[:captcha_response] if args.key?(:captcha_response) @captcha_response = args[:captcha_response] if args.key?(:captcha_response)
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
@delete_attribute = args[:delete_attribute] if args.key?(:delete_attribute)
@delete_provider = args[:delete_provider] if args.key?(:delete_provider)
@disable_user = args[:disable_user] if args.key?(:disable_user) @disable_user = args[:disable_user] if args.key?(:disable_user)
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@email = args[:email] if args.key?(:email) @email = args[:email] if args.key?(:email)
@ -575,11 +686,95 @@ module Google
@password = args[:password] if args.key?(:password) @password = args[:password] if args.key?(:password)
@photo_url = args[:photo_url] if args.key?(:photo_url) @photo_url = args[:photo_url] if args.key?(:photo_url)
@provider = args[:provider] if args.key?(:provider) @provider = args[:provider] if args.key?(:provider)
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
@upgrade_to_federated_login = args[:upgrade_to_federated_login] if args.key?(:upgrade_to_federated_login) @upgrade_to_federated_login = args[:upgrade_to_federated_login] if args.key?(:upgrade_to_federated_login)
@valid_since = args[:valid_since] if args.key?(:valid_since) @valid_since = args[:valid_since] if args.key?(:valid_since)
end end
end end
# Request to set the project configuration.
class SetProjectConfigRequest
include Google::Apis::Core::Hashable
# Whether to allow password user sign in or sign up.
# Corresponds to the JSON property `allowPasswordUser`
# @return [Boolean]
attr_accessor :allow_password_user
alias_method :allow_password_user?, :allow_password_user
# Browser API key, needed when making http request to Apiary.
# Corresponds to the JSON property `apiKey`
# @return [String]
attr_accessor :api_key
# Template for an email template.
# Corresponds to the JSON property `changeEmailTemplate`
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
attr_accessor :change_email_template
# GCP project number of the requesting delegated app. Currently only intended
# for Firebase V1 migration.
# Corresponds to the JSON property `delegatedProjectNumber`
# @return [String]
attr_accessor :delegated_project_number
# Oauth2 provider configuration.
# Corresponds to the JSON property `idpConfig`
# @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>]
attr_accessor :idp_config
# Template for an email template.
# Corresponds to the JSON property `resetPasswordTemplate`
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
attr_accessor :reset_password_template
# Whether to use email sending provided by Firebear.
# Corresponds to the JSON property `useEmailSending`
# @return [Boolean]
attr_accessor :use_email_sending
alias_method :use_email_sending?, :use_email_sending
# Template for an email template.
# Corresponds to the JSON property `verifyEmailTemplate`
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
attr_accessor :verify_email_template
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allow_password_user = args[:allow_password_user] if args.key?(:allow_password_user)
@api_key = args[:api_key] if args.key?(:api_key)
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
@idp_config = args[:idp_config] if args.key?(:idp_config)
@reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
@use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
@verify_email_template = args[:verify_email_template] if args.key?(:verify_email_template)
end
end
# Response of setting the project configuration.
class IdentitytoolkitRelyingpartySetProjectConfigResponse
include Google::Apis::Core::Hashable
# Project ID of the relying party.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@project_id = args[:project_id] if args.key?(:project_id)
end
end
# Request to sign out user. # Request to sign out user.
class SignOutUserRequest class SignOutUserRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -663,6 +858,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :password attr_accessor :password
# Whether return sts id token and refresh token instead of gitkit token.
# Corresponds to the JSON property `returnSecureToken`
# @return [Boolean]
attr_accessor :return_secure_token
alias_method :return_secure_token?, :return_secure_token
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -676,6 +877,7 @@ module Google
@id_token = args[:id_token] if args.key?(:id_token) @id_token = args[:id_token] if args.key?(:id_token)
@instance_id = args[:instance_id] if args.key?(:instance_id) @instance_id = args[:instance_id] if args.key?(:instance_id)
@password = args[:password] if args.key?(:password) @password = args[:password] if args.key?(:password)
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
end end
end end
@ -777,6 +979,12 @@ module Google
attr_accessor :return_refresh_token attr_accessor :return_refresh_token
alias_method :return_refresh_token?, :return_refresh_token alias_method :return_refresh_token?, :return_refresh_token
# Whether return sts id token and refresh token instead of gitkit token.
# Corresponds to the JSON property `returnSecureToken`
# @return [Boolean]
attr_accessor :return_secure_token
alias_method :return_secure_token?, :return_secure_token
# Session ID, which should match the one in previous createAuthUri request. # Session ID, which should match the one in previous createAuthUri request.
# Corresponds to the JSON property `sessionId` # Corresponds to the JSON property `sessionId`
# @return [String] # @return [String]
@ -795,6 +1003,7 @@ module Google
@post_body = args[:post_body] if args.key?(:post_body) @post_body = args[:post_body] if args.key?(:post_body)
@request_uri = args[:request_uri] if args.key?(:request_uri) @request_uri = args[:request_uri] if args.key?(:request_uri)
@return_refresh_token = args[:return_refresh_token] if args.key?(:return_refresh_token) @return_refresh_token = args[:return_refresh_token] if args.key?(:return_refresh_token)
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
@session_id = args[:session_id] if args.key?(:session_id) @session_id = args[:session_id] if args.key?(:session_id)
end end
end end
@ -808,6 +1017,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :instance_id attr_accessor :instance_id
# Whether return sts id token and refresh token instead of gitkit token.
# Corresponds to the JSON property `returnSecureToken`
# @return [Boolean]
attr_accessor :return_secure_token
alias_method :return_secure_token?, :return_secure_token
# The custom token to verify # The custom token to verify
# Corresponds to the JSON property `token` # Corresponds to the JSON property `token`
# @return [String] # @return [String]
@ -820,6 +1035,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@instance_id = args[:instance_id] if args.key?(:instance_id) @instance_id = args[:instance_id] if args.key?(:instance_id)
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
@token = args[:token] if args.key?(:token) @token = args[:token] if args.key?(:token)
end end
end end
@ -869,6 +1085,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :pending_id_token attr_accessor :pending_id_token
# Whether return sts id token and refresh token instead of gitkit token.
# Corresponds to the JSON property `returnSecureToken`
# @return [Boolean]
attr_accessor :return_secure_token
alias_method :return_secure_token?, :return_secure_token
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -883,6 +1105,7 @@ module Google
@instance_id = args[:instance_id] if args.key?(:instance_id) @instance_id = args[:instance_id] if args.key?(:instance_id)
@password = args[:password] if args.key?(:password) @password = args[:password] if args.key?(:password)
@pending_id_token = args[:pending_id_token] if args.key?(:pending_id_token) @pending_id_token = args[:pending_id_token] if args.key?(:pending_id_token)
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
end end
end end
@ -1025,6 +1248,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :email attr_accessor :email
# If idToken is STS id token, then this field will be expiration time of STS id
# token in seconds.
# Corresponds to the JSON property `expiresIn`
# @return [String]
attr_accessor :expires_in
# The Gitkit id token to login the newly sign up user. # The Gitkit id token to login the newly sign up user.
# Corresponds to the JSON property `idToken` # Corresponds to the JSON property `idToken`
# @return [String] # @return [String]
@ -1050,6 +1279,11 @@ module Google
# @return [Array<Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo>] # @return [Array<Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo>]
attr_accessor :provider_user_info attr_accessor :provider_user_info
# If idToken is STS id token, then this field will be refresh token.
# Corresponds to the JSON property `refreshToken`
# @return [String]
attr_accessor :refresh_token
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -1058,11 +1292,13 @@ module Google
def update!(**args) def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@email = args[:email] if args.key?(:email) @email = args[:email] if args.key?(:email)
@expires_in = args[:expires_in] if args.key?(:expires_in)
@id_token = args[:id_token] if args.key?(:id_token) @id_token = args[:id_token] if args.key?(:id_token)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@new_email = args[:new_email] if args.key?(:new_email) @new_email = args[:new_email] if args.key?(:new_email)
@photo_url = args[:photo_url] if args.key?(:photo_url) @photo_url = args[:photo_url] if args.key?(:photo_url)
@provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info) @provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end end
# #
@ -1113,6 +1349,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :email attr_accessor :email
# If idToken is STS id token, then this field will be expiration time of STS id
# token in seconds.
# Corresponds to the JSON property `expiresIn`
# @return [String]
attr_accessor :expires_in
# The Gitkit id token to login the newly sign up user. # The Gitkit id token to login the newly sign up user.
# Corresponds to the JSON property `idToken` # Corresponds to the JSON property `idToken`
# @return [String] # @return [String]
@ -1123,6 +1365,16 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# The RP local ID of the user.
# Corresponds to the JSON property `localId`
# @return [String]
attr_accessor :local_id
# If idToken is STS id token, then this field will be refresh token.
# Corresponds to the JSON property `refreshToken`
# @return [String]
attr_accessor :refresh_token
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -1131,8 +1383,11 @@ module Google
def update!(**args) def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@email = args[:email] if args.key?(:email) @email = args[:email] if args.key?(:email)
@expires_in = args[:expires_in] if args.key?(:expires_in)
@id_token = args[:id_token] if args.key?(:id_token) @id_token = args[:id_token] if args.key?(:id_token)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@local_id = args[:local_id] if args.key?(:local_id)
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end end
end end
@ -1302,6 +1557,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :provider_id attr_accessor :provider_id
# User's raw identifier directly returned from IDP.
# Corresponds to the JSON property `rawId`
# @return [String]
attr_accessor :raw_id
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -1313,6 +1573,7 @@ module Google
@federated_id = args[:federated_id] if args.key?(:federated_id) @federated_id = args[:federated_id] if args.key?(:federated_id)
@photo_url = args[:photo_url] if args.key?(:photo_url) @photo_url = args[:photo_url] if args.key?(:photo_url)
@provider_id = args[:provider_id] if args.key?(:provider_id) @provider_id = args[:provider_id] if args.key?(:provider_id)
@raw_id = args[:raw_id] if args.key?(:raw_id)
end end
end end
end end
@ -1371,6 +1632,12 @@ module Google
attr_accessor :email_verified attr_accessor :email_verified
alias_method :email_verified?, :email_verified alias_method :email_verified?, :email_verified
# If idToken is STS id token, then this field will be expiration time of STS id
# token in seconds.
# Corresponds to the JSON property `expiresIn`
# @return [String]
attr_accessor :expires_in
# The unique ID identifies the IdP account. # The unique ID identifies the IdP account.
# Corresponds to the JSON property `federatedId` # Corresponds to the JSON property `federatedId`
# @return [String] # @return [String]
@ -1462,6 +1729,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :oauth_scope attr_accessor :oauth_scope
# The OAuth1 access token secret.
# Corresponds to the JSON property `oauthTokenSecret`
# @return [String]
attr_accessor :oauth_token_secret
# The original email stored in the mapping storage. It's returned when the # The original email stored in the mapping storage. It's returned when the
# federated ID is associated to a different email. # federated ID is associated to a different email.
# Corresponds to the JSON property `originalEmail` # Corresponds to the JSON property `originalEmail`
@ -1482,6 +1754,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :provider_id attr_accessor :provider_id
# If idToken is STS id token, then this field will be refresh token.
# Corresponds to the JSON property `refreshToken`
# @return [String]
attr_accessor :refresh_token
# The timezone of the user. # The timezone of the user.
# Corresponds to the JSON property `timeZone` # Corresponds to the JSON property `timeZone`
# @return [String] # @return [String]
@ -1507,6 +1784,7 @@ module Google
@email = args[:email] if args.key?(:email) @email = args[:email] if args.key?(:email)
@email_recycled = args[:email_recycled] if args.key?(:email_recycled) @email_recycled = args[:email_recycled] if args.key?(:email_recycled)
@email_verified = args[:email_verified] if args.key?(:email_verified) @email_verified = args[:email_verified] if args.key?(:email_verified)
@expires_in = args[:expires_in] if args.key?(:expires_in)
@federated_id = args[:federated_id] if args.key?(:federated_id) @federated_id = args[:federated_id] if args.key?(:federated_id)
@first_name = args[:first_name] if args.key?(:first_name) @first_name = args[:first_name] if args.key?(:first_name)
@full_name = args[:full_name] if args.key?(:full_name) @full_name = args[:full_name] if args.key?(:full_name)
@ -1524,9 +1802,11 @@ module Google
@oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in) @oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in)
@oauth_request_token = args[:oauth_request_token] if args.key?(:oauth_request_token) @oauth_request_token = args[:oauth_request_token] if args.key?(:oauth_request_token)
@oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope) @oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope)
@oauth_token_secret = args[:oauth_token_secret] if args.key?(:oauth_token_secret)
@original_email = args[:original_email] if args.key?(:original_email) @original_email = args[:original_email] if args.key?(:original_email)
@photo_url = args[:photo_url] if args.key?(:photo_url) @photo_url = args[:photo_url] if args.key?(:photo_url)
@provider_id = args[:provider_id] if args.key?(:provider_id) @provider_id = args[:provider_id] if args.key?(:provider_id)
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
@time_zone = args[:time_zone] if args.key?(:time_zone) @time_zone = args[:time_zone] if args.key?(:time_zone)
@verified_provider = args[:verified_provider] if args.key?(:verified_provider) @verified_provider = args[:verified_provider] if args.key?(:verified_provider)
end end
@ -1536,6 +1816,12 @@ module Google
class VerifyCustomTokenResponse class VerifyCustomTokenResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If idToken is STS id token, then this field will be expiration time of STS id
# token in seconds.
# Corresponds to the JSON property `expiresIn`
# @return [String]
attr_accessor :expires_in
# The GITKit token for authenticated user. # The GITKit token for authenticated user.
# Corresponds to the JSON property `idToken` # Corresponds to the JSON property `idToken`
# @return [String] # @return [String]
@ -1546,14 +1832,21 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# If idToken is STS id token, then this field will be refresh token.
# Corresponds to the JSON property `refreshToken`
# @return [String]
attr_accessor :refresh_token
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@expires_in = args[:expires_in] if args.key?(:expires_in)
@id_token = args[:id_token] if args.key?(:id_token) @id_token = args[:id_token] if args.key?(:id_token)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end end
end end
@ -1572,6 +1865,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :email attr_accessor :email
# If idToken is STS id token, then this field will be expiration time of STS id
# token in seconds.
# Corresponds to the JSON property `expiresIn`
# @return [String]
attr_accessor :expires_in
# The GITKit token for authenticated user. # The GITKit token for authenticated user.
# Corresponds to the JSON property `idToken` # Corresponds to the JSON property `idToken`
# @return [String] # @return [String]
@ -1608,6 +1907,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :photo_url attr_accessor :photo_url
# If idToken is STS id token, then this field will be refresh token.
# Corresponds to the JSON property `refreshToken`
# @return [String]
attr_accessor :refresh_token
# Whether the email is registered. # Whether the email is registered.
# Corresponds to the JSON property `registered` # Corresponds to the JSON property `registered`
# @return [Boolean] # @return [Boolean]
@ -1622,6 +1926,7 @@ module Google
def update!(**args) def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@email = args[:email] if args.key?(:email) @email = args[:email] if args.key?(:email)
@expires_in = args[:expires_in] if args.key?(:expires_in)
@id_token = args[:id_token] if args.key?(:id_token) @id_token = args[:id_token] if args.key?(:id_token)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@local_id = args[:local_id] if args.key?(:local_id) @local_id = args[:local_id] if args.key?(:local_id)
@ -1629,6 +1934,7 @@ module Google
@oauth_authorization_code = args[:oauth_authorization_code] if args.key?(:oauth_authorization_code) @oauth_authorization_code = args[:oauth_authorization_code] if args.key?(:oauth_authorization_code)
@oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in) @oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in)
@photo_url = args[:photo_url] if args.key?(:photo_url) @photo_url = args[:photo_url] if args.key?(:photo_url)
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
@registered = args[:registered] if args.key?(:registered) @registered = args[:registered] if args.key?(:registered)
end end
end end

View File

@ -40,6 +40,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class EmailTemplate
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GetAccountInfoResponse class GetAccountInfoResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -100,6 +106,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class SetProjectConfigRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class IdentitytoolkitRelyingpartySetProjectConfigResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SignOutUserRequest class SignOutUserRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -251,6 +269,18 @@ module Google
end end
end end
class EmailTemplate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :body, as: 'body'
property :format, as: 'format'
property :from, as: 'from'
property :from_display_name, as: 'fromDisplayName'
property :reply_to, as: 'replyTo'
property :subject, as: 'subject'
end
end
class GetAccountInfoResponse class GetAccountInfoResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -298,6 +328,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :delegated_project_number, as: 'delegatedProjectNumber' property :delegated_project_number, as: 'delegatedProjectNumber'
property :id_token, as: 'idToken'
property :local_id, as: 'localId' property :local_id, as: 'localId'
end end
end end
@ -314,6 +345,7 @@ module Google
class GetAccountInfoRequest class GetAccountInfoRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :delegated_project_number, as: 'delegatedProjectNumber'
collection :email, as: 'email' collection :email, as: 'email'
property :id_token, as: 'idToken' property :id_token, as: 'idToken'
collection :local_id, as: 'localId' collection :local_id, as: 'localId'
@ -325,9 +357,17 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :allow_password_user, as: 'allowPasswordUser' property :allow_password_user, as: 'allowPasswordUser'
property :api_key, as: 'apiKey' property :api_key, as: 'apiKey'
collection :authorized_domains, as: 'authorizedDomains'
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
property :project_id, as: 'projectId' property :project_id, as: 'projectId'
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
property :use_email_sending, as: 'useEmailSending'
property :verify_email_template, as: 'verifyEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
end end
end end
@ -347,6 +387,8 @@ module Google
property :captcha_challenge, as: 'captchaChallenge' property :captcha_challenge, as: 'captchaChallenge'
property :captcha_response, as: 'captchaResponse' property :captcha_response, as: 'captchaResponse'
property :delegated_project_number, as: 'delegatedProjectNumber' property :delegated_project_number, as: 'delegatedProjectNumber'
collection :delete_attribute, as: 'deleteAttribute'
collection :delete_provider, as: 'deleteProvider'
property :disable_user, as: 'disableUser' property :disable_user, as: 'disableUser'
property :display_name, as: 'displayName' property :display_name, as: 'displayName'
property :email, as: 'email' property :email, as: 'email'
@ -358,11 +400,37 @@ module Google
property :password, as: 'password' property :password, as: 'password'
property :photo_url, as: 'photoUrl' property :photo_url, as: 'photoUrl'
collection :provider, as: 'provider' collection :provider, as: 'provider'
property :return_secure_token, as: 'returnSecureToken'
property :upgrade_to_federated_login, as: 'upgradeToFederatedLogin' property :upgrade_to_federated_login, as: 'upgradeToFederatedLogin'
property :valid_since, as: 'validSince' property :valid_since, as: 'validSince'
end end
end end
class SetProjectConfigRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_password_user, as: 'allowPasswordUser'
property :api_key, as: 'apiKey'
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
property :delegated_project_number, as: 'delegatedProjectNumber'
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
property :use_email_sending, as: 'useEmailSending'
property :verify_email_template, as: 'verifyEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
end
end
class IdentitytoolkitRelyingpartySetProjectConfigResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :project_id, as: 'projectId'
end
end
class SignOutUserRequest class SignOutUserRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -388,6 +456,7 @@ module Google
property :id_token, as: 'idToken' property :id_token, as: 'idToken'
property :instance_id, as: 'instanceId' property :instance_id, as: 'instanceId'
property :password, as: 'password' property :password, as: 'password'
property :return_secure_token, as: 'returnSecureToken'
end end
end end
@ -415,6 +484,7 @@ module Google
property :post_body, as: 'postBody' property :post_body, as: 'postBody'
property :request_uri, as: 'requestUri' property :request_uri, as: 'requestUri'
property :return_refresh_token, as: 'returnRefreshToken' property :return_refresh_token, as: 'returnRefreshToken'
property :return_secure_token, as: 'returnSecureToken'
property :session_id, as: 'sessionId' property :session_id, as: 'sessionId'
end end
end end
@ -423,6 +493,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :instance_id, as: 'instanceId' property :instance_id, as: 'instanceId'
property :return_secure_token, as: 'returnSecureToken'
property :token, as: 'token' property :token, as: 'token'
end end
end end
@ -438,6 +509,7 @@ module Google
property :instance_id, as: 'instanceId' property :instance_id, as: 'instanceId'
property :password, as: 'password' property :password, as: 'password'
property :pending_id_token, as: 'pendingIdToken' property :pending_id_token, as: 'pendingIdToken'
property :return_secure_token, as: 'returnSecureToken'
end end
end end
@ -478,12 +550,14 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName' property :display_name, as: 'displayName'
property :email, as: 'email' property :email, as: 'email'
property :expires_in, as: 'expiresIn'
property :id_token, as: 'idToken' property :id_token, as: 'idToken'
property :kind, as: 'kind' property :kind, as: 'kind'
property :new_email, as: 'newEmail' property :new_email, as: 'newEmail'
property :photo_url, as: 'photoUrl' property :photo_url, as: 'photoUrl'
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo::Representation collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo::Representation
property :refresh_token, as: 'refreshToken'
end end
class ProviderUserInfo class ProviderUserInfo
@ -501,8 +575,11 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName' property :display_name, as: 'displayName'
property :email, as: 'email' property :email, as: 'email'
property :expires_in, as: 'expiresIn'
property :id_token, as: 'idToken' property :id_token, as: 'idToken'
property :kind, as: 'kind' property :kind, as: 'kind'
property :local_id, as: 'localId'
property :refresh_token, as: 'refreshToken'
end end
end end
@ -549,6 +626,7 @@ module Google
property :federated_id, as: 'federatedId' property :federated_id, as: 'federatedId'
property :photo_url, as: 'photoUrl' property :photo_url, as: 'photoUrl'
property :provider_id, as: 'providerId' property :provider_id, as: 'providerId'
property :raw_id, as: 'rawId'
end end
end end
end end
@ -565,6 +643,7 @@ module Google
property :email, as: 'email' property :email, as: 'email'
property :email_recycled, as: 'emailRecycled' property :email_recycled, as: 'emailRecycled'
property :email_verified, as: 'emailVerified' property :email_verified, as: 'emailVerified'
property :expires_in, as: 'expiresIn'
property :federated_id, as: 'federatedId' property :federated_id, as: 'federatedId'
property :first_name, as: 'firstName' property :first_name, as: 'firstName'
property :full_name, as: 'fullName' property :full_name, as: 'fullName'
@ -582,9 +661,11 @@ module Google
property :oauth_expire_in, as: 'oauthExpireIn' property :oauth_expire_in, as: 'oauthExpireIn'
property :oauth_request_token, as: 'oauthRequestToken' property :oauth_request_token, as: 'oauthRequestToken'
property :oauth_scope, as: 'oauthScope' property :oauth_scope, as: 'oauthScope'
property :oauth_token_secret, as: 'oauthTokenSecret'
property :original_email, as: 'originalEmail' property :original_email, as: 'originalEmail'
property :photo_url, as: 'photoUrl' property :photo_url, as: 'photoUrl'
property :provider_id, as: 'providerId' property :provider_id, as: 'providerId'
property :refresh_token, as: 'refreshToken'
property :time_zone, as: 'timeZone' property :time_zone, as: 'timeZone'
collection :verified_provider, as: 'verifiedProvider' collection :verified_provider, as: 'verifiedProvider'
end end
@ -593,8 +674,10 @@ module Google
class VerifyCustomTokenResponse class VerifyCustomTokenResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :expires_in, as: 'expiresIn'
property :id_token, as: 'idToken' property :id_token, as: 'idToken'
property :kind, as: 'kind' property :kind, as: 'kind'
property :refresh_token, as: 'refreshToken'
end end
end end
@ -603,6 +686,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName' property :display_name, as: 'displayName'
property :email, as: 'email' property :email, as: 'email'
property :expires_in, as: 'expiresIn'
property :id_token, as: 'idToken' property :id_token, as: 'idToken'
property :kind, as: 'kind' property :kind, as: 'kind'
property :local_id, as: 'localId' property :local_id, as: 'localId'
@ -610,6 +694,7 @@ module Google
property :oauth_authorization_code, as: 'oauthAuthorizationCode' property :oauth_authorization_code, as: 'oauthAuthorizationCode'
property :oauth_expire_in, as: 'oauthExpireIn' property :oauth_expire_in, as: 'oauthExpireIn'
property :photo_url, as: 'photoUrl' property :photo_url, as: 'photoUrl'
property :refresh_token, as: 'refreshToken'
property :registered, as: 'registered' property :registered, as: 'registered'
end end
end end

View File

@ -228,6 +228,10 @@ module Google
end end
# Get project configuration. # Get project configuration.
# @param [String] delegated_project_number
# Delegated GCP project number of the request.
# @param [String] project_number
# GCP project number of the request.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -249,10 +253,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_config(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def get_project_config(delegated_project_number: nil, project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'getProjectConfig', options) command = make_simple_command(:get, 'getProjectConfig', options)
command.response_representation = Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse::Representation command.response_representation = Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse::Representation
command.response_class = Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse command.response_class = Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse
command.query['delegatedProjectNumber'] = delegated_project_number unless delegated_project_number.nil?
command.query['projectNumber'] = project_number unless project_number.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil? command.query['userIp'] = user_ip unless user_ip.nil?
@ -393,6 +399,41 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Set project configuration.
# @param [Google::Apis::IdentitytoolkitV3::SetProjectConfigRequest] set_project_config_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::IdentitytoolkitV3::IdentitytoolkitRelyingpartySetProjectConfigResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySetProjectConfigResponse]
#
# @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_relyingparty_project_config(set_project_config_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'setProjectConfig', options)
command.request_representation = Google::Apis::IdentitytoolkitV3::SetProjectConfigRequest::Representation
command.request_object = set_project_config_request_object
command.response_representation = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySetProjectConfigResponse::Representation
command.response_class = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySetProjectConfigResponse
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
# Sign out user. # Sign out user.
# @param [Google::Apis::IdentitytoolkitV3::SignOutUserRequest] sign_out_user_request_object # @param [Google::Apis::IdentitytoolkitV3::SignOutUserRequest] sign_out_user_request_object
# @param [String] fields # @param [String] fields

View File

@ -20,13 +20,13 @@ module Google
module Apis module Apis
# PageSpeed Insights API # PageSpeed Insights API
# #
# Lets you analyze the performance of a web page and get tailored suggestions to # Analyzes the performance of a web page and provides tailored suggestions to
# make that page faster. # make that page faster.
# #
# @see https://developers.google.com/speed/docs/insights/v2/getting-started # @see https://developers.google.com/speed/docs/insights/v2/getting-started
module PagespeedonlineV2 module PagespeedonlineV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20150317' REVISION = '20160306'
end end
end end
end end

View File

@ -22,7 +22,7 @@ module Google
module PagespeedonlineV2 module PagespeedonlineV2
# PageSpeed Insights API # PageSpeed Insights API
# #
# Lets you analyze the performance of a web page and get tailored suggestions to # Analyzes the performance of a web page and provides tailored suggestions to
# make that page faster. # make that page faster.
# #
# @example # @example

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/domains/ # @see https://developers.google.com/+/domains/
module PlusDomainsV1 module PlusDomainsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20160223' REVISION = '20160309'
# View your circles and the people and pages in them # View your circles and the people and pages in them
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read' 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/ # @see https://developers.google.com/+/api/
module PlusV1 module PlusV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20160223' REVISION = '20160309'
# Know the list of people in your circles, your age range, and language # Know the list of people in your circles, your age range, and language
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/prediction/docs/developer-guide # @see https://developers.google.com/prediction/docs/developer-guide
module PredictionV1_6 module PredictionV1_6
VERSION = 'V1_6' VERSION = 'V1_6'
REVISION = '20151102' REVISION = '20160304'
# Manage your data and permissions in Google Cloud Storage # Manage your data and permissions in Google Cloud Storage
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control' AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'

View File

@ -674,7 +674,7 @@ module Google
# The estimated regression value (Regression models only). # The estimated regression value (Regression models only).
# Corresponds to the JSON property `outputValue` # Corresponds to the JSON property `outputValue`
# @return [Float] # @return [String]
attr_accessor :output_value attr_accessor :output_value
# A URL to re-request this resource. # A URL to re-request this resource.

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# QPX Express API # QPX Express API
# #
# Lets you find the least expensive flights between an origin and a destination. # Finds the least expensive flights between an origin and a destination.
# #
# @see http://developers.google.com/qpx-express # @see http://developers.google.com/qpx-express
module QpxExpressV1 module QpxExpressV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20140321' REVISION = '20160307'
end end
end end
end end

View File

@ -22,7 +22,7 @@ module Google
module QpxExpressV1 module QpxExpressV1
# QPX Express API # QPX Express API
# #
# Lets you find the least expensive flights between an origin and a destination. # Finds the least expensive flights between an origin and a destination.
# #
# @example # @example
# require 'google/apis/qpx_express_v1' # require 'google/apis/qpx_express_v1'

View File

@ -20,13 +20,12 @@ module Google
module Apis module Apis
# Google Compute Engine Instance Group Updater API # Google Compute Engine Instance Group Updater API
# #
# The Google Compute Engine Instance Group Updater API provides services for # Updates groups of Compute Engine instances.
# updating groups of Compute Engine Instances.
# #
# @see https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service # @see https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service
module ReplicapoolupdaterV1beta1 module ReplicapoolupdaterV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20160107' REVISION = '20160229'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,8 +22,7 @@ module Google
module ReplicapoolupdaterV1beta1 module ReplicapoolupdaterV1beta1
# Google Compute Engine Instance Group Updater API # Google Compute Engine Instance Group Updater API
# #
# The Google Compute Engine Instance Group Updater API provides services for # Updates groups of Compute Engine instances.
# updating groups of Compute Engine Instances.
# #
# @example # @example
# require 'google/apis/replicapoolupdater_v1beta1' # require 'google/apis/replicapoolupdater_v1beta1'

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Enterprise Apps Reseller API # Enterprise Apps Reseller API
# #
# Lets you create and manage your customers and their subscriptions. # Creates and manages your customers and their subscriptions.
# #
# @see https://developers.google.com/google-apps/reseller/ # @see https://developers.google.com/google-apps/reseller/
module ResellerV1 module ResellerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20160218' REVISION = '20160229'
# Manage users on your domain # Manage users on your domain
AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order' AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'

View File

@ -22,7 +22,7 @@ module Google
module ResellerV1 module ResellerV1
# Enterprise Apps Reseller API # Enterprise Apps Reseller API
# #
# Lets you create and manage your customers and their subscriptions. # Creates and manages your customers and their subscriptions.
# #
# @example # @example
# require 'google/apis/reseller_v1' # require 'google/apis/reseller_v1'

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Google Site Verification API # Google Site Verification API
# #
# Lets you programatically verify ownership of websites or domains with Google. # Verifies ownership of websites or domains with Google.
# #
# @see https://developers.google.com/site-verification/ # @see https://developers.google.com/site-verification/
module SiteVerificationV1 module SiteVerificationV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20151007' REVISION = '20160228'
# Manage the list of sites and domains you control # Manage the list of sites and domains you control
AUTH_SITEVERIFICATION = 'https://www.googleapis.com/auth/siteverification' AUTH_SITEVERIFICATION = 'https://www.googleapis.com/auth/siteverification'

View File

@ -22,7 +22,7 @@ module Google
module SiteVerificationV1 module SiteVerificationV1
# Google Site Verification API # Google Site Verification API
# #
# Lets you programatically verify ownership of websites or domains with Google. # Verifies ownership of websites or domains with Google.
# #
# @example # @example
# require 'google/apis/site_verification_v1' # require 'google/apis/site_verification_v1'

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Cloud Storage JSON API # Cloud Storage JSON API
# #
# Lets you store and retrieve potentially-large, immutable data objects. # Stores and retrieves potentially large, immutable data objects.
# #
# @see https://developers.google.com/storage/docs/json_api/ # @see https://developers.google.com/storage/docs/json_api/
module StorageV1 module StorageV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20160210' REVISION = '20160304'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

Some files were not shown because too many files have changed in this diff Show More