From 4b90f6bb8fe93df724becff4ac816ba81a378a1d Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 8 Dec 2017 00:35:39 +0000 Subject: [PATCH] Autogenerated update (2017-12-08) Update: - admin_directory_v1 - cloudiot_v1beta1 - dialogflow_v2beta1 - ml_v1 - toolresults_v1beta3 - youtube_partner_v1 --- api_names_out.yaml | 183 ++++++++++++++++++ generated/google/apis/admin_directory_v1.rb | 2 +- .../google/apis/admin_directory_v1/classes.rb | 156 ++++++++++++++- .../admin_directory_v1/representations.rb | 55 ++++++ generated/google/apis/cloudiot_v1beta1.rb | 2 +- .../google/apis/cloudiot_v1beta1/classes.rb | 105 ---------- .../apis/cloudiot_v1beta1/representations.rb | 67 ------- .../google/apis/cloudiot_v1beta1/service.rb | 107 ---------- generated/google/apis/dialogflow_v2beta1.rb | 2 +- .../google/apis/dialogflow_v2beta1/classes.rb | 18 +- generated/google/apis/ml_v1.rb | 2 +- generated/google/apis/ml_v1/classes.rb | 76 ++++++++ .../google/apis/ml_v1/representations.rb | 44 +++++ generated/google/apis/ml_v1/service.rb | 73 +++++++ generated/google/apis/toolresults_v1beta3.rb | 2 +- .../apis/toolresults_v1beta3/classes.rb | 14 +- generated/google/apis/youtube_partner_v1.rb | 2 +- 17 files changed, 601 insertions(+), 309 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index aa3b7c4ad..f2a33b40c 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -2226,14 +2226,21 @@ "/admin:directory_v1/Asps/items/item": item "/admin:directory_v1/Asps/kind": kind "/admin:directory_v1/CalendarResource": calendar_resource +"/admin:directory_v1/CalendarResource/buildingId": building_id +"/admin:directory_v1/CalendarResource/capacity": capacity "/admin:directory_v1/CalendarResource/etags": etags +"/admin:directory_v1/CalendarResource/featureInstances": feature_instances +"/admin:directory_v1/CalendarResource/floorName": floor_name +"/admin:directory_v1/CalendarResource/floorSection": floor_section "/admin:directory_v1/CalendarResource/generatedResourceName": generated_resource_name "/admin:directory_v1/CalendarResource/kind": kind +"/admin:directory_v1/CalendarResource/resourceCategory": resource_category "/admin:directory_v1/CalendarResource/resourceDescription": resource_description "/admin:directory_v1/CalendarResource/resourceEmail": resource_email "/admin:directory_v1/CalendarResource/resourceId": resource_id "/admin:directory_v1/CalendarResource/resourceName": resource_name "/admin:directory_v1/CalendarResource/resourceType": resource_type +"/admin:directory_v1/CalendarResource/userVisibleDescription": user_visible_description "/admin:directory_v1/CalendarResources": calendar_resources "/admin:directory_v1/CalendarResources/etag": etag "/admin:directory_v1/CalendarResources/items": items @@ -2261,6 +2268,12 @@ "/admin:directory_v1/ChromeOsDevice/annotatedLocation": annotated_location "/admin:directory_v1/ChromeOsDevice/annotatedUser": annotated_user "/admin:directory_v1/ChromeOsDevice/bootMode": boot_mode +"/admin:directory_v1/ChromeOsDevice/deviceFiles": device_files +"/admin:directory_v1/ChromeOsDevice/deviceFiles/device_file": device_file +"/admin:directory_v1/ChromeOsDevice/deviceFiles/device_file/createTime": create_time +"/admin:directory_v1/ChromeOsDevice/deviceFiles/device_file/downloadUrl": download_url +"/admin:directory_v1/ChromeOsDevice/deviceFiles/device_file/name": name +"/admin:directory_v1/ChromeOsDevice/deviceFiles/device_file/type": type "/admin:directory_v1/ChromeOsDevice/deviceId": device_id "/admin:directory_v1/ChromeOsDevice/etag": etag "/admin:directory_v1/ChromeOsDevice/ethernetMacAddress": ethernet_mac_address @@ -2342,6 +2355,12 @@ "/admin:directory_v1/Domains2/domains/domain": domain "/admin:directory_v1/Domains2/etag": etag "/admin:directory_v1/Domains2/kind": kind +"/admin:directory_v1/Feature": feature +"/admin:directory_v1/Feature/etags": etags +"/admin:directory_v1/Feature/kind": kind +"/admin:directory_v1/Feature/name": name +"/admin:directory_v1/FeatureInstance": feature_instance +"/admin:directory_v1/FeatureInstance/feature": feature "/admin:directory_v1/Group": group "/admin:directory_v1/Group/adminCreated": admin_created "/admin:directory_v1/Group/aliases": aliases @@ -21028,6 +21047,11 @@ "/compute:beta/DiskAggregatedList/warning/data/datum/key": key "/compute:beta/DiskAggregatedList/warning/data/datum/value": value "/compute:beta/DiskAggregatedList/warning/message": message +"/compute:beta/DiskInstantiationConfig": disk_instantiation_config +"/compute:beta/DiskInstantiationConfig/autoDelete": auto_delete +"/compute:beta/DiskInstantiationConfig/deviceName": device_name +"/compute:beta/DiskInstantiationConfig/instantiateFrom": instantiate_from +"/compute:beta/DiskInstantiationConfig/sourceImage": source_image "/compute:beta/DiskList": disk_list "/compute:beta/DiskList/id": id "/compute:beta/DiskList/items": items @@ -21695,6 +21719,8 @@ "/compute:beta/InstanceTemplate/name": name "/compute:beta/InstanceTemplate/properties": properties "/compute:beta/InstanceTemplate/selfLink": self_link +"/compute:beta/InstanceTemplate/sourceInstance": source_instance +"/compute:beta/InstanceTemplate/sourceInstanceParams": source_instance_params "/compute:beta/InstanceTemplateList": instance_template_list "/compute:beta/InstanceTemplateList/id": id "/compute:beta/InstanceTemplateList/items": items @@ -22376,6 +22402,9 @@ "/compute:beta/Router/network": network "/compute:beta/Router/region": region "/compute:beta/Router/selfLink": self_link +"/compute:beta/RouterAdvertisedIpRange": router_advertised_ip_range +"/compute:beta/RouterAdvertisedIpRange/description": description +"/compute:beta/RouterAdvertisedIpRange/range": range "/compute:beta/RouterAggregatedList": router_aggregated_list "/compute:beta/RouterAggregatedList/id": id "/compute:beta/RouterAggregatedList/items": items @@ -22391,8 +22420,18 @@ "/compute:beta/RouterAggregatedList/warning/data/datum/value": value "/compute:beta/RouterAggregatedList/warning/message": message "/compute:beta/RouterBgp": router_bgp +"/compute:beta/RouterBgp/advertiseMode": advertise_mode +"/compute:beta/RouterBgp/advertisedGroups": advertised_groups +"/compute:beta/RouterBgp/advertisedGroups/advertised_group": advertised_group +"/compute:beta/RouterBgp/advertisedIpRanges": advertised_ip_ranges +"/compute:beta/RouterBgp/advertisedIpRanges/advertised_ip_range": advertised_ip_range "/compute:beta/RouterBgp/asn": asn "/compute:beta/RouterBgpPeer": router_bgp_peer +"/compute:beta/RouterBgpPeer/advertiseMode": advertise_mode +"/compute:beta/RouterBgpPeer/advertisedGroups": advertised_groups +"/compute:beta/RouterBgpPeer/advertisedGroups/advertised_group": advertised_group +"/compute:beta/RouterBgpPeer/advertisedIpRanges": advertised_ip_ranges +"/compute:beta/RouterBgpPeer/advertisedIpRanges/advertised_ip_range": advertised_ip_range "/compute:beta/RouterBgpPeer/advertisedRoutePriority": advertised_route_priority "/compute:beta/RouterBgpPeer/interfaceName": interface_name "/compute:beta/RouterBgpPeer/ipAddress": ip_address @@ -22515,8 +22554,13 @@ "/compute:beta/SecurityPolicyRule/preview": preview "/compute:beta/SecurityPolicyRule/priority": priority "/compute:beta/SecurityPolicyRuleMatcher": security_policy_rule_matcher +"/compute:beta/SecurityPolicyRuleMatcher/config": config "/compute:beta/SecurityPolicyRuleMatcher/srcIpRanges": src_ip_ranges "/compute:beta/SecurityPolicyRuleMatcher/srcIpRanges/src_ip_range": src_ip_range +"/compute:beta/SecurityPolicyRuleMatcher/versionedExpr": versioned_expr +"/compute:beta/SecurityPolicyRuleMatcherConfig": security_policy_rule_matcher_config +"/compute:beta/SecurityPolicyRuleMatcherConfig/srcIpRanges": src_ip_ranges +"/compute:beta/SecurityPolicyRuleMatcherConfig/srcIpRanges/src_ip_range": src_ip_range "/compute:beta/SerialPortOutput": serial_port_output "/compute:beta/SerialPortOutput/contents": contents "/compute:beta/SerialPortOutput/kind": kind @@ -22563,6 +22607,9 @@ "/compute:beta/SnapshotList/warning/data/datum/key": key "/compute:beta/SnapshotList/warning/data/datum/value": value "/compute:beta/SnapshotList/warning/message": message +"/compute:beta/SourceInstanceParams": source_instance_params +"/compute:beta/SourceInstanceParams/diskConfigs": disk_configs +"/compute:beta/SourceInstanceParams/diskConfigs/disk_config": disk_config "/compute:beta/SslCertificate": ssl_certificate "/compute:beta/SslCertificate/certificate": certificate "/compute:beta/SslCertificate/creationTimestamp": creation_timestamp @@ -22586,6 +22633,47 @@ "/compute:beta/SslCertificateList/warning/data/datum/key": key "/compute:beta/SslCertificateList/warning/data/datum/value": value "/compute:beta/SslCertificateList/warning/message": message +"/compute:beta/SslPoliciesList": ssl_policies_list +"/compute:beta/SslPoliciesList/id": id +"/compute:beta/SslPoliciesList/items": items +"/compute:beta/SslPoliciesList/items/item": item +"/compute:beta/SslPoliciesList/kind": kind +"/compute:beta/SslPoliciesList/nextPageToken": next_page_token +"/compute:beta/SslPoliciesList/selfLink": self_link +"/compute:beta/SslPoliciesList/warning": warning +"/compute:beta/SslPoliciesList/warning/code": code +"/compute:beta/SslPoliciesList/warning/data": data +"/compute:beta/SslPoliciesList/warning/data/datum": datum +"/compute:beta/SslPoliciesList/warning/data/datum/key": key +"/compute:beta/SslPoliciesList/warning/data/datum/value": value +"/compute:beta/SslPoliciesList/warning/message": message +"/compute:beta/SslPoliciesListAvailableFeaturesResponse": ssl_policies_list_available_features_response +"/compute:beta/SslPoliciesListAvailableFeaturesResponse/features": features +"/compute:beta/SslPoliciesListAvailableFeaturesResponse/features/feature": feature +"/compute:beta/SslPolicy": ssl_policy +"/compute:beta/SslPolicy/creationTimestamp": creation_timestamp +"/compute:beta/SslPolicy/customFeatures": custom_features +"/compute:beta/SslPolicy/customFeatures/custom_feature": custom_feature +"/compute:beta/SslPolicy/description": description +"/compute:beta/SslPolicy/enabledFeatures": enabled_features +"/compute:beta/SslPolicy/enabledFeatures/enabled_feature": enabled_feature +"/compute:beta/SslPolicy/fingerprint": fingerprint +"/compute:beta/SslPolicy/id": id +"/compute:beta/SslPolicy/kind": kind +"/compute:beta/SslPolicy/minTlsVersion": min_tls_version +"/compute:beta/SslPolicy/name": name +"/compute:beta/SslPolicy/profile": profile +"/compute:beta/SslPolicy/selfLink": self_link +"/compute:beta/SslPolicy/warnings": warnings +"/compute:beta/SslPolicy/warnings/warning": warning +"/compute:beta/SslPolicy/warnings/warning/code": code +"/compute:beta/SslPolicy/warnings/warning/data": data +"/compute:beta/SslPolicy/warnings/warning/data/datum": datum +"/compute:beta/SslPolicy/warnings/warning/data/datum/key": key +"/compute:beta/SslPolicy/warnings/warning/data/datum/value": value +"/compute:beta/SslPolicy/warnings/warning/message": message +"/compute:beta/SslPolicyReference": ssl_policy_reference +"/compute:beta/SslPolicyReference/sslPolicy": ssl_policy "/compute:beta/Subnetwork": subnetwork "/compute:beta/Subnetwork/allowSubnetCidrRoutesOverlap": allow_subnet_cidr_routes_overlap "/compute:beta/Subnetwork/creationTimestamp": creation_timestamp @@ -22679,6 +22767,8 @@ "/compute:beta/TargetHttpProxyList/warning/data/datum/key": key "/compute:beta/TargetHttpProxyList/warning/data/datum/value": value "/compute:beta/TargetHttpProxyList/warning/message": message +"/compute:beta/TargetHttpsProxiesSetQuicOverrideRequest": target_https_proxies_set_quic_override_request +"/compute:beta/TargetHttpsProxiesSetQuicOverrideRequest/quicOverride": quic_override "/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest": target_https_proxies_set_ssl_certificates_request "/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates "/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate @@ -22688,9 +22778,11 @@ "/compute:beta/TargetHttpsProxy/id": id "/compute:beta/TargetHttpsProxy/kind": kind "/compute:beta/TargetHttpsProxy/name": name +"/compute:beta/TargetHttpsProxy/quicOverride": quic_override "/compute:beta/TargetHttpsProxy/selfLink": self_link "/compute:beta/TargetHttpsProxy/sslCertificates": ssl_certificates "/compute:beta/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:beta/TargetHttpsProxy/sslPolicy": ssl_policy "/compute:beta/TargetHttpsProxy/urlMap": url_map "/compute:beta/TargetHttpsProxyList": target_https_proxy_list "/compute:beta/TargetHttpsProxyList/id": id @@ -22843,6 +22935,7 @@ "/compute:beta/TargetSslProxy/service": service "/compute:beta/TargetSslProxy/sslCertificates": ssl_certificates "/compute:beta/TargetSslProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:beta/TargetSslProxy/sslPolicy": ssl_policy "/compute:beta/TargetSslProxyList": target_ssl_proxy_list "/compute:beta/TargetSslProxyList/id": id "/compute:beta/TargetSslProxyList/items": items @@ -22891,6 +22984,9 @@ "/compute:beta/TargetVpnGateway/forwardingRules/forwarding_rule": forwarding_rule "/compute:beta/TargetVpnGateway/id": id "/compute:beta/TargetVpnGateway/kind": kind +"/compute:beta/TargetVpnGateway/labelFingerprint": label_fingerprint +"/compute:beta/TargetVpnGateway/labels": labels +"/compute:beta/TargetVpnGateway/labels/label": label "/compute:beta/TargetVpnGateway/name": name "/compute:beta/TargetVpnGateway/network": network "/compute:beta/TargetVpnGateway/region": region @@ -23009,6 +23105,9 @@ "/compute:beta/VpnTunnel/id": id "/compute:beta/VpnTunnel/ikeVersion": ike_version "/compute:beta/VpnTunnel/kind": kind +"/compute:beta/VpnTunnel/labelFingerprint": label_fingerprint +"/compute:beta/VpnTunnel/labels": labels +"/compute:beta/VpnTunnel/labels/label": label "/compute:beta/VpnTunnel/localTrafficSelector": local_traffic_selector "/compute:beta/VpnTunnel/localTrafficSelector/local_traffic_selector": local_traffic_selector "/compute:beta/VpnTunnel/name": name @@ -24349,6 +24448,9 @@ "/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.securityPolicies.addRule": add_security_policy_rule +"/compute:beta/compute.securityPolicies.addRule/project": project +"/compute:beta/compute.securityPolicies.addRule/securityPolicy": security_policy "/compute:beta/compute.securityPolicies.delete": delete_security_policy "/compute:beta/compute.securityPolicies.delete/project": project "/compute:beta/compute.securityPolicies.delete/requestId": request_id @@ -24356,6 +24458,10 @@ "/compute:beta/compute.securityPolicies.get": get_security_policy "/compute:beta/compute.securityPolicies.get/project": project "/compute:beta/compute.securityPolicies.get/securityPolicy": security_policy +"/compute:beta/compute.securityPolicies.getRule": get_security_policy_rule +"/compute:beta/compute.securityPolicies.getRule/priority": priority +"/compute:beta/compute.securityPolicies.getRule/project": project +"/compute:beta/compute.securityPolicies.getRule/securityPolicy": security_policy "/compute:beta/compute.securityPolicies.insert": insert_security_policy "/compute:beta/compute.securityPolicies.insert/project": project "/compute:beta/compute.securityPolicies.insert/requestId": request_id @@ -24369,6 +24475,14 @@ "/compute:beta/compute.securityPolicies.patch/project": project "/compute:beta/compute.securityPolicies.patch/requestId": request_id "/compute:beta/compute.securityPolicies.patch/securityPolicy": security_policy +"/compute:beta/compute.securityPolicies.patchRule": patch_security_policy_rule +"/compute:beta/compute.securityPolicies.patchRule/priority": priority +"/compute:beta/compute.securityPolicies.patchRule/project": project +"/compute:beta/compute.securityPolicies.patchRule/securityPolicy": security_policy +"/compute:beta/compute.securityPolicies.removeRule": remove_security_policy_rule +"/compute:beta/compute.securityPolicies.removeRule/priority": priority +"/compute:beta/compute.securityPolicies.removeRule/project": project +"/compute:beta/compute.securityPolicies.removeRule/securityPolicy": security_policy "/compute:beta/compute.securityPolicies.testIamPermissions": test_security_policy_iam_permissions "/compute:beta/compute.securityPolicies.testIamPermissions/project": project "/compute:beta/compute.securityPolicies.testIamPermissions/resource": resource @@ -24410,6 +24524,35 @@ "/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.sslPolicies.delete": delete_ssl_policy +"/compute:beta/compute.sslPolicies.delete/project": project +"/compute:beta/compute.sslPolicies.delete/requestId": request_id +"/compute:beta/compute.sslPolicies.delete/sslPolicy": ssl_policy +"/compute:beta/compute.sslPolicies.get": get_ssl_policy +"/compute:beta/compute.sslPolicies.get/project": project +"/compute:beta/compute.sslPolicies.get/sslPolicy": ssl_policy +"/compute:beta/compute.sslPolicies.insert": insert_ssl_policy +"/compute:beta/compute.sslPolicies.insert/project": project +"/compute:beta/compute.sslPolicies.insert/requestId": request_id +"/compute:beta/compute.sslPolicies.list": list_ssl_policies +"/compute:beta/compute.sslPolicies.list/filter": filter +"/compute:beta/compute.sslPolicies.list/maxResults": max_results +"/compute:beta/compute.sslPolicies.list/orderBy": order_by +"/compute:beta/compute.sslPolicies.list/pageToken": page_token +"/compute:beta/compute.sslPolicies.list/project": project +"/compute:beta/compute.sslPolicies.listAvailableFeatures": list_ssl_policy_available_features +"/compute:beta/compute.sslPolicies.listAvailableFeatures/filter": filter +"/compute:beta/compute.sslPolicies.listAvailableFeatures/maxResults": max_results +"/compute:beta/compute.sslPolicies.listAvailableFeatures/orderBy": order_by +"/compute:beta/compute.sslPolicies.listAvailableFeatures/pageToken": page_token +"/compute:beta/compute.sslPolicies.listAvailableFeatures/project": project +"/compute:beta/compute.sslPolicies.patch": patch_ssl_policy +"/compute:beta/compute.sslPolicies.patch/project": project +"/compute:beta/compute.sslPolicies.patch/requestId": request_id +"/compute:beta/compute.sslPolicies.patch/sslPolicy": ssl_policy +"/compute:beta/compute.sslPolicies.testIamPermissions": test_ssl_policy_iam_permissions +"/compute:beta/compute.sslPolicies.testIamPermissions/project": project +"/compute:beta/compute.sslPolicies.testIamPermissions/resource": resource "/compute:beta/compute.subnetworks.aggregatedList": list_aggregated_subnetworks "/compute:beta/compute.subnetworks.aggregatedList/filter": filter "/compute:beta/compute.subnetworks.aggregatedList/maxResults": max_results @@ -24502,10 +24645,18 @@ "/compute:beta/compute.targetHttpsProxies.list/orderBy": order_by "/compute:beta/compute.targetHttpsProxies.list/pageToken": page_token "/compute:beta/compute.targetHttpsProxies.list/project": project +"/compute:beta/compute.targetHttpsProxies.setQuicOverride": set_target_https_proxy_quic_override +"/compute:beta/compute.targetHttpsProxies.setQuicOverride/project": project +"/compute:beta/compute.targetHttpsProxies.setQuicOverride/requestId": request_id +"/compute:beta/compute.targetHttpsProxies.setQuicOverride/targetHttpsProxy": target_https_proxy "/compute:beta/compute.targetHttpsProxies.setSslCertificates": set_target_https_proxy_ssl_certificates "/compute:beta/compute.targetHttpsProxies.setSslCertificates/project": project "/compute:beta/compute.targetHttpsProxies.setSslCertificates/requestId": request_id "/compute:beta/compute.targetHttpsProxies.setSslCertificates/targetHttpsProxy": target_https_proxy +"/compute:beta/compute.targetHttpsProxies.setSslPolicy": set_target_https_proxy_ssl_policy +"/compute:beta/compute.targetHttpsProxies.setSslPolicy/project": project +"/compute:beta/compute.targetHttpsProxies.setSslPolicy/requestId": request_id +"/compute:beta/compute.targetHttpsProxies.setSslPolicy/targetHttpsProxy": target_https_proxy "/compute:beta/compute.targetHttpsProxies.setUrlMap": set_target_https_proxy_url_map "/compute:beta/compute.targetHttpsProxies.setUrlMap/project": project "/compute:beta/compute.targetHttpsProxies.setUrlMap/requestId": request_id @@ -24631,6 +24782,10 @@ "/compute:beta/compute.targetSslProxies.setSslCertificates/project": project "/compute:beta/compute.targetSslProxies.setSslCertificates/requestId": request_id "/compute:beta/compute.targetSslProxies.setSslCertificates/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.setSslPolicy": set_target_ssl_proxy_ssl_policy +"/compute:beta/compute.targetSslProxies.setSslPolicy/project": project +"/compute:beta/compute.targetSslProxies.setSslPolicy/requestId": request_id +"/compute:beta/compute.targetSslProxies.setSslPolicy/targetSslProxy": target_ssl_proxy "/compute:beta/compute.targetSslProxies.testIamPermissions": test_target_ssl_proxy_iam_permissions "/compute:beta/compute.targetSslProxies.testIamPermissions/project": project "/compute:beta/compute.targetSslProxies.testIamPermissions/resource": resource @@ -24684,6 +24839,11 @@ "/compute:beta/compute.targetVpnGateways.list/pageToken": page_token "/compute:beta/compute.targetVpnGateways.list/project": project "/compute:beta/compute.targetVpnGateways.list/region": region +"/compute:beta/compute.targetVpnGateways.setLabels": set_target_vpn_gateway_labels +"/compute:beta/compute.targetVpnGateways.setLabels/project": project +"/compute:beta/compute.targetVpnGateways.setLabels/region": region +"/compute:beta/compute.targetVpnGateways.setLabels/requestId": request_id +"/compute:beta/compute.targetVpnGateways.setLabels/resource": resource "/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 @@ -24748,6 +24908,11 @@ "/compute:beta/compute.vpnTunnels.list/pageToken": page_token "/compute:beta/compute.vpnTunnels.list/project": project "/compute:beta/compute.vpnTunnels.list/region": region +"/compute:beta/compute.vpnTunnels.setLabels": set_vpn_tunnel_labels +"/compute:beta/compute.vpnTunnels.setLabels/project": project +"/compute:beta/compute.vpnTunnels.setLabels/region": region +"/compute:beta/compute.vpnTunnels.setLabels/requestId": request_id +"/compute:beta/compute.vpnTunnels.setLabels/resource": resource "/compute:beta/compute.vpnTunnels.testIamPermissions": test_vpn_tunnel_iam_permissions "/compute:beta/compute.vpnTunnels.testIamPermissions/project": project "/compute:beta/compute.vpnTunnels.testIamPermissions/region": region @@ -51085,6 +51250,10 @@ "/ml:v1/GoogleCloudMlV1__AutoScaling": google_cloud_ml_v1__auto_scaling "/ml:v1/GoogleCloudMlV1__AutoScaling/minNodes": min_nodes "/ml:v1/GoogleCloudMlV1__CancelJobRequest": google_cloud_ml_v1__cancel_job_request +"/ml:v1/GoogleCloudMlV1__Capability": google_cloud_ml_v1__capability +"/ml:v1/GoogleCloudMlV1__Capability/availableAccelerators": available_accelerators +"/ml:v1/GoogleCloudMlV1__Capability/availableAccelerators/available_accelerator": available_accelerator +"/ml:v1/GoogleCloudMlV1__Capability/type": type "/ml:v1/GoogleCloudMlV1__GetConfigResponse": google_cloud_ml_v1__get_config_response "/ml:v1/GoogleCloudMlV1__GetConfigResponse/serviceAccount": service_account "/ml:v1/GoogleCloudMlV1__GetConfigResponse/serviceAccountProject": service_account_project @@ -51120,6 +51289,10 @@ "/ml:v1/GoogleCloudMlV1__ListJobsResponse/jobs": jobs "/ml:v1/GoogleCloudMlV1__ListJobsResponse/jobs/job": job "/ml:v1/GoogleCloudMlV1__ListJobsResponse/nextPageToken": next_page_token +"/ml:v1/GoogleCloudMlV1__ListLocationsResponse": google_cloud_ml_v1__list_locations_response +"/ml:v1/GoogleCloudMlV1__ListLocationsResponse/locations": locations +"/ml:v1/GoogleCloudMlV1__ListLocationsResponse/locations/location": location +"/ml:v1/GoogleCloudMlV1__ListLocationsResponse/nextPageToken": next_page_token "/ml:v1/GoogleCloudMlV1__ListModelsResponse": google_cloud_ml_v1__list_models_response "/ml:v1/GoogleCloudMlV1__ListModelsResponse/models": models "/ml:v1/GoogleCloudMlV1__ListModelsResponse/models/model": model @@ -51128,6 +51301,10 @@ "/ml:v1/GoogleCloudMlV1__ListVersionsResponse/nextPageToken": next_page_token "/ml:v1/GoogleCloudMlV1__ListVersionsResponse/versions": versions "/ml:v1/GoogleCloudMlV1__ListVersionsResponse/versions/version": version +"/ml:v1/GoogleCloudMlV1__Location": google_cloud_ml_v1__location +"/ml:v1/GoogleCloudMlV1__Location/capabilities": capabilities +"/ml:v1/GoogleCloudMlV1__Location/capabilities/capability": capability +"/ml:v1/GoogleCloudMlV1__Location/name": name "/ml:v1/GoogleCloudMlV1__ManualScaling": google_cloud_ml_v1__manual_scaling "/ml:v1/GoogleCloudMlV1__ManualScaling/nodes": nodes "/ml:v1/GoogleCloudMlV1__Model": google_cloud_ml_v1__model @@ -51359,6 +51536,12 @@ "/ml:v1/ml.projects.jobs.setIamPolicy/resource": resource "/ml:v1/ml.projects.jobs.testIamPermissions": test_project_job_iam_permissions "/ml:v1/ml.projects.jobs.testIamPermissions/resource": resource +"/ml:v1/ml.projects.locations.get": get_project_location +"/ml:v1/ml.projects.locations.get/name": name +"/ml:v1/ml.projects.locations.list": list_project_locations +"/ml:v1/ml.projects.locations.list/pageSize": page_size +"/ml:v1/ml.projects.locations.list/pageToken": page_token +"/ml:v1/ml.projects.locations.list/parent": parent "/ml:v1/ml.projects.models.create": create_project_model "/ml:v1/ml.projects.models.create/parent": parent "/ml:v1/ml.projects.models.delete": delete_project_model diff --git a/generated/google/apis/admin_directory_v1.rb b/generated/google/apis/admin_directory_v1.rb index 7341c6ee3..af63d4ce8 100644 --- a/generated/google/apis/admin_directory_v1.rb +++ b/generated/google/apis/admin_directory_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/admin-sdk/directory/ module AdminDirectoryV1 VERSION = 'DirectoryV1' - REVISION = '20171113' + REVISION = '20171127' # View and manage customer related information AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer' diff --git a/generated/google/apis/admin_directory_v1/classes.rb b/generated/google/apis/admin_directory_v1/classes.rb index 6392fdc83..209d9e51a 100644 --- a/generated/google/apis/admin_directory_v1/classes.rb +++ b/generated/google/apis/admin_directory_v1/classes.rb @@ -254,14 +254,39 @@ module Google class CalendarResource include Google::Apis::Core::Hashable + # Unique ID for the building a resource is located in. + # Corresponds to the JSON property `buildingId` + # @return [String] + attr_accessor :building_id + + # Capacity of a resource, number of seats in a room. + # Corresponds to the JSON property `capacity` + # @return [Fixnum] + attr_accessor :capacity + # ETag of the resource. # Corresponds to the JSON property `etags` # @return [String] attr_accessor :etags - # The auto-generated name of the calendar resource which includes metadata about - # the resource such as building name, floor, capacity, etc. For example, NYC-2- - # Training Room 1A (16) + # + # Corresponds to the JSON property `featureInstances` + # @return [Object] + attr_accessor :feature_instances + + # Name of the floor a resource is located on. + # Corresponds to the JSON property `floorName` + # @return [String] + attr_accessor :floor_name + + # Name of the section within a floor a resource is located in. + # Corresponds to the JSON property `floorSection` + # @return [String] + attr_accessor :floor_section + + # The read-only auto-generated name of the calendar resource which includes + # metadata about the resource such as building name, floor, capacity, etc. For + # example, "NYC-2-Training Room 1A (16)". # Corresponds to the JSON property `generatedResourceName` # @return [String] attr_accessor :generated_resource_name @@ -272,13 +297,21 @@ module Google # @return [String] attr_accessor :kind - # The brief description of the calendar resource. + # The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy + # data is set to CATEGORY_UNKNOWN. + # Corresponds to the JSON property `resourceCategory` + # @return [String] + attr_accessor :resource_category + + # Description of the resource, visible only to admins. The brief description of + # the calendar resource. # Corresponds to the JSON property `resourceDescription` # @return [String] attr_accessor :resource_description # The read-only email ID for the calendar resource. Generated as part of - # creating a new calendar resource. + # creating a new calendar resource. The read-only email for the calendar + # resource. Generated as part of creating a new calendar resource. # Corresponds to the JSON property `resourceEmail` # @return [String] attr_accessor :resource_email @@ -288,31 +321,45 @@ module Google # @return [String] attr_accessor :resource_id - # The name of the calendar resource. For example, Training Room 1A + # The name of the calendar resource. For example, "Training Room 1A". The name + # of the calendar resource. For example, Training Room 1A # Corresponds to the JSON property `resourceName` # @return [String] attr_accessor :resource_name - # The type of the calendar resource. Used for grouping resources in the calendar - # user interface. + # The type of the calendar resource, intended for non-room resources. The type + # of the calendar resource. Used for grouping resources in the calendar user + # interface. # Corresponds to the JSON property `resourceType` # @return [String] attr_accessor :resource_type + # Description of the resource, visible to users and admins. + # Corresponds to the JSON property `userVisibleDescription` + # @return [String] + attr_accessor :user_visible_description + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @building_id = args[:building_id] if args.key?(:building_id) + @capacity = args[:capacity] if args.key?(:capacity) @etags = args[:etags] if args.key?(:etags) + @feature_instances = args[:feature_instances] if args.key?(:feature_instances) + @floor_name = args[:floor_name] if args.key?(:floor_name) + @floor_section = args[:floor_section] if args.key?(:floor_section) @generated_resource_name = args[:generated_resource_name] if args.key?(:generated_resource_name) @kind = args[:kind] if args.key?(:kind) + @resource_category = args[:resource_category] if args.key?(:resource_category) @resource_description = args[:resource_description] if args.key?(:resource_description) @resource_email = args[:resource_email] if args.key?(:resource_email) @resource_id = args[:resource_id] if args.key?(:resource_id) @resource_name = args[:resource_name] if args.key?(:resource_name) @resource_type = args[:resource_type] if args.key?(:resource_type) + @user_visible_description = args[:user_visible_description] if args.key?(:user_visible_description) end end @@ -462,6 +509,11 @@ module Google # @return [String] attr_accessor :boot_mode + # List of device files to download (Read-only) + # Corresponds to the JSON property `deviceFiles` + # @return [Array] + attr_accessor :device_files + # Unique identifier of Chrome OS Device (Read-only) # Corresponds to the JSON property `deviceId` # @return [String] @@ -576,6 +628,7 @@ module Google @annotated_location = args[:annotated_location] if args.key?(:annotated_location) @annotated_user = args[:annotated_user] if args.key?(:annotated_user) @boot_mode = args[:boot_mode] if args.key?(:boot_mode) + @device_files = args[:device_files] if args.key?(:device_files) @device_id = args[:device_id] if args.key?(:device_id) @etag = args[:etag] if args.key?(:etag) @ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address) @@ -623,6 +676,43 @@ module Google end end + # + class DeviceFile + include Google::Apis::Core::Hashable + + # Date and time the file was created + # Corresponds to the JSON property `createTime` + # @return [DateTime] + attr_accessor :create_time + + # File downlod URL + # Corresponds to the JSON property `downloadUrl` + # @return [String] + attr_accessor :download_url + + # File name + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # File type + # 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) + @create_time = args[:create_time] if args.key?(:create_time) + @download_url = args[:download_url] if args.key?(:download_url) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + end + end + # class RecentUser include Google::Apis::Core::Hashable @@ -1044,6 +1134,56 @@ module Google end end + # JSON template for Feature object in Directory API. + class Feature + include Google::Apis::Core::Hashable + + # ETag of the resource. + # Corresponds to the JSON property `etags` + # @return [String] + attr_accessor :etags + + # Kind of resource this is. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The name of the feature. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etags = args[:etags] if args.key?(:etags) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # JSON template for a "feature instance". + class FeatureInstance + include Google::Apis::Core::Hashable + + # JSON template for Feature object in Directory API. + # Corresponds to the JSON property `feature` + # @return [Google::Apis::AdminDirectoryV1::Feature] + attr_accessor :feature + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @feature = args[:feature] if args.key?(:feature) + end + end + # JSON template for Group resource in Directory API. class Group include Google::Apis::Core::Hashable diff --git a/generated/google/apis/admin_directory_v1/representations.rb b/generated/google/apis/admin_directory_v1/representations.rb index 91e830a28..ffa413ba4 100644 --- a/generated/google/apis/admin_directory_v1/representations.rb +++ b/generated/google/apis/admin_directory_v1/representations.rb @@ -79,6 +79,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DeviceFile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RecentUser class Representation < Google::Apis::Core::JsonRepresentation; end @@ -142,6 +148,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Feature + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FeatureInstance + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Group class Representation < Google::Apis::Core::JsonRepresentation; end @@ -508,14 +526,21 @@ module Google class CalendarResource # @private class Representation < Google::Apis::Core::JsonRepresentation + property :building_id, as: 'buildingId' + property :capacity, as: 'capacity' property :etags, as: 'etags' + property :feature_instances, as: 'featureInstances' + property :floor_name, as: 'floorName' + property :floor_section, as: 'floorSection' property :generated_resource_name, as: 'generatedResourceName' property :kind, as: 'kind' + property :resource_category, as: 'resourceCategory' property :resource_description, as: 'resourceDescription' property :resource_email, as: 'resourceEmail' property :resource_id, as: 'resourceId' property :resource_name, as: 'resourceName' property :resource_type, as: 'resourceType' + property :user_visible_description, as: 'userVisibleDescription' end end @@ -555,6 +580,8 @@ module Google property :annotated_location, as: 'annotatedLocation' property :annotated_user, as: 'annotatedUser' property :boot_mode, as: 'bootMode' + collection :device_files, as: 'deviceFiles', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile::Representation + property :device_id, as: 'deviceId' property :etag, as: 'etag' property :ethernet_mac_address, as: 'ethernetMacAddress' @@ -590,6 +617,17 @@ module Google end end + class DeviceFile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime', type: DateTime + + property :download_url, as: 'downloadUrl' + property :name, as: 'name' + property :type, as: 'type' + end + end + class RecentUser # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -703,6 +741,23 @@ module Google end end + class Feature + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etags, as: 'etags' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class FeatureInstance + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :feature, as: 'feature', class: Google::Apis::AdminDirectoryV1::Feature, decorator: Google::Apis::AdminDirectoryV1::Feature::Representation + + end + end + class Group # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudiot_v1beta1.rb b/generated/google/apis/cloudiot_v1beta1.rb index 996988fc2..5d1296946 100644 --- a/generated/google/apis/cloudiot_v1beta1.rb +++ b/generated/google/apis/cloudiot_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/iot module CloudiotV1beta1 VERSION = 'V1beta1' - REVISION = '20171011' + REVISION = '20171204' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudiot_v1beta1/classes.rb b/generated/google/apis/cloudiot_v1beta1/classes.rb index 2b55bf337..9c1adec6c 100644 --- a/generated/google/apis/cloudiot_v1beta1/classes.rb +++ b/generated/google/apis/cloudiot_v1beta1/classes.rb @@ -541,111 +541,6 @@ module Google end end - # The device configuration obtained from Cloud IoT Core. - class HttpDeviceConfig - include Google::Apis::Core::Hashable - - # Data in binary format. - # Corresponds to the JSON property `binaryData` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :binary_data - - # The version of the configuration in Cloud IoT Core. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @binary_data = args[:binary_data] if args.key?(:binary_data) - @version = args[:version] if args.key?(:version) - end - end - - # The device state reported to Cloud IoT Core. - class HttpDeviceState - include Google::Apis::Core::Hashable - - # Data in binary format. - # Corresponds to the JSON property `binaryData` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :binary_data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @binary_data = args[:binary_data] if args.key?(:binary_data) - end - end - - # Request for `PublishEvent`. - class HttpPublishEventRequest - include Google::Apis::Core::Hashable - - # Payload data in binary format. - # Corresponds to the JSON property `binaryData` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :binary_data - - # Optional subfolder for the telemetry event. This can be used to classify - # types of events, and is included in the Pub/Sub message attributes. - # Corresponds to the JSON property `subFolder` - # @return [String] - attr_accessor :sub_folder - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @binary_data = args[:binary_data] if args.key?(:binary_data) - @sub_folder = args[:sub_folder] if args.key?(:sub_folder) - end - end - - # Response for `PublishEvent`. - class HttpPublishEventResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Request for `SetDeviceState`. - class HttpSetDeviceStateRequest - include Google::Apis::Core::Hashable - - # The device state reported to Cloud IoT Core. - # Corresponds to the JSON property `state` - # @return [Google::Apis::CloudiotV1beta1::HttpDeviceState] - attr_accessor :state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @state = args[:state] if args.key?(:state) - end - end - # Response for `ListDeviceConfigVersions`. class ListDeviceConfigVersionsResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/cloudiot_v1beta1/representations.rb b/generated/google/apis/cloudiot_v1beta1/representations.rb index 4cb603b3c..502ae00e5 100644 --- a/generated/google/apis/cloudiot_v1beta1/representations.rb +++ b/generated/google/apis/cloudiot_v1beta1/representations.rb @@ -88,36 +88,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class HttpDeviceConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HttpDeviceState - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HttpPublishEventRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HttpPublishEventResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HttpSetDeviceStateRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListDeviceConfigVersionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -299,43 +269,6 @@ module Google end end - class HttpDeviceConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :binary_data, :base64 => true, as: 'binaryData' - property :version, :numeric_string => true, as: 'version' - end - end - - class HttpDeviceState - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :binary_data, :base64 => true, as: 'binaryData' - end - end - - class HttpPublishEventRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :binary_data, :base64 => true, as: 'binaryData' - property :sub_folder, as: 'subFolder' - end - end - - class HttpPublishEventResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class HttpSetDeviceStateRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state', class: Google::Apis::CloudiotV1beta1::HttpDeviceState, decorator: Google::Apis::CloudiotV1beta1::HttpDeviceState::Representation - - end - end - class ListDeviceConfigVersionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudiot_v1beta1/service.rb b/generated/google/apis/cloudiot_v1beta1/service.rb index f08595f75..f74edacd1 100644 --- a/generated/google/apis/cloudiot_v1beta1/service.rb +++ b/generated/google/apis/cloudiot_v1beta1/service.rb @@ -432,45 +432,6 @@ module Google execute_or_queue_command(command, &block) end - # Gets the configuration of a device. - # @param [String] name - # The name of the device. For example, - # `projects/p0/locations/us-central1/registries/registry0/devices/device0`. - # @param [Fixnum] local_version - # If zero, returns the current device configuration from Cloud IoT Core. - # If nonzero, specifies the local version of the configuration on the device. - # The server returns config data only if a higher (newer) version is - # available from Cloud IoT Core. - # If this value is higher than the latest version available in Cloud IoT - # Core, returns an `OUT_OF_RANGE` error. - # @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::CloudiotV1beta1::HttpDeviceConfig] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudiotV1beta1::HttpDeviceConfig] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_registry_device_config(name, local_version: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/{+name}/config', options) - command.response_representation = Google::Apis::CloudiotV1beta1::HttpDeviceConfig::Representation - command.response_class = Google::Apis::CloudiotV1beta1::HttpDeviceConfig - command.params['name'] = name unless name.nil? - command.query['localVersion'] = local_version unless local_version.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # List devices in a device registry. # @param [String] parent # The device registry path. Required. For example, @@ -607,74 +568,6 @@ module Google execute_or_queue_command(command, &block) end - # Publishes a telemetry event for a device. - # @param [String] name - # The name of the device. For example, - # `projects/p0/locations/us-central1/registries/registry0/devices/device0`. - # @param [Google::Apis::CloudiotV1beta1::HttpPublishEventRequest] http_publish_event_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::CloudiotV1beta1::HttpPublishEventResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudiotV1beta1::HttpPublishEventResponse] - # - # @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 publish_project_location_registry_device_event(name, http_publish_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+name}:publishEvent', options) - command.request_representation = Google::Apis::CloudiotV1beta1::HttpPublishEventRequest::Representation - command.request_object = http_publish_event_request_object - command.response_representation = Google::Apis::CloudiotV1beta1::HttpPublishEventResponse::Representation - command.response_class = Google::Apis::CloudiotV1beta1::HttpPublishEventResponse - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Sets the state of a device. - # @param [String] name - # The name of the device. For example, - # `projects/p0/locations/us-central1/registries/registry0/devices/device0`. - # @param [Google::Apis::CloudiotV1beta1::HttpSetDeviceStateRequest] http_set_device_state_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::CloudiotV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudiotV1beta1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_project_location_registry_device_state(name, http_set_device_state_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+name}:setState', options) - command.request_representation = Google::Apis::CloudiotV1beta1::HttpSetDeviceStateRequest::Representation - command.request_object = http_set_device_state_request_object - command.response_representation = Google::Apis::CloudiotV1beta1::Empty::Representation - command.response_class = Google::Apis::CloudiotV1beta1::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 - # Lists the last few versions of the device configuration in descending # order (i.e.: newest first). # @param [String] name diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index d0e0f1c1a..34a416933 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20171124' + REVISION = '20171204' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index b19f800e7..6bffbb828 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -433,10 +433,10 @@ module Google attr_accessor :input_audio # Represents the query input. It can contain either: - # 1. an audio config which - # instructs the speech recognizer how to process the speech audio, - # 2. a conversational query in the form of text, or - # 3. an event that specifies which intent to trigger. + # 1. An audio config which + # instructs the speech recognizer how to process the speech audio. + # 2. A conversational query in the form of text,. + # 3. An event that specifies which intent to trigger. # Corresponds to the JSON property `queryInput` # @return [Google::Apis::DialogflowV2beta1::QueryInput] attr_accessor :query_input @@ -718,7 +718,7 @@ module Google attr_accessor :agent_content # The URI to a file containing the exported agent. This field is populated - # only if `agent_uri` + # only if `agent_uri` is specified in `ExportAgentRequest`. # Corresponds to the JSON property `agentUri` # @return [String] attr_accessor :agent_uri @@ -2003,10 +2003,10 @@ module Google end # Represents the query input. It can contain either: - # 1. an audio config which - # instructs the speech recognizer how to process the speech audio, - # 2. a conversational query in the form of text, or - # 3. an event that specifies which intent to trigger. + # 1. An audio config which + # instructs the speech recognizer how to process the speech audio. + # 2. A conversational query in the form of text,. + # 3. An event that specifies which intent to trigger. class QueryInput include Google::Apis::Core::Hashable diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index 71fe2c206..cec1edd60 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20171127' + REVISION = '20171205' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index e17bfcf08..f092059b6 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -154,6 +154,31 @@ module Google end end + # + class GoogleCloudMlV1Capability + include Google::Apis::Core::Hashable + + # Available accelerators for the capability. + # Corresponds to the JSON property `availableAccelerators` + # @return [Array] + attr_accessor :available_accelerators + + # + # 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) + @available_accelerators = args[:available_accelerators] if args.key?(:available_accelerators) + @type = args[:type] if args.key?(:type) + end + end + # Returns service account information associated with a project. class GoogleCloudMlV1GetConfigResponse include Google::Apis::Core::Hashable @@ -400,6 +425,32 @@ module Google end end + # + class GoogleCloudMlV1ListLocationsResponse + include Google::Apis::Core::Hashable + + # Locations where at least one type of CMLE capability is available. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # Optional. Pass this token as the `page_token` field of the request for a + # subsequent call. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @locations = args[:locations] if args.key?(:locations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response message for the ListModels method. class GoogleCloudMlV1ListModelsResponse include Google::Apis::Core::Hashable @@ -452,6 +503,31 @@ module Google end end + # + class GoogleCloudMlV1Location + include Google::Apis::Core::Hashable + + # Capabilities available in the location. + # Corresponds to the JSON property `capabilities` + # @return [Array] + attr_accessor :capabilities + + # + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @capabilities = args[:capabilities] if args.key?(:capabilities) + @name = args[:name] if args.key?(:name) + end + end + # Options for manually scaling a model. class GoogleCloudMlV1ManualScaling include Google::Apis::Core::Hashable diff --git a/generated/google/apis/ml_v1/representations.rb b/generated/google/apis/ml_v1/representations.rb index 16eb26863..c0ca18684 100644 --- a/generated/google/apis/ml_v1/representations.rb +++ b/generated/google/apis/ml_v1/representations.rb @@ -46,6 +46,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudMlV1Capability + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudMlV1GetConfigResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -76,6 +82,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudMlV1ListLocationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudMlV1ListModelsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -88,6 +100,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudMlV1Location + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudMlV1ManualScaling class Representation < Google::Apis::Core::JsonRepresentation; end @@ -256,6 +274,14 @@ module Google end end + class GoogleCloudMlV1Capability + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :available_accelerators, as: 'availableAccelerators' + property :type, as: 'type' + end + end + class GoogleCloudMlV1GetConfigResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -319,6 +345,15 @@ module Google end end + class GoogleCloudMlV1ListLocationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :locations, as: 'locations', class: Google::Apis::MlV1::GoogleCloudMlV1Location, decorator: Google::Apis::MlV1::GoogleCloudMlV1Location::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudMlV1ListModelsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -337,6 +372,15 @@ module Google end end + class GoogleCloudMlV1Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :capabilities, as: 'capabilities', class: Google::Apis::MlV1::GoogleCloudMlV1Capability, decorator: Google::Apis::MlV1::GoogleCloudMlV1Capability::Representation + + property :name, as: 'name' + end + end + class GoogleCloudMlV1ManualScaling # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/ml_v1/service.rb b/generated/google/apis/ml_v1/service.rb index 4a8a961d8..4158262e5 100644 --- a/generated/google/apis/ml_v1/service.rb +++ b/generated/google/apis/ml_v1/service.rb @@ -417,6 +417,79 @@ module Google execute_or_queue_command(command, &block) end + # Get the complete list of CMLE capabilities in a location, along with their + # location-specific properties. + # @param [String] name + # Required. The name of the location. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Location] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleCloudMlV1Location] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Location::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Location + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List all locations that provides at least one type of CMLE capability. + # @param [String] parent + # Required. The name of the project for which available locations are to be + # listed (since some locations might be whitelisted for specific projects). + # @param [Fixnum] page_size + # Optional. The number of locations to retrieve per "page" of results. If there + # are more remaining results than this number, the response message will + # contain a valid value in the `next_page_token` field. + # The default value is 20, and the maximum page size is 100. + # @param [String] page_token + # Optional. A page token to request the next page of results. + # You get the token from the `next_page_token` field of the response from + # the previous call. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListLocationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleCloudMlV1ListLocationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_locations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/locations', options) + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListLocationsResponse::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListLocationsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a model which will later contain one or more versions. # You must add at least one version before you can request predictions from # the model. Add versions by calling diff --git a/generated/google/apis/toolresults_v1beta3.rb b/generated/google/apis/toolresults_v1beta3.rb index 3aa64bd2b..db9fbf321 100644 --- a/generated/google/apis/toolresults_v1beta3.rb +++ b/generated/google/apis/toolresults_v1beta3.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/test-lab/ module ToolresultsV1beta3 VERSION = 'V1beta3' - REVISION = '20171113' + REVISION = '20171205' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/toolresults_v1beta3/classes.rb b/generated/google/apis/toolresults_v1beta3/classes.rb index 10460e28a..67aa654a0 100644 --- a/generated/google/apis/toolresults_v1beta3/classes.rb +++ b/generated/google/apis/toolresults_v1beta3/classes.rb @@ -581,7 +581,7 @@ module Google # zero-padded to two digits each. The fractional seconds, which can go up to 9 # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. + # indicated by "Z") is currently supported. # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on # January 15, 2017. # In JavaScript, one can convert a Date object to this format using the standard @@ -635,7 +635,7 @@ module Google # zero-padded to two digits each. The fractional seconds, which can go up to 9 # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. + # indicated by "Z") is currently supported. # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on # January 15, 2017. # In JavaScript, one can convert a Date object to this format using the standard @@ -1430,7 +1430,7 @@ module Google # zero-padded to two digits each. The fractional seconds, which can go up to 9 # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. + # indicated by "Z") is currently supported. # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on # January 15, 2017. # In JavaScript, one can convert a Date object to this format using the standard @@ -1850,7 +1850,7 @@ module Google # zero-padded to two digits each. The fractional seconds, which can go up to 9 # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. + # indicated by "Z") is currently supported. # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on # January 15, 2017. # In JavaScript, one can convert a Date object to this format using the standard @@ -1904,7 +1904,7 @@ module Google # zero-padded to two digits each. The fractional seconds, which can go up to 9 # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. + # indicated by "Z") is currently supported. # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on # January 15, 2017. # In JavaScript, one can convert a Date object to this format using the standard @@ -2534,7 +2534,7 @@ module Google # zero-padded to two digits each. The fractional seconds, which can go up to 9 # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. + # indicated by "Z") is currently supported. # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on # January 15, 2017. # In JavaScript, one can convert a Date object to this format using the standard @@ -2707,7 +2707,7 @@ module Google # zero-padded to two digits each. The fractional seconds, which can go up to 9 # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. + # indicated by "Z") is currently supported. # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on # January 15, 2017. # In JavaScript, one can convert a Date object to this format using the standard diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 433c1ba01..dde1d268b 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20171127' + REVISION = '20171205' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'