diff --git a/api_names_out.yaml b/api_names_out.yaml index 3d6a9dd1a..15196bc93 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -6237,6 +6237,7 @@ "/androidmanagement:v1/Device/lastPolicyComplianceReportTime": last_policy_compliance_report_time "/androidmanagement:v1/Device/lastPolicySyncTime": last_policy_sync_time "/androidmanagement:v1/Device/lastStatusReportTime": last_status_report_time +"/androidmanagement:v1/Device/managementMode": management_mode "/androidmanagement:v1/Device/memoryEvents": memory_events "/androidmanagement:v1/Device/memoryEvents/memory_event": memory_event "/androidmanagement:v1/Device/memoryInfo": memory_info @@ -6275,6 +6276,7 @@ "/androidmanagement:v1/EnrollmentToken/duration": duration "/androidmanagement:v1/EnrollmentToken/expirationTimestamp": expiration_timestamp "/androidmanagement:v1/EnrollmentToken/name": name +"/androidmanagement:v1/EnrollmentToken/oneTimeOnly": one_time_only "/androidmanagement:v1/EnrollmentToken/policyName": policy_name "/androidmanagement:v1/EnrollmentToken/qrCode": qr_code "/androidmanagement:v1/EnrollmentToken/value": value @@ -6463,6 +6465,8 @@ "/androidmanagement:v1/Policy/outgoingBeamDisabled": outgoing_beam_disabled "/androidmanagement:v1/Policy/outgoingCallsDisabled": outgoing_calls_disabled "/androidmanagement:v1/Policy/passwordRequirements": password_requirements +"/androidmanagement:v1/Policy/permissionGrants": permission_grants +"/androidmanagement:v1/Policy/permissionGrants/permission_grant": permission_grant "/androidmanagement:v1/Policy/permittedInputMethods": permitted_input_methods "/androidmanagement:v1/Policy/persistentPreferredActivities": persistent_preferred_activities "/androidmanagement:v1/Policy/persistentPreferredActivities/persistent_preferred_activity": persistent_preferred_activity @@ -6513,6 +6517,7 @@ "/androidmanagement:v1/SoftwareInfo/bootloaderVersion": bootloader_version "/androidmanagement:v1/SoftwareInfo/deviceBuildSignature": device_build_signature "/androidmanagement:v1/SoftwareInfo/deviceKernelVersion": device_kernel_version +"/androidmanagement:v1/SoftwareInfo/primaryLanguageCode": primary_language_code "/androidmanagement:v1/SoftwareInfo/securityPatchLevel": security_patch_level "/androidmanagement:v1/Status": status "/androidmanagement:v1/Status/code": code @@ -6555,6 +6560,7 @@ "/androidmanagement:v1/androidmanagement.enterprises.create/signupUrlName": signup_url_name "/androidmanagement:v1/androidmanagement.enterprises.devices.delete": delete_enterprise_device "/androidmanagement:v1/androidmanagement.enterprises.devices.delete/name": name +"/androidmanagement:v1/androidmanagement.enterprises.devices.delete/wipeDataFlags": wipe_data_flags "/androidmanagement:v1/androidmanagement.enterprises.devices.get": get_enterprise_device "/androidmanagement:v1/androidmanagement.enterprises.devices.get/name": name "/androidmanagement:v1/androidmanagement.enterprises.devices.issueCommand": issue_enterprise_device_command @@ -6867,6 +6873,9 @@ "/androidpublisher:v2/SubscriptionDeferralInfo": subscription_deferral_info "/androidpublisher:v2/SubscriptionDeferralInfo/desiredExpiryTimeMillis": desired_expiry_time_millis "/androidpublisher:v2/SubscriptionDeferralInfo/expectedExpiryTimeMillis": expected_expiry_time_millis +"/androidpublisher:v2/SubscriptionPriceChange": subscription_price_change +"/androidpublisher:v2/SubscriptionPriceChange/newPrice": new_price +"/androidpublisher:v2/SubscriptionPriceChange/state": state "/androidpublisher:v2/SubscriptionPurchase": subscription_purchase "/androidpublisher:v2/SubscriptionPurchase/autoRenewing": auto_renewing "/androidpublisher:v2/SubscriptionPurchase/cancelReason": cancel_reason @@ -6882,6 +6891,7 @@ "/androidpublisher:v2/SubscriptionPurchase/orderId": order_id "/androidpublisher:v2/SubscriptionPurchase/paymentState": payment_state "/androidpublisher:v2/SubscriptionPurchase/priceAmountMicros": price_amount_micros +"/androidpublisher:v2/SubscriptionPurchase/priceChange": price_change "/androidpublisher:v2/SubscriptionPurchase/priceCurrencyCode": price_currency_code "/androidpublisher:v2/SubscriptionPurchase/profileId": profile_id "/androidpublisher:v2/SubscriptionPurchase/profileName": profile_name @@ -7355,6 +7365,9 @@ "/androidpublisher:v3/SubscriptionDeferralInfo": subscription_deferral_info "/androidpublisher:v3/SubscriptionDeferralInfo/desiredExpiryTimeMillis": desired_expiry_time_millis "/androidpublisher:v3/SubscriptionDeferralInfo/expectedExpiryTimeMillis": expected_expiry_time_millis +"/androidpublisher:v3/SubscriptionPriceChange": subscription_price_change +"/androidpublisher:v3/SubscriptionPriceChange/newPrice": new_price +"/androidpublisher:v3/SubscriptionPriceChange/state": state "/androidpublisher:v3/SubscriptionPurchase": subscription_purchase "/androidpublisher:v3/SubscriptionPurchase/autoRenewing": auto_renewing "/androidpublisher:v3/SubscriptionPurchase/cancelReason": cancel_reason @@ -7370,6 +7383,7 @@ "/androidpublisher:v3/SubscriptionPurchase/orderId": order_id "/androidpublisher:v3/SubscriptionPurchase/paymentState": payment_state "/androidpublisher:v3/SubscriptionPurchase/priceAmountMicros": price_amount_micros +"/androidpublisher:v3/SubscriptionPurchase/priceChange": price_change "/androidpublisher:v3/SubscriptionPurchase/priceCurrencyCode": price_currency_code "/androidpublisher:v3/SubscriptionPurchase/profileId": profile_id "/androidpublisher:v3/SubscriptionPurchase/profileName": profile_name @@ -9912,6 +9926,7 @@ "/bigquery:v2/Dataset/access/access/view": view "/bigquery:v2/Dataset/creationTime": creation_time "/bigquery:v2/Dataset/datasetReference": dataset_reference +"/bigquery:v2/Dataset/defaultPartitionExpirationMs": default_partition_expiration_ms "/bigquery:v2/Dataset/defaultTableExpirationMs": default_table_expiration_ms "/bigquery:v2/Dataset/description": description "/bigquery:v2/Dataset/etag": etag @@ -10018,6 +10033,12 @@ "/bigquery:v2/GoogleSheetsOptions": google_sheets_options "/bigquery:v2/GoogleSheetsOptions/range": range "/bigquery:v2/GoogleSheetsOptions/skipLeadingRows": skip_leading_rows +"/bigquery:v2/IterationResult": iteration_result +"/bigquery:v2/IterationResult/durationMs": duration_ms +"/bigquery:v2/IterationResult/evalLoss": eval_loss +"/bigquery:v2/IterationResult/index": index +"/bigquery:v2/IterationResult/learnRate": learn_rate +"/bigquery:v2/IterationResult/trainingLoss": training_loss "/bigquery:v2/Job": job "/bigquery:v2/Job/configuration": configuration "/bigquery:v2/Job/etag": etag @@ -10145,6 +10166,8 @@ "/bigquery:v2/JobStatistics2/ddlOperationPerformed": ddl_operation_performed "/bigquery:v2/JobStatistics2/ddlTargetTable": ddl_target_table "/bigquery:v2/JobStatistics2/estimatedBytesProcessed": estimated_bytes_processed +"/bigquery:v2/JobStatistics2/modelTrainingCurrentIteration": model_training_current_iteration +"/bigquery:v2/JobStatistics2/modelTrainingExpectedTotalIteration": model_training_expected_total_iteration "/bigquery:v2/JobStatistics2/numDmlAffectedRows": num_dml_affected_rows "/bigquery:v2/JobStatistics2/queryPlan": query_plan "/bigquery:v2/JobStatistics2/queryPlan/query_plan": query_plan @@ -10182,6 +10205,14 @@ "/bigquery:v2/JsonObject/json_object": json_object "/bigquery:v2/JsonValue": json_value "/bigquery:v2/Location": location +"/bigquery:v2/ModelDefinition": model_definition +"/bigquery:v2/ModelDefinition/modelOptions": model_options +"/bigquery:v2/ModelDefinition/modelOptions/labels": labels +"/bigquery:v2/ModelDefinition/modelOptions/labels/label": label +"/bigquery:v2/ModelDefinition/modelOptions/lossType": loss_type +"/bigquery:v2/ModelDefinition/modelOptions/modelType": model_type +"/bigquery:v2/ModelDefinition/trainingRuns": training_runs +"/bigquery:v2/ModelDefinition/trainingRuns/training_run": training_run "/bigquery:v2/ProjectList": project_list "/bigquery:v2/ProjectList/etag": etag "/bigquery:v2/ProjectList/kind": kind @@ -10271,6 +10302,7 @@ "/bigquery:v2/Table/labels/label": label "/bigquery:v2/Table/lastModifiedTime": last_modified_time "/bigquery:v2/Table/location": location +"/bigquery:v2/Table/model": model "/bigquery:v2/Table/numBytes": num_bytes "/bigquery:v2/Table/numLongTermBytes": num_long_term_bytes "/bigquery:v2/Table/numRows": num_rows @@ -10348,6 +10380,21 @@ "/bigquery:v2/TimePartitioning/field": field "/bigquery:v2/TimePartitioning/requirePartitionFilter": require_partition_filter "/bigquery:v2/TimePartitioning/type": type +"/bigquery:v2/TrainingRun": training_run +"/bigquery:v2/TrainingRun/iterationResults": iteration_results +"/bigquery:v2/TrainingRun/iterationResults/iteration_result": iteration_result +"/bigquery:v2/TrainingRun/startTime": start_time +"/bigquery:v2/TrainingRun/state": state +"/bigquery:v2/TrainingRun/trainingOptions": training_options +"/bigquery:v2/TrainingRun/trainingOptions/earlyStop": early_stop +"/bigquery:v2/TrainingRun/trainingOptions/l1Reg": l1_reg +"/bigquery:v2/TrainingRun/trainingOptions/l2Reg": l2_reg +"/bigquery:v2/TrainingRun/trainingOptions/learnRate": learn_rate +"/bigquery:v2/TrainingRun/trainingOptions/learnRateStrategy": learn_rate_strategy +"/bigquery:v2/TrainingRun/trainingOptions/lineSearchInitLearnRate": line_search_init_learn_rate +"/bigquery:v2/TrainingRun/trainingOptions/maxIteration": max_iteration +"/bigquery:v2/TrainingRun/trainingOptions/minRelProgress": min_rel_progress +"/bigquery:v2/TrainingRun/trainingOptions/warmStart": warm_start "/bigquery:v2/UserDefinedFunctionResource": user_defined_function_resource "/bigquery:v2/UserDefinedFunctionResource/inlineCode": inline_code "/bigquery:v2/UserDefinedFunctionResource/resourceUri": resource_uri @@ -12673,6 +12720,7 @@ "/civicinfo:v2/Channel/type": type "/civicinfo:v2/Contest": contest "/civicinfo:v2/Contest/ballotPlacement": ballot_placement +"/civicinfo:v2/Contest/ballotTitle": ballot_title "/civicinfo:v2/Contest/candidates": candidates "/civicinfo:v2/Contest/candidates/candidate": candidate "/civicinfo:v2/Contest/district": district @@ -17059,6 +17107,7 @@ "/compute:alpha/AttachedDiskInitializeParams/sourceImage": source_image "/compute:alpha/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key "/compute:alpha/AttachedDiskInitializeParams/sourceSnapshot": source_snapshot +"/compute:alpha/AttachedDiskInitializeParams/sourceSnapshotEncryptionKey": source_snapshot_encryption_key "/compute:alpha/AuditConfig": audit_config "/compute:alpha/AuditConfig/auditLogConfigs": audit_log_configs "/compute:alpha/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config @@ -18988,6 +19037,7 @@ "/compute:alpha/NodeGroupNode/instances/instance": instance "/compute:alpha/NodeGroupNode/name": name "/compute:alpha/NodeGroupNode/nodeType": node_type +"/compute:alpha/NodeGroupNode/status": status "/compute:alpha/NodeGroupsAddNodesRequest": node_groups_add_nodes_request "/compute:alpha/NodeGroupsAddNodesRequest/additionalNodeCount": additional_node_count "/compute:alpha/NodeGroupsDeleteNodesRequest": node_groups_delete_nodes_request @@ -19414,6 +19464,9 @@ "/compute:alpha/RegionSetPolicyRequest/bindings/binding": binding "/compute:alpha/RegionSetPolicyRequest/etag": etag "/compute:alpha/RegionSetPolicyRequest/policy": policy +"/compute:alpha/RegionTargetHttpsProxiesSetSslCertificatesRequest": region_target_https_proxies_set_ssl_certificates_request +"/compute:alpha/RegionTargetHttpsProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates +"/compute:alpha/RegionTargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate "/compute:alpha/RegionUrlMapsValidateRequest": region_url_maps_validate_request "/compute:alpha/RegionUrlMapsValidateRequest/resource": resource "/compute:alpha/ResourceCommitment": resource_commitment @@ -19865,11 +19918,26 @@ "/compute:alpha/SslCertificate/managed": managed "/compute:alpha/SslCertificate/name": name "/compute:alpha/SslCertificate/privateKey": private_key +"/compute:alpha/SslCertificate/region": region "/compute:alpha/SslCertificate/selfLink": self_link "/compute:alpha/SslCertificate/selfManaged": self_managed "/compute:alpha/SslCertificate/subjectAlternativeNames": subject_alternative_names "/compute:alpha/SslCertificate/subjectAlternativeNames/subject_alternative_name": subject_alternative_name "/compute:alpha/SslCertificate/type": type +"/compute:alpha/SslCertificateAggregatedList": ssl_certificate_aggregated_list +"/compute:alpha/SslCertificateAggregatedList/id": id +"/compute:alpha/SslCertificateAggregatedList/items": items +"/compute:alpha/SslCertificateAggregatedList/items/item": item +"/compute:alpha/SslCertificateAggregatedList/kind": kind +"/compute:alpha/SslCertificateAggregatedList/nextPageToken": next_page_token +"/compute:alpha/SslCertificateAggregatedList/selfLink": self_link +"/compute:alpha/SslCertificateAggregatedList/warning": warning +"/compute:alpha/SslCertificateAggregatedList/warning/code": code +"/compute:alpha/SslCertificateAggregatedList/warning/data": data +"/compute:alpha/SslCertificateAggregatedList/warning/data/datum": datum +"/compute:alpha/SslCertificateAggregatedList/warning/data/datum/key": key +"/compute:alpha/SslCertificateAggregatedList/warning/data/datum/value": value +"/compute:alpha/SslCertificateAggregatedList/warning/message": message "/compute:alpha/SslCertificateList": ssl_certificate_list "/compute:alpha/SslCertificateList/id": id "/compute:alpha/SslCertificateList/items": items @@ -19893,6 +19961,16 @@ "/compute:alpha/SslCertificateSelfManagedSslCertificate": ssl_certificate_self_managed_ssl_certificate "/compute:alpha/SslCertificateSelfManagedSslCertificate/certificate": certificate "/compute:alpha/SslCertificateSelfManagedSslCertificate/privateKey": private_key +"/compute:alpha/SslCertificatesScopedList": ssl_certificates_scoped_list +"/compute:alpha/SslCertificatesScopedList/sslCertificates": ssl_certificates +"/compute:alpha/SslCertificatesScopedList/sslCertificates/ssl_certificate": ssl_certificate +"/compute:alpha/SslCertificatesScopedList/warning": warning +"/compute:alpha/SslCertificatesScopedList/warning/code": code +"/compute:alpha/SslCertificatesScopedList/warning/data": data +"/compute:alpha/SslCertificatesScopedList/warning/data/datum": datum +"/compute:alpha/SslCertificatesScopedList/warning/data/datum/key": key +"/compute:alpha/SslCertificatesScopedList/warning/data/datum/value": value +"/compute:alpha/SslCertificatesScopedList/warning/message": message "/compute:alpha/SslPoliciesList": ssl_policies_list "/compute:alpha/SslPoliciesList/id": id "/compute:alpha/SslPoliciesList/items": items @@ -19944,17 +20022,20 @@ "/compute:alpha/StatefulPolicyPreservedResources/disks": disks "/compute:alpha/StatefulPolicyPreservedResources/disks/disk": disk "/compute:alpha/Subnetwork": subnetwork +"/compute:alpha/Subnetwork/aggregationInterval": aggregation_interval "/compute:alpha/Subnetwork/allowSubnetCidrRoutesOverlap": allow_subnet_cidr_routes_overlap "/compute:alpha/Subnetwork/creationTimestamp": creation_timestamp "/compute:alpha/Subnetwork/description": description "/compute:alpha/Subnetwork/enableFlowLogs": enable_flow_logs "/compute:alpha/Subnetwork/enablePrivateV6Access": enable_private_v6_access "/compute:alpha/Subnetwork/fingerprint": fingerprint +"/compute:alpha/Subnetwork/flowSampling": flow_sampling "/compute:alpha/Subnetwork/gatewayAddress": gateway_address "/compute:alpha/Subnetwork/id": id "/compute:alpha/Subnetwork/ipCidrRange": ip_cidr_range "/compute:alpha/Subnetwork/ipv6CidrRange": ipv6_cidr_range "/compute:alpha/Subnetwork/kind": kind +"/compute:alpha/Subnetwork/metadata": metadata "/compute:alpha/Subnetwork/name": name "/compute:alpha/Subnetwork/network": network "/compute:alpha/Subnetwork/privateIpGoogleAccess": private_ip_google_access @@ -20067,6 +20148,16 @@ "/compute:alpha/TargetHttpProxyList/warning/data/datum/key": key "/compute:alpha/TargetHttpProxyList/warning/data/datum/value": value "/compute:alpha/TargetHttpProxyList/warning/message": message +"/compute:alpha/TargetHttpsProxiesScopedList": target_https_proxies_scoped_list +"/compute:alpha/TargetHttpsProxiesScopedList/targetHttpsProxies": target_https_proxies +"/compute:alpha/TargetHttpsProxiesScopedList/targetHttpsProxies/target_https_proxy": target_https_proxy +"/compute:alpha/TargetHttpsProxiesScopedList/warning": warning +"/compute:alpha/TargetHttpsProxiesScopedList/warning/code": code +"/compute:alpha/TargetHttpsProxiesScopedList/warning/data": data +"/compute:alpha/TargetHttpsProxiesScopedList/warning/data/datum": datum +"/compute:alpha/TargetHttpsProxiesScopedList/warning/data/datum/key": key +"/compute:alpha/TargetHttpsProxiesScopedList/warning/data/datum/value": value +"/compute:alpha/TargetHttpsProxiesScopedList/warning/message": message "/compute:alpha/TargetHttpsProxiesSetQuicOverrideRequest": target_https_proxies_set_quic_override_request "/compute:alpha/TargetHttpsProxiesSetQuicOverrideRequest/quicOverride": quic_override "/compute:alpha/TargetHttpsProxiesSetSslCertificatesRequest": target_https_proxies_set_ssl_certificates_request @@ -20080,11 +20171,26 @@ "/compute:alpha/TargetHttpsProxy/kind": kind "/compute:alpha/TargetHttpsProxy/name": name "/compute:alpha/TargetHttpsProxy/quicOverride": quic_override +"/compute:alpha/TargetHttpsProxy/region": region "/compute:alpha/TargetHttpsProxy/selfLink": self_link "/compute:alpha/TargetHttpsProxy/sslCertificates": ssl_certificates "/compute:alpha/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate "/compute:alpha/TargetHttpsProxy/sslPolicy": ssl_policy "/compute:alpha/TargetHttpsProxy/urlMap": url_map +"/compute:alpha/TargetHttpsProxyAggregatedList": target_https_proxy_aggregated_list +"/compute:alpha/TargetHttpsProxyAggregatedList/id": id +"/compute:alpha/TargetHttpsProxyAggregatedList/items": items +"/compute:alpha/TargetHttpsProxyAggregatedList/items/item": item +"/compute:alpha/TargetHttpsProxyAggregatedList/kind": kind +"/compute:alpha/TargetHttpsProxyAggregatedList/nextPageToken": next_page_token +"/compute:alpha/TargetHttpsProxyAggregatedList/selfLink": self_link +"/compute:alpha/TargetHttpsProxyAggregatedList/warning": warning +"/compute:alpha/TargetHttpsProxyAggregatedList/warning/code": code +"/compute:alpha/TargetHttpsProxyAggregatedList/warning/data": data +"/compute:alpha/TargetHttpsProxyAggregatedList/warning/data/datum": datum +"/compute:alpha/TargetHttpsProxyAggregatedList/warning/data/datum/key": key +"/compute:alpha/TargetHttpsProxyAggregatedList/warning/data/datum/value": value +"/compute:alpha/TargetHttpsProxyAggregatedList/warning/message": message "/compute:alpha/TargetHttpsProxyList": target_https_proxy_list "/compute:alpha/TargetHttpsProxyList/id": id "/compute:alpha/TargetHttpsProxyList/items": items @@ -20424,6 +20530,30 @@ "/compute:alpha/UsageExportLocation": usage_export_location "/compute:alpha/UsageExportLocation/bucketName": bucket_name "/compute:alpha/UsageExportLocation/reportNamePrefix": report_name_prefix +"/compute:alpha/VmEndpointNatMappings": vm_endpoint_nat_mappings +"/compute:alpha/VmEndpointNatMappings/instanceName": instance_name +"/compute:alpha/VmEndpointNatMappings/interfaceNatMappings": interface_nat_mappings +"/compute:alpha/VmEndpointNatMappings/interfaceNatMappings/interface_nat_mapping": interface_nat_mapping +"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings": vm_endpoint_nat_mappings_interface_nat_mappings +"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/natIpPortRanges": nat_ip_port_ranges +"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/natIpPortRanges/nat_ip_port_range": nat_ip_port_range +"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/numTotalNatPorts": num_total_nat_ports +"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/sourceAliasIpRange": source_alias_ip_range +"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/sourceVirtualIp": source_virtual_ip +"/compute:alpha/VmEndpointNatMappingsList": vm_endpoint_nat_mappings_list +"/compute:alpha/VmEndpointNatMappingsList/id": id +"/compute:alpha/VmEndpointNatMappingsList/kind": kind +"/compute:alpha/VmEndpointNatMappingsList/nextPageToken": next_page_token +"/compute:alpha/VmEndpointNatMappingsList/result": result +"/compute:alpha/VmEndpointNatMappingsList/result/result": result +"/compute:alpha/VmEndpointNatMappingsList/selfLink": self_link +"/compute:alpha/VmEndpointNatMappingsList/warning": warning +"/compute:alpha/VmEndpointNatMappingsList/warning/code": code +"/compute:alpha/VmEndpointNatMappingsList/warning/data": data +"/compute:alpha/VmEndpointNatMappingsList/warning/data/datum": datum +"/compute:alpha/VmEndpointNatMappingsList/warning/data/datum/key": key +"/compute:alpha/VmEndpointNatMappingsList/warning/data/datum/value": value +"/compute:alpha/VmEndpointNatMappingsList/warning/message": message "/compute:alpha/VmMaintenancePolicy": vm_maintenance_policy "/compute:alpha/VmMaintenancePolicy/maintenanceWindow": maintenance_window "/compute:alpha/VpnGateway": vpn_gateway @@ -22354,6 +22484,30 @@ "/compute:alpha/compute.regionOperations.wait/operation": operation "/compute:alpha/compute.regionOperations.wait/project": project "/compute:alpha/compute.regionOperations.wait/region": region +"/compute:alpha/compute.regionSslCertificates.delete": delete_region_ssl_certificate +"/compute:alpha/compute.regionSslCertificates.delete/project": project +"/compute:alpha/compute.regionSslCertificates.delete/region": region +"/compute:alpha/compute.regionSslCertificates.delete/requestId": request_id +"/compute:alpha/compute.regionSslCertificates.delete/sslCertificate": ssl_certificate +"/compute:alpha/compute.regionSslCertificates.get": get_region_ssl_certificate +"/compute:alpha/compute.regionSslCertificates.get/project": project +"/compute:alpha/compute.regionSslCertificates.get/region": region +"/compute:alpha/compute.regionSslCertificates.get/sslCertificate": ssl_certificate +"/compute:alpha/compute.regionSslCertificates.insert": insert_region_ssl_certificate +"/compute:alpha/compute.regionSslCertificates.insert/project": project +"/compute:alpha/compute.regionSslCertificates.insert/region": region +"/compute:alpha/compute.regionSslCertificates.insert/requestId": request_id +"/compute:alpha/compute.regionSslCertificates.list": list_region_ssl_certificates +"/compute:alpha/compute.regionSslCertificates.list/filter": filter +"/compute:alpha/compute.regionSslCertificates.list/maxResults": max_results +"/compute:alpha/compute.regionSslCertificates.list/orderBy": order_by +"/compute:alpha/compute.regionSslCertificates.list/pageToken": page_token +"/compute:alpha/compute.regionSslCertificates.list/project": project +"/compute:alpha/compute.regionSslCertificates.list/region": region +"/compute:alpha/compute.regionSslCertificates.testIamPermissions": test_region_ssl_certificate_iam_permissions +"/compute:alpha/compute.regionSslCertificates.testIamPermissions/project": project +"/compute:alpha/compute.regionSslCertificates.testIamPermissions/region": region +"/compute:alpha/compute.regionSslCertificates.testIamPermissions/resource": resource "/compute:alpha/compute.regionTargetHttpProxies.delete": delete_region_target_http_proxy "/compute:alpha/compute.regionTargetHttpProxies.delete/project": project "/compute:alpha/compute.regionTargetHttpProxies.delete/region": region @@ -22383,6 +22537,40 @@ "/compute:alpha/compute.regionTargetHttpProxies.testIamPermissions/project": project "/compute:alpha/compute.regionTargetHttpProxies.testIamPermissions/region": region "/compute:alpha/compute.regionTargetHttpProxies.testIamPermissions/resource": resource +"/compute:alpha/compute.regionTargetHttpsProxies.delete": delete_region_target_https_proxy +"/compute:alpha/compute.regionTargetHttpsProxies.delete/project": project +"/compute:alpha/compute.regionTargetHttpsProxies.delete/region": region +"/compute:alpha/compute.regionTargetHttpsProxies.delete/requestId": request_id +"/compute:alpha/compute.regionTargetHttpsProxies.delete/targetHttpsProxy": target_https_proxy +"/compute:alpha/compute.regionTargetHttpsProxies.get": get_region_target_https_proxy +"/compute:alpha/compute.regionTargetHttpsProxies.get/project": project +"/compute:alpha/compute.regionTargetHttpsProxies.get/region": region +"/compute:alpha/compute.regionTargetHttpsProxies.get/targetHttpsProxy": target_https_proxy +"/compute:alpha/compute.regionTargetHttpsProxies.insert": insert_region_target_https_proxy +"/compute:alpha/compute.regionTargetHttpsProxies.insert/project": project +"/compute:alpha/compute.regionTargetHttpsProxies.insert/region": region +"/compute:alpha/compute.regionTargetHttpsProxies.insert/requestId": request_id +"/compute:alpha/compute.regionTargetHttpsProxies.list": list_region_target_https_proxies +"/compute:alpha/compute.regionTargetHttpsProxies.list/filter": filter +"/compute:alpha/compute.regionTargetHttpsProxies.list/maxResults": max_results +"/compute:alpha/compute.regionTargetHttpsProxies.list/orderBy": order_by +"/compute:alpha/compute.regionTargetHttpsProxies.list/pageToken": page_token +"/compute:alpha/compute.regionTargetHttpsProxies.list/project": project +"/compute:alpha/compute.regionTargetHttpsProxies.list/region": region +"/compute:alpha/compute.regionTargetHttpsProxies.setSslCertificates": set_region_target_https_proxy_ssl_certificates +"/compute:alpha/compute.regionTargetHttpsProxies.setSslCertificates/project": project +"/compute:alpha/compute.regionTargetHttpsProxies.setSslCertificates/region": region +"/compute:alpha/compute.regionTargetHttpsProxies.setSslCertificates/requestId": request_id +"/compute:alpha/compute.regionTargetHttpsProxies.setSslCertificates/targetHttpsProxy": target_https_proxy +"/compute:alpha/compute.regionTargetHttpsProxies.setUrlMap": set_region_target_https_proxy_url_map +"/compute:alpha/compute.regionTargetHttpsProxies.setUrlMap/project": project +"/compute:alpha/compute.regionTargetHttpsProxies.setUrlMap/region": region +"/compute:alpha/compute.regionTargetHttpsProxies.setUrlMap/requestId": request_id +"/compute:alpha/compute.regionTargetHttpsProxies.setUrlMap/targetHttpsProxy": target_https_proxy +"/compute:alpha/compute.regionTargetHttpsProxies.testIamPermissions": test_region_target_https_proxy_iam_permissions +"/compute:alpha/compute.regionTargetHttpsProxies.testIamPermissions/project": project +"/compute:alpha/compute.regionTargetHttpsProxies.testIamPermissions/region": region +"/compute:alpha/compute.regionTargetHttpsProxies.testIamPermissions/resource": resource "/compute:alpha/compute.regionUrlMaps.delete": delete_region_url_map "/compute:alpha/compute.regionUrlMaps.delete/project": project "/compute:alpha/compute.regionUrlMaps.delete/region": region @@ -22483,6 +22671,14 @@ "/compute:alpha/compute.routers.get/project": project "/compute:alpha/compute.routers.get/region": region "/compute:alpha/compute.routers.get/router": router +"/compute:alpha/compute.routers.getNatMappingInfo": get_router_nat_mapping_info +"/compute:alpha/compute.routers.getNatMappingInfo/filter": filter +"/compute:alpha/compute.routers.getNatMappingInfo/maxResults": max_results +"/compute:alpha/compute.routers.getNatMappingInfo/orderBy": order_by +"/compute:alpha/compute.routers.getNatMappingInfo/pageToken": page_token +"/compute:alpha/compute.routers.getNatMappingInfo/project": project +"/compute:alpha/compute.routers.getNatMappingInfo/region": region +"/compute:alpha/compute.routers.getNatMappingInfo/router": router "/compute:alpha/compute.routers.getRouterStatus": get_router_router_status "/compute:alpha/compute.routers.getRouterStatus/project": project "/compute:alpha/compute.routers.getRouterStatus/region": region @@ -22610,6 +22806,12 @@ "/compute:alpha/compute.snapshots.testIamPermissions": test_snapshot_iam_permissions "/compute:alpha/compute.snapshots.testIamPermissions/project": project "/compute:alpha/compute.snapshots.testIamPermissions/resource": resource +"/compute:alpha/compute.sslCertificates.aggregatedList": aggregated_ssl_certificate_list +"/compute:alpha/compute.sslCertificates.aggregatedList/filter": filter +"/compute:alpha/compute.sslCertificates.aggregatedList/maxResults": max_results +"/compute:alpha/compute.sslCertificates.aggregatedList/orderBy": order_by +"/compute:alpha/compute.sslCertificates.aggregatedList/pageToken": page_token +"/compute:alpha/compute.sslCertificates.aggregatedList/project": project "/compute:alpha/compute.sslCertificates.delete": delete_ssl_certificate "/compute:alpha/compute.sslCertificates.delete/project": project "/compute:alpha/compute.sslCertificates.delete/requestId": request_id @@ -22746,6 +22948,12 @@ "/compute:alpha/compute.targetHttpProxies.testIamPermissions": test_target_http_proxy_iam_permissions "/compute:alpha/compute.targetHttpProxies.testIamPermissions/project": project "/compute:alpha/compute.targetHttpProxies.testIamPermissions/resource": resource +"/compute:alpha/compute.targetHttpsProxies.aggregatedList": aggregated_target_https_proxy_list +"/compute:alpha/compute.targetHttpsProxies.aggregatedList/filter": filter +"/compute:alpha/compute.targetHttpsProxies.aggregatedList/maxResults": max_results +"/compute:alpha/compute.targetHttpsProxies.aggregatedList/orderBy": order_by +"/compute:alpha/compute.targetHttpsProxies.aggregatedList/pageToken": page_token +"/compute:alpha/compute.targetHttpsProxies.aggregatedList/project": project "/compute:alpha/compute.targetHttpsProxies.delete": delete_target_https_proxy "/compute:alpha/compute.targetHttpsProxies.delete/project": project "/compute:alpha/compute.targetHttpsProxies.delete/requestId": request_id @@ -28380,6 +28588,7 @@ "/compute:v1/Backend/maxUtilization": max_utilization "/compute:v1/BackendBucket": backend_bucket "/compute:v1/BackendBucket/bucketName": bucket_name +"/compute:v1/BackendBucket/cdnPolicy": cdn_policy "/compute:v1/BackendBucket/creationTimestamp": creation_timestamp "/compute:v1/BackendBucket/description": description "/compute:v1/BackendBucket/enableCdn": enable_cdn @@ -28387,6 +28596,10 @@ "/compute:v1/BackendBucket/kind": kind "/compute:v1/BackendBucket/name": name "/compute:v1/BackendBucket/selfLink": self_link +"/compute:v1/BackendBucketCdnPolicy": backend_bucket_cdn_policy +"/compute:v1/BackendBucketCdnPolicy/signedUrlCacheMaxAgeSec": signed_url_cache_max_age_sec +"/compute:v1/BackendBucketCdnPolicy/signedUrlKeyNames": signed_url_key_names +"/compute:v1/BackendBucketCdnPolicy/signedUrlKeyNames/signed_url_key_name": signed_url_key_name "/compute:v1/BackendBucketList": backend_bucket_list "/compute:v1/BackendBucketList/id": id "/compute:v1/BackendBucketList/items": items @@ -28441,6 +28654,9 @@ "/compute:v1/BackendServiceAggregatedList/warning/message": message "/compute:v1/BackendServiceCdnPolicy": backend_service_cdn_policy "/compute:v1/BackendServiceCdnPolicy/cacheKeyPolicy": cache_key_policy +"/compute:v1/BackendServiceCdnPolicy/signedUrlCacheMaxAgeSec": signed_url_cache_max_age_sec +"/compute:v1/BackendServiceCdnPolicy/signedUrlKeyNames": signed_url_key_names +"/compute:v1/BackendServiceCdnPolicy/signedUrlKeyNames/signed_url_key_name": signed_url_key_name "/compute:v1/BackendServiceGroupHealth": backend_service_group_health "/compute:v1/BackendServiceGroupHealth/healthStatus": health_status "/compute:v1/BackendServiceGroupHealth/healthStatus/health_status": health_status @@ -28685,6 +28901,11 @@ "/compute:v1/DisksScopedList/warning/data/datum/key": key "/compute:v1/DisksScopedList/warning/data/datum/value": value "/compute:v1/DisksScopedList/warning/message": message +"/compute:v1/DistributionPolicy": distribution_policy +"/compute:v1/DistributionPolicy/zones": zones +"/compute:v1/DistributionPolicy/zones/zone": zone +"/compute:v1/DistributionPolicyZoneConfiguration": distribution_policy_zone_configuration +"/compute:v1/DistributionPolicyZoneConfiguration/zone": zone "/compute:v1/Firewall": firewall "/compute:v1/Firewall/allowed": allowed "/compute:v1/Firewall/allowed/allowed": allowed @@ -29046,6 +29267,7 @@ "/compute:v1/InstanceGroupManager/creationTimestamp": creation_timestamp "/compute:v1/InstanceGroupManager/currentActions": current_actions "/compute:v1/InstanceGroupManager/description": description +"/compute:v1/InstanceGroupManager/distributionPolicy": distribution_policy "/compute:v1/InstanceGroupManager/fingerprint": fingerprint "/compute:v1/InstanceGroupManager/id": id "/compute:v1/InstanceGroupManager/instanceGroup": instance_group @@ -30019,6 +30241,9 @@ "/compute:v1/ServiceAccount/email": email "/compute:v1/ServiceAccount/scopes": scopes "/compute:v1/ServiceAccount/scopes/scope": scope +"/compute:v1/SignedUrlKey": signed_url_key +"/compute:v1/SignedUrlKey/keyName": key_name +"/compute:v1/SignedUrlKey/keyValue": key_value "/compute:v1/Snapshot": snapshot "/compute:v1/Snapshot/creationTimestamp": creation_timestamp "/compute:v1/Snapshot/description": description @@ -30722,10 +30947,19 @@ "/compute:v1/compute.autoscalers.update/project": project "/compute:v1/compute.autoscalers.update/requestId": request_id "/compute:v1/compute.autoscalers.update/zone": zone +"/compute:v1/compute.backendBuckets.addSignedUrlKey": add_backend_bucket_signed_url_key +"/compute:v1/compute.backendBuckets.addSignedUrlKey/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.addSignedUrlKey/project": project +"/compute:v1/compute.backendBuckets.addSignedUrlKey/requestId": request_id "/compute:v1/compute.backendBuckets.delete": delete_backend_bucket "/compute:v1/compute.backendBuckets.delete/backendBucket": backend_bucket "/compute:v1/compute.backendBuckets.delete/project": project "/compute:v1/compute.backendBuckets.delete/requestId": request_id +"/compute:v1/compute.backendBuckets.deleteSignedUrlKey": delete_backend_bucket_signed_url_key +"/compute:v1/compute.backendBuckets.deleteSignedUrlKey/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.deleteSignedUrlKey/keyName": key_name +"/compute:v1/compute.backendBuckets.deleteSignedUrlKey/project": project +"/compute:v1/compute.backendBuckets.deleteSignedUrlKey/requestId": request_id "/compute:v1/compute.backendBuckets.get": get_backend_bucket "/compute:v1/compute.backendBuckets.get/backendBucket": backend_bucket "/compute:v1/compute.backendBuckets.get/project": project @@ -30746,6 +30980,10 @@ "/compute:v1/compute.backendBuckets.update/backendBucket": backend_bucket "/compute:v1/compute.backendBuckets.update/project": project "/compute:v1/compute.backendBuckets.update/requestId": request_id +"/compute:v1/compute.backendServices.addSignedUrlKey": add_backend_service_signed_url_key +"/compute:v1/compute.backendServices.addSignedUrlKey/backendService": backend_service +"/compute:v1/compute.backendServices.addSignedUrlKey/project": project +"/compute:v1/compute.backendServices.addSignedUrlKey/requestId": request_id "/compute:v1/compute.backendServices.aggregatedList": aggregated_backend_service_list "/compute:v1/compute.backendServices.aggregatedList/filter": filter "/compute:v1/compute.backendServices.aggregatedList/maxResults": max_results @@ -30756,6 +30994,11 @@ "/compute:v1/compute.backendServices.delete/backendService": backend_service "/compute:v1/compute.backendServices.delete/project": project "/compute:v1/compute.backendServices.delete/requestId": request_id +"/compute:v1/compute.backendServices.deleteSignedUrlKey": delete_backend_service_signed_url_key +"/compute:v1/compute.backendServices.deleteSignedUrlKey/backendService": backend_service +"/compute:v1/compute.backendServices.deleteSignedUrlKey/keyName": key_name +"/compute:v1/compute.backendServices.deleteSignedUrlKey/project": project +"/compute:v1/compute.backendServices.deleteSignedUrlKey/requestId": request_id "/compute:v1/compute.backendServices.get": get_backend_service "/compute:v1/compute.backendServices.get/backendService": backend_service "/compute:v1/compute.backendServices.get/project": project @@ -35623,6 +35866,7 @@ "/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails/shipByDate": ship_by_date "/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateShipment": orders_custom_batch_request_entry_update_shipment "/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateShipment/carrier": carrier +"/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateShipment/deliveryDate": delivery_date "/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateShipment/shipmentId": shipment_id "/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateShipment/status": status "/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateShipment/trackingId": tracking_id @@ -35740,6 +35984,7 @@ "/content:v2sandbox/OrdersUpdateMerchantOrderIdResponse/kind": kind "/content:v2sandbox/OrdersUpdateShipmentRequest": orders_update_shipment_request "/content:v2sandbox/OrdersUpdateShipmentRequest/carrier": carrier +"/content:v2sandbox/OrdersUpdateShipmentRequest/deliveryDate": delivery_date "/content:v2sandbox/OrdersUpdateShipmentRequest/operationId": operation_id "/content:v2sandbox/OrdersUpdateShipmentRequest/shipmentId": shipment_id "/content:v2sandbox/OrdersUpdateShipmentRequest/status": status @@ -60278,6 +60523,7 @@ "/groupssettings:v1/Groups/defaultMessageDenyNotificationText": default_message_deny_notification_text "/groupssettings:v1/Groups/description": description "/groupssettings:v1/Groups/email": email +"/groupssettings:v1/Groups/favoriteRepliesOnTop": favorite_replies_on_top "/groupssettings:v1/Groups/includeCustomFooter": include_custom_footer "/groupssettings:v1/Groups/includeInGlobalAddressList": include_in_global_address_list "/groupssettings:v1/Groups/isArchived": is_archived @@ -60293,11 +60539,22 @@ "/groupssettings:v1/Groups/showInGroupDirectory": show_in_group_directory "/groupssettings:v1/Groups/spamModerationLevel": spam_moderation_level "/groupssettings:v1/Groups/whoCanAdd": who_can_add +"/groupssettings:v1/Groups/whoCanAddReferences": who_can_add_references +"/groupssettings:v1/Groups/whoCanAssignTopics": who_can_assign_topics "/groupssettings:v1/Groups/whoCanContactOwner": who_can_contact_owner +"/groupssettings:v1/Groups/whoCanEnterFreeFormTags": who_can_enter_free_form_tags "/groupssettings:v1/Groups/whoCanInvite": who_can_invite "/groupssettings:v1/Groups/whoCanJoin": who_can_join "/groupssettings:v1/Groups/whoCanLeaveGroup": who_can_leave_group +"/groupssettings:v1/Groups/whoCanMarkDuplicate": who_can_mark_duplicate +"/groupssettings:v1/Groups/whoCanMarkFavoriteReplyOnAnyTopic": who_can_mark_favorite_reply_on_any_topic +"/groupssettings:v1/Groups/whoCanMarkFavoriteReplyOnOwnTopic": who_can_mark_favorite_reply_on_own_topic +"/groupssettings:v1/Groups/whoCanMarkNoResponseNeeded": who_can_mark_no_response_needed +"/groupssettings:v1/Groups/whoCanModifyTagsAndCategories": who_can_modify_tags_and_categories "/groupssettings:v1/Groups/whoCanPostMessage": who_can_post_message +"/groupssettings:v1/Groups/whoCanTakeTopics": who_can_take_topics +"/groupssettings:v1/Groups/whoCanUnassignTopic": who_can_unassign_topic +"/groupssettings:v1/Groups/whoCanUnmarkFavoriteReplyOnAnyTopic": who_can_unmark_favorite_reply_on_any_topic "/groupssettings:v1/Groups/whoCanViewGroup": who_can_view_group "/groupssettings:v1/Groups/whoCanViewMembership": who_can_view_membership "/groupssettings:v1/fields": fields @@ -75325,6 +75582,7 @@ "/sqladmin:v1beta4/IpConfiguration/authorizedNetworks": authorized_networks "/sqladmin:v1beta4/IpConfiguration/authorizedNetworks/authorized_network": authorized_network "/sqladmin:v1beta4/IpConfiguration/ipv4Enabled": ipv4_enabled +"/sqladmin:v1beta4/IpConfiguration/privateNetwork": private_network "/sqladmin:v1beta4/IpConfiguration/requireSsl": require_ssl "/sqladmin:v1beta4/IpMapping": ip_mapping "/sqladmin:v1beta4/IpMapping/ipAddress": ip_address @@ -78735,6 +78993,7 @@ "/toolresults:v1beta3/TestExecutionStep/testTiming": test_timing "/toolresults:v1beta3/TestExecutionStep/toolExecution": tool_execution "/toolresults:v1beta3/TestIssue": test_issue +"/toolresults:v1beta3/TestIssue/category": category "/toolresults:v1beta3/TestIssue/errorMessage": error_message "/toolresults:v1beta3/TestIssue/severity": severity "/toolresults:v1beta3/TestIssue/stackTrace": stack_trace diff --git a/generated/google/apis/adexchangebuyer_v1_2.rb b/generated/google/apis/adexchangebuyer_v1_2.rb index a2c2203f9..bf45ae2c4 100644 --- a/generated/google/apis/adexchangebuyer_v1_2.rb +++ b/generated/google/apis/adexchangebuyer_v1_2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest module AdexchangebuyerV1_2 VERSION = 'V1_2' - REVISION = '20180222' + REVISION = '' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer_v1_3.rb b/generated/google/apis/adexchangebuyer_v1_3.rb index 63e911014..051d395e8 100644 --- a/generated/google/apis/adexchangebuyer_v1_3.rb +++ b/generated/google/apis/adexchangebuyer_v1_3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest module AdexchangebuyerV1_3 VERSION = 'V1_3' - REVISION = '20180222' + REVISION = '' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer_v1_4.rb b/generated/google/apis/adexchangebuyer_v1_4.rb index 72a66487e..b4891c63c 100644 --- a/generated/google/apis/adexchangebuyer_v1_4.rb +++ b/generated/google/apis/adexchangebuyer_v1_4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest module AdexchangebuyerV1_4 VERSION = 'V1_4' - REVISION = '20180222' + REVISION = '' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangeseller_v1.rb b/generated/google/apis/adexchangeseller_v1.rb index 00a50de46..2504c4fc9 100644 --- a/generated/google/apis/adexchangeseller_v1.rb +++ b/generated/google/apis/adexchangeseller_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/ad-exchange/seller-rest/ module AdexchangesellerV1 VERSION = 'V1' - REVISION = '20171101' + REVISION = '' # View and manage your Ad Exchange data AUTH_ADEXCHANGE_SELLER = 'https://www.googleapis.com/auth/adexchange.seller' diff --git a/generated/google/apis/adexchangeseller_v1_1.rb b/generated/google/apis/adexchangeseller_v1_1.rb index 05e848879..b4976fede 100644 --- a/generated/google/apis/adexchangeseller_v1_1.rb +++ b/generated/google/apis/adexchangeseller_v1_1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/ad-exchange/seller-rest/ module AdexchangesellerV1_1 VERSION = 'V1_1' - REVISION = '20171101' + REVISION = '' # View and manage your Ad Exchange data AUTH_ADEXCHANGE_SELLER = 'https://www.googleapis.com/auth/adexchange.seller' diff --git a/generated/google/apis/adexchangeseller_v2_0.rb b/generated/google/apis/adexchangeseller_v2_0.rb index 83d040011..df27c046f 100644 --- a/generated/google/apis/adexchangeseller_v2_0.rb +++ b/generated/google/apis/adexchangeseller_v2_0.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/ad-exchange/seller-rest/ module AdexchangesellerV2_0 VERSION = 'V2_0' - REVISION = '20171101' + REVISION = '' # View and manage your Ad Exchange data AUTH_ADEXCHANGE_SELLER = 'https://www.googleapis.com/auth/adexchange.seller' diff --git a/generated/google/apis/admin_datatransfer_v1.rb b/generated/google/apis/admin_datatransfer_v1.rb index 0b1393650..103ef5138 100644 --- a/generated/google/apis/admin_datatransfer_v1.rb +++ b/generated/google/apis/admin_datatransfer_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/admin-sdk/data-transfer/ module AdminDatatransferV1 VERSION = 'DatatransferV1' - REVISION = '20160223' + REVISION = '' # View and manage data transfers between users in your organization AUTH_ADMIN_DATATRANSFER = 'https://www.googleapis.com/auth/admin.datatransfer' diff --git a/generated/google/apis/admin_directory_v1.rb b/generated/google/apis/admin_directory_v1.rb index 8031bf7d8..02b63533f 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 = '20180604' + REVISION = '' # 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_reports_v1.rb b/generated/google/apis/admin_reports_v1.rb index 41b1527e3..ca1f9c6cd 100644 --- a/generated/google/apis/admin_reports_v1.rb +++ b/generated/google/apis/admin_reports_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/admin-sdk/reports/ module AdminReportsV1 VERSION = 'ReportsV1' - REVISION = '20180514' + REVISION = '' # View audit reports for your G Suite domain AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly' diff --git a/generated/google/apis/adsense_v1_4.rb b/generated/google/apis/adsense_v1_4.rb index b4454f968..6e29c6335 100644 --- a/generated/google/apis/adsense_v1_4.rb +++ b/generated/google/apis/adsense_v1_4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/adsense/management/ module AdsenseV1_4 VERSION = 'V1_4' - REVISION = '20180429' + REVISION = '' # View and manage your AdSense data AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense' diff --git a/generated/google/apis/adsensehost_v4_1.rb b/generated/google/apis/adsensehost_v4_1.rb index 264570598..96c0f81ec 100644 --- a/generated/google/apis/adsensehost_v4_1.rb +++ b/generated/google/apis/adsensehost_v4_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/adsense/host/ module AdsensehostV4_1 VERSION = 'V4_1' - REVISION = '20180501' + REVISION = '' # View and manage your AdSense host data and associated accounts AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost' diff --git a/generated/google/apis/analytics_v2_4.rb b/generated/google/apis/analytics_v2_4.rb index a6dfb79ca..7bb2b920a 100644 --- a/generated/google/apis/analytics_v2_4.rb +++ b/generated/google/apis/analytics_v2_4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/analytics/ module AnalyticsV2_4 VERSION = 'V2_4' - REVISION = '20180417' + REVISION = '' # View and manage your Google Analytics data AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' diff --git a/generated/google/apis/analytics_v3.rb b/generated/google/apis/analytics_v3.rb index c48eecda3..8171ae00d 100644 --- a/generated/google/apis/analytics_v3.rb +++ b/generated/google/apis/analytics_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/analytics/ module AnalyticsV3 VERSION = 'V3' - REVISION = '20180514' + REVISION = '' # View and manage your Google Analytics data AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 1c9de8d79..d663c7821 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20180502' + REVISION = '' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb index 539ce36ca..0b07a7427 100644 --- a/generated/google/apis/androidmanagement_v1.rb +++ b/generated/google/apis/androidmanagement_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/android/management module AndroidmanagementV1 VERSION = 'V1' - REVISION = '20180604' + REVISION = '20180706' # Manage Android devices and apps for your customers AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement' diff --git a/generated/google/apis/androidmanagement_v1/classes.rb b/generated/google/apis/androidmanagement_v1/classes.rb index 1f9f0f098..ae4ddfb12 100644 --- a/generated/google/apis/androidmanagement_v1/classes.rb +++ b/generated/google/apis/androidmanagement_v1/classes.rb @@ -465,6 +465,12 @@ module Google # @return [Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition] attr_accessor :non_compliance_detail_condition + # If set, the rule includes a mitigating action to disable apps specified in the + # list, but app data is preserved. + # Corresponds to the JSON property `packageNamesToDisable` + # @return [Array] + attr_accessor :package_names_to_disable + def initialize(**args) update!(**args) end @@ -474,6 +480,7 @@ module Google @api_level_condition = args[:api_level_condition] if args.key?(:api_level_condition) @disable_apps = args[:disable_apps] if args.key?(:disable_apps) @non_compliance_detail_condition = args[:non_compliance_detail_condition] if args.key?(:non_compliance_detail_condition) + @package_names_to_disable = args[:package_names_to_disable] if args.key?(:package_names_to_disable) end end @@ -573,6 +580,12 @@ module Google # @return [String] attr_accessor :last_status_report_time + # The type of management mode Android Device Policy takes on the device. This + # influences which policy settings are supported. + # Corresponds to the JSON property `managementMode` + # @return [String] + attr_accessor :management_mode + # Events related to memory and storage measurements in chronological order. This # information is only available if memoryInfoEnabled is true in the device's # policy. @@ -673,6 +686,7 @@ module Google @last_policy_compliance_report_time = args[:last_policy_compliance_report_time] if args.key?(:last_policy_compliance_report_time) @last_policy_sync_time = args[:last_policy_sync_time] if args.key?(:last_policy_sync_time) @last_status_report_time = args[:last_status_report_time] if args.key?(:last_status_report_time) + @management_mode = args[:management_mode] if args.key?(:management_mode) @memory_events = args[:memory_events] if args.key?(:memory_events) @memory_info = args[:memory_info] if args.key?(:memory_info) @name = args[:name] if args.key?(:name) @@ -857,6 +871,13 @@ module Google # @return [String] attr_accessor :name + # Whether the enrollment token is for one time use only. If the flag is set to + # true, only one device can use it for registration. + # Corresponds to the JSON property `oneTimeOnly` + # @return [Boolean] + attr_accessor :one_time_only + alias_method :one_time_only?, :one_time_only + # The name of the policy initially applied to the enrolled device, in the form # enterprises/`enterpriseId`/policies/`policyId`. If not specified, the # policy_name for the device’s user is applied. If user_name is also not @@ -892,6 +913,7 @@ module Google @duration = args[:duration] if args.key?(:duration) @expiration_timestamp = args[:expiration_timestamp] if args.key?(:expiration_timestamp) @name = args[:name] if args.key?(:name) + @one_time_only = args[:one_time_only] if args.key?(:one_time_only) @policy_name = args[:policy_name] if args.key?(:policy_name) @qr_code = args[:qr_code] if args.key?(:qr_code) @value = args[:value] if args.key?(:value) @@ -2067,6 +2089,12 @@ module Google # @return [Google::Apis::AndroidmanagementV1::PasswordRequirements] attr_accessor :password_requirements + # Explicit permission or group grants or denials for all apps. These values + # override the default_permission_policy. + # Corresponds to the JSON property `permissionGrants` + # @return [Array] + attr_accessor :permission_grants + # A list of package names. # Corresponds to the JSON property `permittedInputMethods` # @return [Google::Apis::AndroidmanagementV1::PackageNameList] @@ -2277,6 +2305,7 @@ module Google @outgoing_beam_disabled = args[:outgoing_beam_disabled] if args.key?(:outgoing_beam_disabled) @outgoing_calls_disabled = args[:outgoing_calls_disabled] if args.key?(:outgoing_calls_disabled) @password_requirements = args[:password_requirements] if args.key?(:password_requirements) + @permission_grants = args[:permission_grants] if args.key?(:permission_grants) @permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods) @persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities) @private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled) @@ -2451,6 +2480,11 @@ module Google # @return [String] attr_accessor :device_kernel_version + # An IETF BCP 47 language code for the primary locale on the device. + # Corresponds to the JSON property `primaryLanguageCode` + # @return [String] + attr_accessor :primary_language_code + # Security patch level, e.g. 2016-05-01. # Corresponds to the JSON property `securityPatchLevel` # @return [String] @@ -2470,6 +2504,7 @@ module Google @bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version) @device_build_signature = args[:device_build_signature] if args.key?(:device_build_signature) @device_kernel_version = args[:device_kernel_version] if args.key?(:device_kernel_version) + @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code) @security_patch_level = args[:security_patch_level] if args.key?(:security_patch_level) end end diff --git a/generated/google/apis/androidmanagement_v1/representations.rb b/generated/google/apis/androidmanagement_v1/representations.rb index a97decdd9..dd758b6ca 100644 --- a/generated/google/apis/androidmanagement_v1/representations.rb +++ b/generated/google/apis/androidmanagement_v1/representations.rb @@ -399,6 +399,7 @@ module Google property :disable_apps, as: 'disableApps' property :non_compliance_detail_condition, as: 'nonComplianceDetailCondition', class: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition, decorator: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition::Representation + collection :package_names_to_disable, as: 'packageNamesToDisable' end end @@ -427,6 +428,7 @@ module Google property :last_policy_compliance_report_time, as: 'lastPolicyComplianceReportTime' property :last_policy_sync_time, as: 'lastPolicySyncTime' property :last_status_report_time, as: 'lastStatusReportTime' + property :management_mode, as: 'managementMode' collection :memory_events, as: 'memoryEvents', class: Google::Apis::AndroidmanagementV1::MemoryEvent, decorator: Google::Apis::AndroidmanagementV1::MemoryEvent::Representation property :memory_info, as: 'memoryInfo', class: Google::Apis::AndroidmanagementV1::MemoryInfo, decorator: Google::Apis::AndroidmanagementV1::MemoryInfo::Representation @@ -487,6 +489,7 @@ module Google property :duration, as: 'duration' property :expiration_timestamp, as: 'expirationTimestamp' property :name, as: 'name' + property :one_time_only, as: 'oneTimeOnly' property :policy_name, as: 'policyName' property :qr_code, as: 'qrCode' property :value, as: 'value' @@ -756,6 +759,8 @@ module Google property :outgoing_calls_disabled, as: 'outgoingCallsDisabled' property :password_requirements, as: 'passwordRequirements', class: Google::Apis::AndroidmanagementV1::PasswordRequirements, decorator: Google::Apis::AndroidmanagementV1::PasswordRequirements::Representation + collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation + property :permitted_input_methods, as: 'permittedInputMethods', class: Google::Apis::AndroidmanagementV1::PackageNameList, decorator: Google::Apis::AndroidmanagementV1::PackageNameList::Representation collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation @@ -829,6 +834,7 @@ module Google property :bootloader_version, as: 'bootloaderVersion' property :device_build_signature, as: 'deviceBuildSignature' property :device_kernel_version, as: 'deviceKernelVersion' + property :primary_language_code, as: 'primaryLanguageCode' property :security_patch_level, as: 'securityPatchLevel' end end diff --git a/generated/google/apis/androidmanagement_v1/service.rb b/generated/google/apis/androidmanagement_v1/service.rb index 4aff286f7..b8a34b576 100644 --- a/generated/google/apis/androidmanagement_v1/service.rb +++ b/generated/google/apis/androidmanagement_v1/service.rb @@ -194,6 +194,8 @@ module Google # @param [String] name # The name of the device in the form enterprises/`enterpriseId`/devices/` # deviceId`. + # @param [Array, String] wipe_data_flags + # Optional flags that control the device wiping behavior. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -211,11 +213,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_enterprise_device(name, fields: nil, quota_user: nil, options: nil, &block) + def delete_enterprise_device(name, wipe_data_flags: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation command.response_class = Google::Apis::AndroidmanagementV1::Empty command.params['name'] = name unless name.nil? + command.query['wipeDataFlags'] = wipe_data_flags unless wipe_data_flags.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/androidpublisher_v1.rb b/generated/google/apis/androidpublisher_v1.rb index ed533d4ce..4d782c9d7 100644 --- a/generated/google/apis/androidpublisher_v1.rb +++ b/generated/google/apis/androidpublisher_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV1 VERSION = 'V1' - REVISION = '20180501' + REVISION = '' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v1_1.rb b/generated/google/apis/androidpublisher_v1_1.rb index 688102617..c4a1c3925 100644 --- a/generated/google/apis/androidpublisher_v1_1.rb +++ b/generated/google/apis/androidpublisher_v1_1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV1_1 VERSION = 'V1_1' - REVISION = '20180425' + REVISION = '' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb index 82b3d3f95..982d15d2c 100644 --- a/generated/google/apis/androidpublisher_v2.rb +++ b/generated/google/apis/androidpublisher_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV2 VERSION = 'V2' - REVISION = '20180605' + REVISION = '' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v2/classes.rb b/generated/google/apis/androidpublisher_v2/classes.rb index d2f935269..56073e2b4 100644 --- a/generated/google/apis/androidpublisher_v2/classes.rb +++ b/generated/google/apis/androidpublisher_v2/classes.rb @@ -1378,6 +1378,42 @@ module Google end end + # Contains the price change information for a subscription that can be used to + # control the user journey for the price change in the app. This can be in the + # form of seeking confirmation from the user or tailoring the experience for a + # successful conversion. + class SubscriptionPriceChange + include Google::Apis::Core::Hashable + + # The new price the subscription will renew with if the price change is accepted + # by the user. + # Corresponds to the JSON property `newPrice` + # @return [Google::Apis::AndroidpublisherV2::Price] + attr_accessor :new_price + + # The current state of the price change. Possible values are: + # - Outstanding: State for a pending price change waiting for the user to agree. + # In this state, you can optionally seek confirmation from the user using the In- + # App API. + # - Accepted: State for an accepted price change that the subscription will + # renew with unless it's canceled. The price change takes effect on a future + # date when the subscription renews. Note that the change might not occur when + # the subscription is renewed next. + # Corresponds to the JSON property `state` + # @return [Fixnum] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @new_price = args[:new_price] if args.key?(:new_price) + @state = args[:state] if args.key?(:state) + end + end + # A SubscriptionPurchase resource indicates the status of a user's subscription # purchase. class SubscriptionPurchase @@ -1484,6 +1520,14 @@ module Google # @return [Fixnum] attr_accessor :price_amount_micros + # Contains the price change information for a subscription that can be used to + # control the user journey for the price change in the app. This can be in the + # form of seeking confirmation from the user or tailoring the experience for a + # successful conversion. + # Corresponds to the JSON property `priceChange` + # @return [Google::Apis::AndroidpublisherV2::SubscriptionPriceChange] + attr_accessor :price_change + # ISO 4217 currency code for the subscription price. For example, if the price # is specified in British pounds sterling, price_currency_code is "GBP". # Corresponds to the JSON property `priceCurrencyCode` @@ -1541,6 +1585,7 @@ module Google @order_id = args[:order_id] if args.key?(:order_id) @payment_state = args[:payment_state] if args.key?(:payment_state) @price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros) + @price_change = args[:price_change] if args.key?(:price_change) @price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code) @profile_id = args[:profile_id] if args.key?(:profile_id) @profile_name = args[:profile_name] if args.key?(:profile_name) diff --git a/generated/google/apis/androidpublisher_v2/representations.rb b/generated/google/apis/androidpublisher_v2/representations.rb index d92e0f218..1794753a5 100644 --- a/generated/google/apis/androidpublisher_v2/representations.rb +++ b/generated/google/apis/androidpublisher_v2/representations.rb @@ -274,6 +274,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SubscriptionPriceChange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SubscriptionPurchase class Representation < Google::Apis::Core::JsonRepresentation; end @@ -750,6 +756,15 @@ module Google end end + class SubscriptionPriceChange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :new_price, as: 'newPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation + + property :state, as: 'state' + end + end + class SubscriptionPurchase # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -768,6 +783,8 @@ module Google property :order_id, as: 'orderId' property :payment_state, as: 'paymentState' property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros' + property :price_change, as: 'priceChange', class: Google::Apis::AndroidpublisherV2::SubscriptionPriceChange, decorator: Google::Apis::AndroidpublisherV2::SubscriptionPriceChange::Representation + property :price_currency_code, as: 'priceCurrencyCode' property :profile_id, as: 'profileId' property :profile_name, as: 'profileName' diff --git a/generated/google/apis/androidpublisher_v2/service.rb b/generated/google/apis/androidpublisher_v2/service.rb index 8e86c32ca..1eb079ac0 100644 --- a/generated/google/apis/androidpublisher_v2/service.rb +++ b/generated/google/apis/androidpublisher_v2/service.rb @@ -668,7 +668,11 @@ module Google execute_or_queue_command(command, &block) end - # + # Uploads a new Android App Bundle to this edit. If you are using the Google API + # client libraries, please increase the timeout of the http request before + # calling this endpoint (a timeout of 2 minutes is recommended). See: https:// + # developers.google.com/api-client-library/java/google-api-java-client/errors + # for an example in java. # @param [String] package_name # Unique identifier for the Android app that is being updated; for example, "com. # spiffygame". diff --git a/generated/google/apis/androidpublisher_v3.rb b/generated/google/apis/androidpublisher_v3.rb index 576c069f1..4c5800f9b 100644 --- a/generated/google/apis/androidpublisher_v3.rb +++ b/generated/google/apis/androidpublisher_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV3 VERSION = 'V3' - REVISION = '20180605' + REVISION = '' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v3/classes.rb b/generated/google/apis/androidpublisher_v3/classes.rb index b15fb8773..813c9a3d6 100644 --- a/generated/google/apis/androidpublisher_v3/classes.rb +++ b/generated/google/apis/androidpublisher_v3/classes.rb @@ -1352,6 +1352,42 @@ module Google end end + # Contains the price change information for a subscription that can be used to + # control the user journey for the price change in the app. This can be in the + # form of seeking confirmation from the user or tailoring the experience for a + # successful conversion. + class SubscriptionPriceChange + include Google::Apis::Core::Hashable + + # The new price the subscription will renew with if the price change is accepted + # by the user. + # Corresponds to the JSON property `newPrice` + # @return [Google::Apis::AndroidpublisherV3::Price] + attr_accessor :new_price + + # The current state of the price change. Possible values are: + # - Outstanding: State for a pending price change waiting for the user to agree. + # In this state, you can optionally seek confirmation from the user using the In- + # App API. + # - Accepted: State for an accepted price change that the subscription will + # renew with unless it's canceled. The price change takes effect on a future + # date when the subscription renews. Note that the change might not occur when + # the subscription is renewed next. + # Corresponds to the JSON property `state` + # @return [Fixnum] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @new_price = args[:new_price] if args.key?(:new_price) + @state = args[:state] if args.key?(:state) + end + end + # A SubscriptionPurchase resource indicates the status of a user's subscription # purchase. class SubscriptionPurchase @@ -1458,6 +1494,14 @@ module Google # @return [Fixnum] attr_accessor :price_amount_micros + # Contains the price change information for a subscription that can be used to + # control the user journey for the price change in the app. This can be in the + # form of seeking confirmation from the user or tailoring the experience for a + # successful conversion. + # Corresponds to the JSON property `priceChange` + # @return [Google::Apis::AndroidpublisherV3::SubscriptionPriceChange] + attr_accessor :price_change + # ISO 4217 currency code for the subscription price. For example, if the price # is specified in British pounds sterling, price_currency_code is "GBP". # Corresponds to the JSON property `priceCurrencyCode` @@ -1515,6 +1559,7 @@ module Google @order_id = args[:order_id] if args.key?(:order_id) @payment_state = args[:payment_state] if args.key?(:payment_state) @price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros) + @price_change = args[:price_change] if args.key?(:price_change) @price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code) @profile_id = args[:profile_id] if args.key?(:profile_id) @profile_name = args[:profile_name] if args.key?(:profile_name) diff --git a/generated/google/apis/androidpublisher_v3/representations.rb b/generated/google/apis/androidpublisher_v3/representations.rb index b2238e8da..0cea07929 100644 --- a/generated/google/apis/androidpublisher_v3/representations.rb +++ b/generated/google/apis/androidpublisher_v3/representations.rb @@ -268,6 +268,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SubscriptionPriceChange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SubscriptionPurchase class Representation < Google::Apis::Core::JsonRepresentation; end @@ -741,6 +747,15 @@ module Google end end + class SubscriptionPriceChange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :new_price, as: 'newPrice', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation + + property :state, as: 'state' + end + end + class SubscriptionPurchase # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -759,6 +774,8 @@ module Google property :order_id, as: 'orderId' property :payment_state, as: 'paymentState' property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros' + property :price_change, as: 'priceChange', class: Google::Apis::AndroidpublisherV3::SubscriptionPriceChange, decorator: Google::Apis::AndroidpublisherV3::SubscriptionPriceChange::Representation + property :price_currency_code, as: 'priceCurrencyCode' property :profile_id, as: 'profileId' property :profile_name, as: 'profileName' diff --git a/generated/google/apis/androidpublisher_v3/service.rb b/generated/google/apis/androidpublisher_v3/service.rb index 960c13a46..0e61b355e 100644 --- a/generated/google/apis/androidpublisher_v3/service.rb +++ b/generated/google/apis/androidpublisher_v3/service.rb @@ -402,7 +402,11 @@ module Google execute_or_queue_command(command, &block) end - # + # Uploads a new Android App Bundle to this edit. If you are using the Google API + # client libraries, please increase the timeout of the http request before + # calling this endpoint (a timeout of 2 minutes is recommended). See: https:// + # developers.google.com/api-client-library/java/google-api-java-client/errors + # for an example in java. # @param [String] package_name # Unique identifier for the Android app that is being updated; for example, "com. # spiffygame". diff --git a/generated/google/apis/appsactivity_v1.rb b/generated/google/apis/appsactivity_v1.rb index 30fbbcce2..c6ccfa456 100644 --- a/generated/google/apis/appsactivity_v1.rb +++ b/generated/google/apis/appsactivity_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/activity/ module AppsactivityV1 VERSION = 'V1' - REVISION = '20180427' + REVISION = '' # View the activity history of your Google apps AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity' diff --git a/generated/google/apis/appstate_v1.rb b/generated/google/apis/appstate_v1.rb index afeb16931..791ab649a 100644 --- a/generated/google/apis/appstate_v1.rb +++ b/generated/google/apis/appstate_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/web/api/states module AppstateV1 VERSION = 'V1' - REVISION = '20180417' + REVISION = '' # View and manage your data for this application AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate' diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index a6290248b..b5581cd8e 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20180603' + REVISION = '' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index a853d9bea..a08507cf5 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -314,6 +314,22 @@ module Google # @return [Google::Apis::BigqueryV2::DatasetReference] attr_accessor :dataset_reference + # [Optional] The default partition expiration for all partitioned tables in the + # dataset, in milliseconds. Once this property is set, all newly-created + # partitioned tables in the dataset will have an expirationMs property in the + # timePartitioning settings set to this value, and changing the value will only + # affect new tables, not existing ones. The storage in a partition will have an + # expiration time of its partition time plus this value. Setting this property + # overrides the use of defaultTableExpirationMs for partitioned tables: only one + # of defaultTableExpirationMs and defaultPartitionExpirationMs will be used for + # any new partitioned table. If you provide an explicit timePartitioning. + # expirationMs when creating or updating a partitioned table, that value takes + # precedence over the default partition expiration time indicated by this + # property. + # Corresponds to the JSON property `defaultPartitionExpirationMs` + # @return [Fixnum] + attr_accessor :default_partition_expiration_ms + # [Optional] The default lifetime of all tables in the dataset, in milliseconds. # The minimum value is 3600000 milliseconds (one hour). Once this property is # set, all newly-created tables in the dataset will have an expirationTime @@ -390,6 +406,7 @@ module Google @access = args[:access] if args.key?(:access) @creation_time = args[:creation_time] if args.key?(:creation_time) @dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference) + @default_partition_expiration_ms = args[:default_partition_expiration_ms] if args.key?(:default_partition_expiration_ms) @default_table_expiration_ms = args[:default_table_expiration_ms] if args.key?(:default_table_expiration_ms) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @@ -1148,6 +1165,55 @@ module Google end end + # + class IterationResult + include Google::Apis::Core::Hashable + + # [Output-only, Beta] Time taken to run the training iteration in milliseconds. + # Corresponds to the JSON property `durationMs` + # @return [Fixnum] + attr_accessor :duration_ms + + # [Output-only, Beta] Eval loss computed on the eval data at the end of the + # iteration. The eval loss is used for early stopping to avoid overfitting. No + # eval loss if eval_split_method option is specified as no_split or auto_split + # with input data size less than 500 rows. + # Corresponds to the JSON property `evalLoss` + # @return [Float] + attr_accessor :eval_loss + + # [Output-only, Beta] Index of the ML training iteration, starting from zero for + # each training run. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # [Output-only, Beta] Learning rate used for this iteration, it varies for + # different training iterations if learn_rate_strategy option is not constant. + # Corresponds to the JSON property `learnRate` + # @return [Float] + attr_accessor :learn_rate + + # [Output-only, Beta] Training loss computed on the training data at the end of + # the iteration. The training loss function is defined by model type. + # Corresponds to the JSON property `trainingLoss` + # @return [Float] + attr_accessor :training_loss + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @duration_ms = args[:duration_ms] if args.key?(:duration_ms) + @eval_loss = args[:eval_loss] if args.key?(:eval_loss) + @index = args[:index] if args.key?(:index) + @learn_rate = args[:learn_rate] if args.key?(:learn_rate) + @training_loss = args[:training_loss] if args.key?(:training_loss) + end + end + # class Job include Google::Apis::Core::Hashable @@ -2105,6 +2171,19 @@ module Google # @return [Fixnum] attr_accessor :estimated_bytes_processed + # [Output-only, Beta] Index of current ML training iteration. Updated during + # create model query job to show job progress. + # Corresponds to the JSON property `modelTrainingCurrentIteration` + # @return [Fixnum] + attr_accessor :model_training_current_iteration + + # [Output-only, Beta] Expected number of iterations for the create model query + # job specified as num_iterations in the input query. The actual total number of + # iterations may be less than this number due to early stop. + # Corresponds to the JSON property `modelTrainingExpectedTotalIteration` + # @return [Fixnum] + attr_accessor :model_training_expected_total_iteration + # [Output-only] The number of rows affected by a DML statement. Present only for # DML statements INSERT, UPDATE or DELETE. # Corresponds to the JSON property `numDmlAffectedRows` @@ -2192,6 +2271,8 @@ module Google @ddl_operation_performed = args[:ddl_operation_performed] if args.key?(:ddl_operation_performed) @ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table) @estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed) + @model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration) + @model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration) @num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows) @query_plan = args[:query_plan] if args.key?(:query_plan) @referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables) @@ -2336,6 +2417,69 @@ module Google end end + # + class ModelDefinition + include Google::Apis::Core::Hashable + + # [Output-only, Beta] Model options used for the first training run. These + # options are immutable for subsequent training runs. Default values are used + # for any options not specified in the input query. + # Corresponds to the JSON property `modelOptions` + # @return [Google::Apis::BigqueryV2::ModelDefinition::ModelOptions] + attr_accessor :model_options + + # [Output-only, Beta] Information about ml training runs, each training run + # comprises of multiple iterations and there may be multiple training runs for + # the model if warm start is used or if a user decides to continue a previously + # cancelled query. + # Corresponds to the JSON property `trainingRuns` + # @return [Array] + attr_accessor :training_runs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @model_options = args[:model_options] if args.key?(:model_options) + @training_runs = args[:training_runs] if args.key?(:training_runs) + end + + # [Output-only, Beta] Model options used for the first training run. These + # options are immutable for subsequent training runs. Default values are used + # for any options not specified in the input query. + class ModelOptions + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # + # Corresponds to the JSON property `lossType` + # @return [String] + attr_accessor :loss_type + + # + # Corresponds to the JSON property `modelType` + # @return [String] + attr_accessor :model_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @labels = args[:labels] if args.key?(:labels) + @loss_type = args[:loss_type] if args.key?(:loss_type) + @model_type = args[:model_type] if args.key?(:model_type) + end + end + end + # class ProjectList include Google::Apis::Core::Hashable @@ -2938,6 +3082,13 @@ module Google # @return [String] attr_accessor :location + # [Output-only, Beta] Present iff this table represents a ML model. Describes + # the training information for the model, and it is required to run 'PREDICT' + # queries. + # Corresponds to the JSON property `model` + # @return [Google::Apis::BigqueryV2::ModelDefinition] + attr_accessor :model + # [Output-only] The size of this table in bytes, excluding any data in the # streaming buffer. # Corresponds to the JSON property `numBytes` @@ -3015,6 +3166,7 @@ module Google @labels = args[:labels] if args.key?(:labels) @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) @location = args[:location] if args.key?(:location) + @model = args[:model] if args.key?(:model) @num_bytes = args[:num_bytes] if args.key?(:num_bytes) @num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes) @num_rows = args[:num_rows] if args.key?(:num_rows) @@ -3533,6 +3685,123 @@ module Google end end + # + class TrainingRun + include Google::Apis::Core::Hashable + + # [Output-only, Beta] List of each iteration results. + # Corresponds to the JSON property `iterationResults` + # @return [Array] + attr_accessor :iteration_results + + # [Output-only, Beta] Training run start time in milliseconds since the epoch. + # Corresponds to the JSON property `startTime` + # @return [DateTime] + attr_accessor :start_time + + # [Output-only, Beta] Different state applicable for a training run. IN PROGRESS: + # Training run is in progress. FAILED: Training run ended due to a non- + # retryable failure. SUCCEEDED: Training run successfully completed. CANCELLED: + # Training run cancelled by the user. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # [Output-only, Beta] Training options used by this training run. These options + # are mutable for subsequent training runs. Default values are explicitly stored + # for options not specified in the input query of the first training run. For + # subsequent training runs, any option not explicitly specified in the input + # query will be copied from the previous training run. + # Corresponds to the JSON property `trainingOptions` + # @return [Google::Apis::BigqueryV2::TrainingRun::TrainingOptions] + attr_accessor :training_options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @iteration_results = args[:iteration_results] if args.key?(:iteration_results) + @start_time = args[:start_time] if args.key?(:start_time) + @state = args[:state] if args.key?(:state) + @training_options = args[:training_options] if args.key?(:training_options) + end + + # [Output-only, Beta] Training options used by this training run. These options + # are mutable for subsequent training runs. Default values are explicitly stored + # for options not specified in the input query of the first training run. For + # subsequent training runs, any option not explicitly specified in the input + # query will be copied from the previous training run. + class TrainingOptions + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `earlyStop` + # @return [Boolean] + attr_accessor :early_stop + alias_method :early_stop?, :early_stop + + # + # Corresponds to the JSON property `l1Reg` + # @return [Float] + attr_accessor :l1_reg + + # + # Corresponds to the JSON property `l2Reg` + # @return [Float] + attr_accessor :l2_reg + + # + # Corresponds to the JSON property `learnRate` + # @return [Float] + attr_accessor :learn_rate + + # + # Corresponds to the JSON property `learnRateStrategy` + # @return [String] + attr_accessor :learn_rate_strategy + + # + # Corresponds to the JSON property `lineSearchInitLearnRate` + # @return [Float] + attr_accessor :line_search_init_learn_rate + + # + # Corresponds to the JSON property `maxIteration` + # @return [Fixnum] + attr_accessor :max_iteration + + # + # Corresponds to the JSON property `minRelProgress` + # @return [Float] + attr_accessor :min_rel_progress + + # + # Corresponds to the JSON property `warmStart` + # @return [Boolean] + attr_accessor :warm_start + alias_method :warm_start?, :warm_start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @early_stop = args[:early_stop] if args.key?(:early_stop) + @l1_reg = args[:l1_reg] if args.key?(:l1_reg) + @l2_reg = args[:l2_reg] if args.key?(:l2_reg) + @learn_rate = args[:learn_rate] if args.key?(:learn_rate) + @learn_rate_strategy = args[:learn_rate_strategy] if args.key?(:learn_rate_strategy) + @line_search_init_learn_rate = args[:line_search_init_learn_rate] if args.key?(:line_search_init_learn_rate) + @max_iteration = args[:max_iteration] if args.key?(:max_iteration) + @min_rel_progress = args[:min_rel_progress] if args.key?(:min_rel_progress) + @warm_start = args[:warm_start] if args.key?(:warm_start) + end + end + end + # class UserDefinedFunctionResource include Google::Apis::Core::Hashable diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 0fa7fab7e..0a78ffec3 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -136,6 +136,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class IterationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Job class Representation < Google::Apis::Core::JsonRepresentation; end @@ -232,6 +238,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ModelDefinition + class Representation < Google::Apis::Core::JsonRepresentation; end + + class ModelOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class ProjectList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -388,6 +406,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TrainingRun + class Representation < Google::Apis::Core::JsonRepresentation; end + + class TrainingOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class UserDefinedFunctionResource class Representation < Google::Apis::Core::JsonRepresentation; end @@ -461,6 +491,7 @@ module Google property :creation_time, :numeric_string => true, as: 'creationTime' property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation + property :default_partition_expiration_ms, :numeric_string => true, as: 'defaultPartitionExpirationMs' property :default_table_expiration_ms, :numeric_string => true, as: 'defaultTableExpirationMs' property :description, as: 'description' property :etag, as: 'etag' @@ -646,6 +677,17 @@ module Google end end + class IterationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :duration_ms, :numeric_string => true, as: 'durationMs' + property :eval_loss, as: 'evalLoss' + property :index, as: 'index' + property :learn_rate, as: 'learnRate' + property :training_loss, as: 'trainingLoss' + end + end + class Job # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -858,6 +900,8 @@ module Google property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed' + property :model_training_current_iteration, as: 'modelTrainingCurrentIteration' + property :model_training_expected_total_iteration, :numeric_string => true, as: 'modelTrainingExpectedTotalIteration' property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows' collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation @@ -916,6 +960,25 @@ module Google end end + class ModelDefinition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :model_options, as: 'modelOptions', class: Google::Apis::BigqueryV2::ModelDefinition::ModelOptions, decorator: Google::Apis::BigqueryV2::ModelDefinition::ModelOptions::Representation + + collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::TrainingRun, decorator: Google::Apis::BigqueryV2::TrainingRun::Representation + + end + + class ModelOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :labels, as: 'labels' + property :loss_type, as: 'lossType' + property :model_type, as: 'modelType' + end + end + end + class ProjectList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1070,6 +1133,8 @@ module Google hash :labels, as: 'labels' property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' property :location, as: 'location' + property :model, as: 'model', class: Google::Apis::BigqueryV2::ModelDefinition, decorator: Google::Apis::BigqueryV2::ModelDefinition::Representation + property :num_bytes, :numeric_string => true, as: 'numBytes' property :num_long_term_bytes, :numeric_string => true, as: 'numLongTermBytes' property :num_rows, :numeric_string => true, as: 'numRows' @@ -1232,6 +1297,34 @@ module Google end end + class TrainingRun + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :iteration_results, as: 'iterationResults', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation + + property :start_time, as: 'startTime', type: DateTime + + property :state, as: 'state' + property :training_options, as: 'trainingOptions', class: Google::Apis::BigqueryV2::TrainingRun::TrainingOptions, decorator: Google::Apis::BigqueryV2::TrainingRun::TrainingOptions::Representation + + end + + class TrainingOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :early_stop, as: 'earlyStop' + property :l1_reg, as: 'l1Reg' + property :l2_reg, as: 'l2Reg' + property :learn_rate, as: 'learnRate' + property :learn_rate_strategy, as: 'learnRateStrategy' + property :line_search_init_learn_rate, as: 'lineSearchInitLearnRate' + property :max_iteration, :numeric_string => true, as: 'maxIteration' + property :min_rel_progress, as: 'minRelProgress' + property :warm_start, as: 'warmStart' + end + end + end + class UserDefinedFunctionResource # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/blogger_v2.rb b/generated/google/apis/blogger_v2.rb index 8d1368598..ed6e5838c 100644 --- a/generated/google/apis/blogger_v2.rb +++ b/generated/google/apis/blogger_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/blogger/docs/2.0/json/getting_started module BloggerV2 VERSION = 'V2' - REVISION = '20150422' + REVISION = '' # Manage your Blogger account AUTH_BLOGGER = 'https://www.googleapis.com/auth/blogger' diff --git a/generated/google/apis/blogger_v3.rb b/generated/google/apis/blogger_v3.rb index 65fd0980d..1f27bab5b 100644 --- a/generated/google/apis/blogger_v3.rb +++ b/generated/google/apis/blogger_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/blogger/docs/3.0/getting_started module BloggerV3 VERSION = 'V3' - REVISION = '20150422' + REVISION = '' # Manage your Blogger account AUTH_BLOGGER = 'https://www.googleapis.com/auth/blogger' diff --git a/generated/google/apis/books_v1.rb b/generated/google/apis/books_v1.rb index 26d5ce6ef..79e98602f 100644 --- a/generated/google/apis/books_v1.rb +++ b/generated/google/apis/books_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/books/docs/v1/getting_started module BooksV1 VERSION = 'V1' - REVISION = '20180409' + REVISION = '' # Manage your books AUTH_BOOKS = 'https://www.googleapis.com/auth/books' diff --git a/generated/google/apis/calendar_v3.rb b/generated/google/apis/calendar_v3.rb index 1a4c72c38..264b0c359 100644 --- a/generated/google/apis/calendar_v3.rb +++ b/generated/google/apis/calendar_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/calendar/firstapp module CalendarV3 VERSION = 'V3' - REVISION = '20180424' + REVISION = '' # Manage your calendars AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar' diff --git a/generated/google/apis/civicinfo_v2.rb b/generated/google/apis/civicinfo_v2.rb index e5b808b3a..bb4ada7d0 100644 --- a/generated/google/apis/civicinfo_v2.rb +++ b/generated/google/apis/civicinfo_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/civic-information module CivicinfoV2 VERSION = 'V2' - REVISION = '20161102' + REVISION = '' end end end diff --git a/generated/google/apis/civicinfo_v2/classes.rb b/generated/google/apis/civicinfo_v2/classes.rb index 90839e776..2a628f203 100644 --- a/generated/google/apis/civicinfo_v2/classes.rb +++ b/generated/google/apis/civicinfo_v2/classes.rb @@ -271,6 +271,11 @@ module Google # @return [Fixnum] attr_accessor :ballot_placement + # The official title on the ballot for this contest, only where available. + # Corresponds to the JSON property `ballotTitle` + # @return [String] + attr_accessor :ballot_title + # The candidate choices for this contest. # Corresponds to the JSON property `candidates` # @return [Array] @@ -417,6 +422,7 @@ module Google # Update properties of this object def update!(**args) @ballot_placement = args[:ballot_placement] if args.key?(:ballot_placement) + @ballot_title = args[:ballot_title] if args.key?(:ballot_title) @candidates = args[:candidates] if args.key?(:candidates) @district = args[:district] if args.key?(:district) @electorate_specifications = args[:electorate_specifications] if args.key?(:electorate_specifications) @@ -994,46 +1000,11 @@ module Google # @return [String] attr_accessor :dependent_locality_name - # - # Corresponds to the JSON property `dependentThoroughfareLeadingType` - # @return [String] - attr_accessor :dependent_thoroughfare_leading_type - # # Corresponds to the JSON property `dependentThoroughfareName` # @return [String] attr_accessor :dependent_thoroughfare_name - # - # Corresponds to the JSON property `dependentThoroughfarePostDirection` - # @return [String] - attr_accessor :dependent_thoroughfare_post_direction - - # - # Corresponds to the JSON property `dependentThoroughfarePreDirection` - # @return [String] - attr_accessor :dependent_thoroughfare_pre_direction - - # - # Corresponds to the JSON property `dependentThoroughfareTrailingType` - # @return [String] - attr_accessor :dependent_thoroughfare_trailing_type - - # - # Corresponds to the JSON property `dependentThoroughfaresConnector` - # @return [String] - attr_accessor :dependent_thoroughfares_connector - - # - # Corresponds to the JSON property `dependentThoroughfaresIndicator` - # @return [String] - attr_accessor :dependent_thoroughfares_indicator - - # - # Corresponds to the JSON property `dependentThoroughfaresType` - # @return [String] - attr_accessor :dependent_thoroughfares_type - # # Corresponds to the JSON property `firmName` # @return [String] @@ -1095,11 +1066,6 @@ module Google # @return [String] attr_accessor :sub_premise_name - # - # Corresponds to the JSON property `thoroughfareLeadingType` - # @return [String] - attr_accessor :thoroughfare_leading_type - # # Corresponds to the JSON property `thoroughfareName` # @return [String] @@ -1110,21 +1076,6 @@ module Google # @return [String] attr_accessor :thoroughfare_number - # - # Corresponds to the JSON property `thoroughfarePostDirection` - # @return [String] - attr_accessor :thoroughfare_post_direction - - # - # Corresponds to the JSON property `thoroughfarePreDirection` - # @return [String] - attr_accessor :thoroughfare_pre_direction - - # - # Corresponds to the JSON property `thoroughfareTrailingType` - # @return [String] - attr_accessor :thoroughfare_trailing_type - def initialize(**args) update!(**args) end @@ -1136,14 +1087,7 @@ module Google @country_name = args[:country_name] if args.key?(:country_name) @country_name_code = args[:country_name_code] if args.key?(:country_name_code) @dependent_locality_name = args[:dependent_locality_name] if args.key?(:dependent_locality_name) - @dependent_thoroughfare_leading_type = args[:dependent_thoroughfare_leading_type] if args.key?(:dependent_thoroughfare_leading_type) @dependent_thoroughfare_name = args[:dependent_thoroughfare_name] if args.key?(:dependent_thoroughfare_name) - @dependent_thoroughfare_post_direction = args[:dependent_thoroughfare_post_direction] if args.key?(:dependent_thoroughfare_post_direction) - @dependent_thoroughfare_pre_direction = args[:dependent_thoroughfare_pre_direction] if args.key?(:dependent_thoroughfare_pre_direction) - @dependent_thoroughfare_trailing_type = args[:dependent_thoroughfare_trailing_type] if args.key?(:dependent_thoroughfare_trailing_type) - @dependent_thoroughfares_connector = args[:dependent_thoroughfares_connector] if args.key?(:dependent_thoroughfares_connector) - @dependent_thoroughfares_indicator = args[:dependent_thoroughfares_indicator] if args.key?(:dependent_thoroughfares_indicator) - @dependent_thoroughfares_type = args[:dependent_thoroughfares_type] if args.key?(:dependent_thoroughfares_type) @firm_name = args[:firm_name] if args.key?(:firm_name) @is_disputed = args[:is_disputed] if args.key?(:is_disputed) @language_code = args[:language_code] if args.key?(:language_code) @@ -1156,12 +1100,8 @@ module Google @sorting_code = args[:sorting_code] if args.key?(:sorting_code) @sub_administrative_area_name = args[:sub_administrative_area_name] if args.key?(:sub_administrative_area_name) @sub_premise_name = args[:sub_premise_name] if args.key?(:sub_premise_name) - @thoroughfare_leading_type = args[:thoroughfare_leading_type] if args.key?(:thoroughfare_leading_type) @thoroughfare_name = args[:thoroughfare_name] if args.key?(:thoroughfare_name) @thoroughfare_number = args[:thoroughfare_number] if args.key?(:thoroughfare_number) - @thoroughfare_post_direction = args[:thoroughfare_post_direction] if args.key?(:thoroughfare_post_direction) - @thoroughfare_pre_direction = args[:thoroughfare_pre_direction] if args.key?(:thoroughfare_pre_direction) - @thoroughfare_trailing_type = args[:thoroughfare_trailing_type] if args.key?(:thoroughfare_trailing_type) end end @@ -1415,9 +1355,16 @@ module Google # @return [Google::Apis::CivicinfoV2::SimpleAddressType] attr_accessor :normalized_input - # If no election ID was specified in the query, and there was more than one - # election with data for the given voter, this will contain information about - # the other elections that could apply. + # When there are multiple elections for a voter address, the otherElections + # field is populated in the API response and there are two possibilities: 1. If + # the earliest election is not the intended election, specify the election ID of + # the desired election in a second API request using the electionId field. 2. If + # these elections occur on the same day, the API doesn?t return any polling + # location, contest, or election official information to ensure that an + # additional query is made. For user-facing applications, we recommend + # displaying these elections to the user to disambiguate. A second API request + # using the electionId field should be made for the election that is relevant to + # the user. # Corresponds to the JSON property `otherElections` # @return [Array] attr_accessor :other_elections diff --git a/generated/google/apis/civicinfo_v2/representations.rb b/generated/google/apis/civicinfo_v2/representations.rb index ffa9ba0d9..c722cec0a 100644 --- a/generated/google/apis/civicinfo_v2/representations.rb +++ b/generated/google/apis/civicinfo_v2/representations.rb @@ -254,6 +254,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :ballot_placement, :numeric_string => true, as: 'ballotPlacement' + property :ballot_title, as: 'ballotTitle' collection :candidates, as: 'candidates', class: Google::Apis::CivicinfoV2::Candidate, decorator: Google::Apis::CivicinfoV2::Candidate::Representation property :district, as: 'district', class: Google::Apis::CivicinfoV2::ElectoralDistrict, decorator: Google::Apis::CivicinfoV2::ElectoralDistrict::Representation @@ -435,14 +436,7 @@ module Google property :country_name, as: 'countryName' property :country_name_code, as: 'countryNameCode' property :dependent_locality_name, as: 'dependentLocalityName' - property :dependent_thoroughfare_leading_type, as: 'dependentThoroughfareLeadingType' property :dependent_thoroughfare_name, as: 'dependentThoroughfareName' - property :dependent_thoroughfare_post_direction, as: 'dependentThoroughfarePostDirection' - property :dependent_thoroughfare_pre_direction, as: 'dependentThoroughfarePreDirection' - property :dependent_thoroughfare_trailing_type, as: 'dependentThoroughfareTrailingType' - property :dependent_thoroughfares_connector, as: 'dependentThoroughfaresConnector' - property :dependent_thoroughfares_indicator, as: 'dependentThoroughfaresIndicator' - property :dependent_thoroughfares_type, as: 'dependentThoroughfaresType' property :firm_name, as: 'firmName' property :is_disputed, as: 'isDisputed' property :language_code, as: 'languageCode' @@ -455,12 +449,8 @@ module Google property :sorting_code, as: 'sortingCode' property :sub_administrative_area_name, as: 'subAdministrativeAreaName' property :sub_premise_name, as: 'subPremiseName' - property :thoroughfare_leading_type, as: 'thoroughfareLeadingType' property :thoroughfare_name, as: 'thoroughfareName' property :thoroughfare_number, as: 'thoroughfareNumber' - property :thoroughfare_post_direction, as: 'thoroughfarePostDirection' - property :thoroughfare_pre_direction, as: 'thoroughfarePreDirection' - property :thoroughfare_trailing_type, as: 'thoroughfareTrailingType' end end diff --git a/generated/google/apis/civicinfo_v2/service.rb b/generated/google/apis/civicinfo_v2/service.rb index 346889902..b8942f0c2 100644 --- a/generated/google/apis/civicinfo_v2/service.rb +++ b/generated/google/apis/civicinfo_v2/service.rb @@ -131,7 +131,10 @@ module Google # @param [Google::Apis::CivicinfoV2::VoterInfoRequest] voter_info_request_object # @param [Fixnum] election_id # The unique ID of the election to look up. A list of election IDs can be - # obtained at https://www.googleapis.com/civicinfo/`version`/elections + # obtained at https://www.googleapis.com/civicinfo/`version`/electionsIf no + # election ID is specified in the query and there is more than one election with + # data for the given voter, the additional elections are provided in the + # otherElections response field. # @param [Boolean] official_only # If set to true, only data from official state sources will be returned. # @param [Boolean] return_all_available_data diff --git a/generated/google/apis/cloudiot_v1.rb b/generated/google/apis/cloudiot_v1.rb index 020ac6ba9..11aa0af71 100644 --- a/generated/google/apis/cloudiot_v1.rb +++ b/generated/google/apis/cloudiot_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/iot module CloudiotV1 VERSION = 'V1' - REVISION = '20180606' + REVISION = '20180703' # 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_v1/classes.rb b/generated/google/apis/cloudiot_v1/classes.rb index 961d50032..55e530020 100644 --- a/generated/google/apis/cloudiot_v1/classes.rb +++ b/generated/google/apis/cloudiot_v1/classes.rb @@ -46,7 +46,6 @@ module Google # 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 diff --git a/generated/google/apis/compute_alpha.rb b/generated/google/apis/compute_alpha.rb index 3cf95493a..8203c650b 100644 --- a/generated/google/apis/compute_alpha.rb +++ b/generated/google/apis/compute_alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeAlpha VERSION = 'Alpha' - REVISION = '20180525' + REVISION = '' # 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/compute_alpha/classes.rb b/generated/google/apis/compute_alpha/classes.rb index c42ba8fc6..37a75590d 100644 --- a/generated/google/apis/compute_alpha/classes.rb +++ b/generated/google/apis/compute_alpha/classes.rb @@ -1197,7 +1197,8 @@ module Google include Google::Apis::Core::Hashable # Specifies the disk name. If not specified, the default is to use the name of - # the instance. + # the instance. If the disk with the instance name exists already in the given + # zone/region, a new name will be automatically generated. # Corresponds to the JSON property `diskName` # @return [String] attr_accessor :disk_name @@ -1270,6 +1271,11 @@ module Google # @return [String] attr_accessor :source_snapshot + # Represents a customer-supplied encryption key + # Corresponds to the JSON property `sourceSnapshotEncryptionKey` + # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey] + attr_accessor :source_snapshot_encryption_key + def initialize(**args) update!(**args) end @@ -1284,6 +1290,7 @@ module Google @source_image = args[:source_image] if args.key?(:source_image) @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key) @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot) + @source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key) end end @@ -2544,6 +2551,8 @@ module Google # 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 # order to update the BackendService. + # To see the latest fingerprint, make a get() request to retrieve a + # BackendService. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -5198,7 +5207,8 @@ module Google class DistributionPolicy include Google::Apis::Core::Hashable - # + # Zones where the regional managed instance group will create and manage + # instances. # Corresponds to the JSON property `zones` # @return [Array] attr_accessor :zones @@ -5217,9 +5227,8 @@ module Google class DistributionPolicyZoneConfiguration include Google::Apis::Core::Hashable - # URL of the zone where managed instance group is spawning instances (for - # regional resources). Zone has to belong to the region where managed instance - # group is located. + # The URL of the zone. The zone must exist in the region where the managed + # instance group is located. # Corresponds to the JSON property `zone` # @return [String] attr_accessor :zone @@ -5706,6 +5715,9 @@ module Google # an ephemeral IPv4 address from the same scope (global or regional) will be # assigned. A regional forwarding rule supports IPv4 only. A global forwarding # rule supports either IPv4 or IPv6. + # When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL + # reference to an existing Address resource ( internal regional static IP + # address). # When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP # address belonging to the network/subnet configured for the forwarding rule. By # default, if this field is empty, an ephemeral internal IP address will be @@ -5726,7 +5738,8 @@ module Google # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, # AH, SCTP or ICMP. - # When the load balancing scheme is INTERNAL, only TCP and UDP are valid. + # When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When + # the load balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. # Corresponds to the JSON property `IPProtocol` # @return [String] attr_accessor :ip_protocol @@ -5742,7 +5755,7 @@ module Google attr_accessor :all_ports alias_method :all_ports?, :all_ports - # This field is not used for external load balancing. + # This field is only used for INTERNAL load balancing. # For internal load balancing, this field identifies the BackendService resource # to receive the matched traffic. # Corresponds to the JSON property `backendService` @@ -5779,7 +5792,8 @@ module Google attr_accessor :id # The IP Version that will be used by this forwarding rule. Valid options are - # IPV4 or IPV6. This can only be specified for a global forwarding rule. + # IPV4 or IPV6. This can only be specified for an external global forwarding + # rule. # Corresponds to the JSON property `ipVersion` # @return [String] attr_accessor :ip_version @@ -5810,10 +5824,11 @@ module Google attr_accessor :labels # This signifies what the ForwardingRule will be used for and can only take the - # following values: INTERNAL, EXTERNAL The value of INTERNAL means that this - # will be used for Internal Network Load Balancing (TCP, UDP). The value of - # EXTERNAL means that this will be used for External Load Balancing (HTTP(S) LB, - # External TCP/UDP LB, SSL Proxy) + # following values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of + # INTERNAL means that this will be used for Internal Network Load Balancing (TCP, + # UDP). The value of INTERNAL_SELF_MANAGED means that this will be used for + # Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be used + # for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) # Corresponds to the JSON property `loadBalancingScheme` # @return [String] attr_accessor :load_balancing_scheme @@ -5829,9 +5844,9 @@ module Google attr_accessor :name # This field is not used for external load balancing. - # For internal load balancing, this field identifies the network that the load - # balanced IP should belong to for this Forwarding Rule. If this field is not - # specified, the default network will be used. + # For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies + # the network that the load balanced IP should belong to for this Forwarding + # Rule. If this field is not specified, the default network will be used. # Corresponds to the JSON property `network` # @return [String] attr_accessor :network @@ -5906,7 +5921,7 @@ module Google # @return [String] attr_accessor :service_name - # This field is not used for external load balancing. + # This field is only used for INTERNAL load balancing. # For internal load balancing, this field identifies the subnetwork that the # load balanced IP should belong to for this Forwarding Rule. # If the network specified is in auto subnet mode, this field is optional. @@ -5920,7 +5935,8 @@ module Google # forwarding rules, this target must live in the same region as the forwarding # rule. For global forwarding rules, this target must be a global load balancing # resource. The forwarded traffic must be of a type appropriate to the target - # object. + # object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and HTTPS targets + # are valid. # Corresponds to the JSON property `target` # @return [String] attr_accessor :target @@ -8705,9 +8721,9 @@ module Google # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey] attr_accessor :source_disk_encryption_key - # The ID value of the disk used to create this image. This value may be used to - # determine whether the image was taken from the current or a previous instance - # of a given disk name. + # [Output Only] The ID value of the disk used to create this image. This value + # may be used to determine whether the image was taken from the current or a + # previous instance of a given disk name. # Corresponds to the JSON property `sourceDiskId` # @return [String] attr_accessor :source_disk_id @@ -9678,11 +9694,6 @@ module Google class InstanceGroupManager include Google::Apis::Core::Hashable - # - # Corresponds to the JSON property `activities` - # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerActivities] - attr_accessor :activities - # The autohealing policy for this managed instance group. You can specify only # one value. # Corresponds to the JSON property `autoHealingPolicies` @@ -9715,7 +9726,8 @@ module Google # @return [String] attr_accessor :description - # Policy valid only for regional managed instance groups. + # Policy specifying intended distribution of instances in regional managed + # instance group. # Corresponds to the JSON property `distributionPolicy` # @return [Google::Apis::ComputeAlpha::DistributionPolicy] attr_accessor :distribution_policy @@ -9729,6 +9741,8 @@ module Google # Fingerprint of this resource. This field may be used in optimistic locking. It # will be ignored when inserting an InstanceGroupManager. An up-to-date # fingerprint must be provided in order to update the InstanceGroupManager. + # To see the latest fingerprint, make a get() request to retrieve an + # InstanceGroupManager. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -9844,7 +9858,6 @@ module Google # Update properties of this object def update!(**args) - @activities = args[:activities] if args.key?(:activities) @auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies) @base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @@ -9959,61 +9972,6 @@ module Google end end - # - class InstanceGroupManagerActivities - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `autohealing` - # @return [String] - attr_accessor :autohealing - - # - # Corresponds to the JSON property `autohealingHealthCheckBased` - # @return [String] - attr_accessor :autohealing_health_check_based - - # - # Corresponds to the JSON property `autoscalingDown` - # @return [String] - attr_accessor :autoscaling_down - - # - # Corresponds to the JSON property `autoscalingUp` - # @return [String] - attr_accessor :autoscaling_up - - # - # Corresponds to the JSON property `creatingInstances` - # @return [String] - attr_accessor :creating_instances - - # - # Corresponds to the JSON property `deletingInstances` - # @return [String] - attr_accessor :deleting_instances - - # - # Corresponds to the JSON property `recreatingInstances` - # @return [String] - attr_accessor :recreating_instances - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @autohealing = args[:autohealing] if args.key?(:autohealing) - @autohealing_health_check_based = args[:autohealing_health_check_based] if args.key?(:autohealing_health_check_based) - @autoscaling_down = args[:autoscaling_down] if args.key?(:autoscaling_down) - @autoscaling_up = args[:autoscaling_up] if args.key?(:autoscaling_up) - @creating_instances = args[:creating_instances] if args.key?(:creating_instances) - @deleting_instances = args[:deleting_instances] if args.key?(:deleting_instances) - @recreating_instances = args[:recreating_instances] if args.key?(:recreating_instances) - end - end - # class InstanceGroupManagerAggregatedList include Google::Apis::Core::Hashable @@ -10157,11 +10115,6 @@ module Google # @return [Google::Apis::ComputeAlpha::FixedOrPercent] attr_accessor :max_unavailable - # Defines operating mode for this policy. - # Corresponds to the JSON property `mode` - # @return [String] - attr_accessor :mode - def initialize(**args) update!(**args) end @@ -10171,7 +10124,6 @@ module Google @health_check = args[:health_check] if args.key?(:health_check) @initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec) @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable) - @mode = args[:mode] if args.key?(:mode) end end @@ -14732,6 +14684,7 @@ module Google # 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 metadata. + # To see the latest fingerprint, make a get() request to retrieve the resource. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -14939,8 +14892,8 @@ module Google include Google::Apis::Core::Hashable # The name for a specific VM instance that the IP address belongs to. This is - # required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The - # instance must be in the same zone of network endpoint group. + # required for network endpoints of type GCE_VM_IP_PORT. The instance must be in + # the same zone of network endpoint group. # The name must be 1-63 characters long, and comply with RFC1035. # Corresponds to the JSON property `instance` # @return [String] @@ -15000,8 +14953,7 @@ module Google # @return [String] attr_accessor :kind - # Load balancing specific fields for network endpoint group of type - # LOAD_BALANCING. + # Load balancing specific fields for network endpoint group. # Corresponds to the JSON property `loadBalancer` # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupLbNetworkEndpointGroup] attr_accessor :load_balancer @@ -15016,8 +14968,8 @@ module Google # @return [String] attr_accessor :name - # Type of network endpoints in this network endpoint group. Only supported - # values for LOAD_BALANCING are GCE_VM_IP or GCE_VM_IP_PORT. + # Type of network endpoints in this network endpoint group. Currently the only + # supported value is GCE_VM_IP_PORT. # Corresponds to the JSON property `networkEndpointType` # @return [String] attr_accessor :network_endpoint_type @@ -15176,14 +15128,12 @@ module Google end end - # Load balancing specific fields for network endpoint group of type - # LOAD_BALANCING. + # Load balancing specific fields for network endpoint group. class NetworkEndpointGroupLbNetworkEndpointGroup include Google::Apis::Core::Hashable # The default port used if the port number is not specified in the network - # endpoint. If the network endpoint type is GCE_VM_IP, this field must not be - # specified. + # endpoint. # Corresponds to the JSON property `defaultPort` # @return [Fixnum] attr_accessor :default_port @@ -16339,6 +16289,11 @@ module Google # @return [String] attr_accessor :node_type + # + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + def initialize(**args) update!(**args) end @@ -16349,6 +16304,7 @@ module Google @instances = args[:instances] if args.key?(:instances) @name = args[:name] if args.key?(:name) @node_type = args[:node_type] if args.key?(:node_type) + @status = args[:status] if args.key?(:status) end end @@ -19791,6 +19747,26 @@ module Google end end + # + class RegionTargetHttpsProxiesSetSslCertificatesRequest + include Google::Apis::Core::Hashable + + # New set of SslCertificate resources to associate with this TargetHttpsProxy + # resource. Currently exactly one SslCertificate resource must be specified. + # Corresponds to the JSON property `sslCertificates` + # @return [Array] + attr_accessor :ssl_certificates + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates) + end + end + # class RegionUrlMapsValidateRequest include Google::Apis::Core::Hashable @@ -23017,6 +22993,12 @@ module Google # @return [String] attr_accessor :private_key + # [Output Only] URL of the region where the regional SSL Certificate resides. + # This field is not applicable to global SSL Certificate. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + # [Output only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -23055,6 +23037,7 @@ module Google @managed = args[:managed] if args.key?(:managed) @name = args[:name] if args.key?(:name) @private_key = args[:private_key] if args.key?(:private_key) + @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @self_managed = args[:self_managed] if args.key?(:self_managed) @subject_alternative_names = args[:subject_alternative_names] if args.key?(:subject_alternative_names) @@ -23062,6 +23045,124 @@ module Google end end + # + class SslCertificateAggregatedList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of SslCertificatesScopedList resources. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#sslCertificateAggregatedList + # for lists of SSL Certificates. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [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` + # @return [String] + attr_accessor :code + + # [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` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [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` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # Contains a list of SslCertificate resources. class SslCertificateList include Google::Apis::Core::Hashable @@ -23240,6 +23341,97 @@ module Google end end + # + class SslCertificatesScopedList + include Google::Apis::Core::Hashable + + # List of SslCertificates contained in this scope. + # Corresponds to the JSON property `sslCertificates` + # @return [Array] + attr_accessor :ssl_certificates + + # Informational warning which replaces the list of backend services when the + # list is empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::SslCertificatesScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates) + @warning = args[:warning] if args.key?(:warning) + end + + # Informational warning which replaces the list of backend services when the + # list is empty. + class Warning + include Google::Apis::Core::Hashable + + # [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` + # @return [String] + attr_accessor :code + + # [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` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [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` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # class SslPoliciesList include Google::Apis::Core::Hashable @@ -23411,6 +23603,7 @@ module Google # This field is used in optimistic locking. This field will be ignored when # inserting a SslPolicy. An up-to-date fingerprint must be provided in order to # update the SslPolicy. + # To see the latest fingerprint, make a get() request to retrieve an SslPolicy. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -23631,6 +23824,14 @@ module Google class Subnetwork include Google::Apis::Core::Hashable + # Can only be specified if VPC flow logging for this subnetwork is enabled. + # Toggles the aggregation interval for collecting flow logs. Increasing the + # interval time will reduce the amount of generated flow logs for long lasting + # connections. Default is an interval of 5 seconds per connection. + # Corresponds to the JSON property `aggregationInterval` + # @return [String] + attr_accessor :aggregation_interval + # Whether this subnetwork can conflict with static routes. Setting this to true # allows this subnetwork's primary and secondary ranges to conflict with routes # that have already been configured on the corresponding network. Static routes @@ -23676,11 +23877,21 @@ module Google # This field is used in optimistic locking. This field will be ignored when # inserting a Subnetwork. An up-to-date fingerprint must be provided in order to # update the Subnetwork. + # To see the latest fingerprint, make a get() request to retrieve a Subnetwork. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] attr_accessor :fingerprint + # Can only be specified if VPC flow logging for this subnetwork is enabled. The + # value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs + # within the subnetwork where 1.0 means all collected logs are reported and 0.0 + # means no logs are reported. Default is 0.5 which means half of all collected + # logs are reported. + # Corresponds to the JSON property `flowSampling` + # @return [Float] + attr_accessor :flow_sampling + # [Output Only] The gateway address for default routes to reach destination # addresses outside this subnetwork. # Corresponds to the JSON property `gatewayAddress` @@ -23713,6 +23924,13 @@ module Google # @return [String] attr_accessor :kind + # Can only be specified if VPC flow logging for this subnetwork is enabled. + # Configures whether metadata fields should be added to the reported VPC flow + # logs. Default is INCLUDE_ALL_METADATA. + # Corresponds to the JSON property `metadata` + # @return [String] + attr_accessor :metadata + # The name of the resource, provided by the client when initially creating the # resource. 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 @@ -23782,17 +24000,20 @@ module Google # Update properties of this object def update!(**args) + @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval) @allow_subnet_cidr_routes_overlap = args[:allow_subnet_cidr_routes_overlap] if args.key?(:allow_subnet_cidr_routes_overlap) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @enable_flow_logs = args[:enable_flow_logs] if args.key?(:enable_flow_logs) @enable_private_v6_access = args[:enable_private_v6_access] if args.key?(:enable_private_v6_access) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling) @gateway_address = args[:gateway_address] if args.key?(:gateway_address) @id = args[:id] if args.key?(:id) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range) @kind = args[:kind] if args.key?(:kind) + @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access) @@ -24705,6 +24926,97 @@ module Google end end + # + class TargetHttpsProxiesScopedList + include Google::Apis::Core::Hashable + + # A list of TargetHttpsProxies contained in this scope. + # Corresponds to the JSON property `targetHttpsProxies` + # @return [Array] + attr_accessor :target_https_proxies + + # Informational warning which replaces the list of backend services when the + # list is empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::TargetHttpsProxiesScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_https_proxies = args[:target_https_proxies] if args.key?(:target_https_proxies) + @warning = args[:warning] if args.key?(:warning) + end + + # Informational warning which replaces the list of backend services when the + # list is empty. + class Warning + include Google::Apis::Core::Hashable + + # [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` + # @return [String] + attr_accessor :code + + # [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` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [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` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # class TargetHttpsProxiesSetQuicOverrideRequest include Google::Apis::Core::Hashable @@ -24794,6 +25106,12 @@ module Google # @return [String] attr_accessor :quic_override + # [Output Only] URL of the region where the regional TargetHttpsProxy resides. + # This field is not applicable to global TargetHttpsProxies. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -24835,6 +25153,7 @@ module Google @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @quic_override = args[:quic_override] if args.key?(:quic_override) + @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates) @ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy) @@ -24842,6 +25161,124 @@ module Google end end + # + class TargetHttpsProxyAggregatedList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of TargetHttpsProxiesScopedList resources. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#targetHttpsProxyAggregatedList + # for lists of Target HTTP Proxies. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [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` + # @return [String] + attr_accessor :code + + # [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` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [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` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # Contains a list of TargetHttpsProxy resources. class TargetHttpsProxyList include Google::Apis::Core::Hashable @@ -26483,7 +26920,7 @@ module Google # fingerprint is initially generated by Compute Engine and changes after every # request to modify or update labels. You must always provide an up-to-date # fingerprint hash in order to update or change labels. - # To see the latest fingerprint, make a get() request to retrieve an + # To see the latest fingerprint, make a get() request to retrieve a # TargetVpnGateway. # Corresponds to the JSON property `labelFingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. @@ -27028,6 +27465,7 @@ module Google # This field is used in optimistic locking. This field will be ignored when # inserting a UrlMap. An up-to-date fingerprint must be provided in order to # update the UrlMap. + # To see the latest fingerprint, make a get() request to retrieve a UrlMap. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -27575,6 +28013,191 @@ module Google end end + # Contain information of Nat mapping for a VM endpoint (i.e., NIC). + class VmEndpointNatMappings + include Google::Apis::Core::Hashable + + # Name of the VM instance which the endpoint belongs to + # Corresponds to the JSON property `instanceName` + # @return [String] + attr_accessor :instance_name + + # + # Corresponds to the JSON property `interfaceNatMappings` + # @return [Array] + attr_accessor :interface_nat_mappings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_name = args[:instance_name] if args.key?(:instance_name) + @interface_nat_mappings = args[:interface_nat_mappings] if args.key?(:interface_nat_mappings) + end + end + + # Contain information of Nat mapping for an interface of this endpoint. + class VmEndpointNatMappingsInterfaceNatMappings + include Google::Apis::Core::Hashable + + # A list of all IP:port-range mappings assigned to this interface. These ranges + # are inclusive, that is, both the first and the last ports can be used for NAT. + # Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + # Corresponds to the JSON property `natIpPortRanges` + # @return [Array] + attr_accessor :nat_ip_port_ranges + + # Total number of ports across all NAT IPs allocated to this interface. It + # equals to the aggregated port number in the field nat_ip_port_ranges. + # Corresponds to the JSON property `numTotalNatPorts` + # @return [Fixnum] + attr_accessor :num_total_nat_ports + + # Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP + # range. Examples: "10.33.4.55/32", or "192.168.5.0/24". + # Corresponds to the JSON property `sourceAliasIpRange` + # @return [String] + attr_accessor :source_alias_ip_range + + # Primary IP of the VM for this NIC. + # Corresponds to the JSON property `sourceVirtualIp` + # @return [String] + attr_accessor :source_virtual_ip + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges) + @num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports) + @source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range) + @source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip) + end + end + + # Contains a list of VmEndpointNatMappings. + class VmEndpointNatMappingsList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # [Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for + # lists of Nat mappings of VM endpoints. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] A list of Nat mapping information of VM endpoints. + # Corresponds to the JSON property `result` + # @return [Array] + attr_accessor :result + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::VmEndpointNatMappingsList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @result = args[:result] if args.key?(:result) + @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [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` + # @return [String] + attr_accessor :code + + # [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` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [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` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # Represents a VPN gateway resource. class VpnGateway include Google::Apis::Core::Hashable diff --git a/generated/google/apis/compute_alpha/representations.rb b/generated/google/apis/compute_alpha/representations.rb index 0c3a4514c..3c78865eb 100644 --- a/generated/google/apis/compute_alpha/representations.rb +++ b/generated/google/apis/compute_alpha/representations.rb @@ -1222,12 +1222,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class InstanceGroupManagerActivities - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class InstanceGroupManagerAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2728,6 +2722,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RegionTargetHttpsProxiesSetSslCertificatesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RegionUrlMapsValidateRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3178,6 +3178,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SslCertificateAggregatedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class SslCertificateList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3208,6 +3226,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SslCertificatesScopedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class SslPoliciesList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3424,6 +3460,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TargetHttpsProxiesScopedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class TargetHttpsProxiesSetQuicOverrideRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3442,6 +3496,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TargetHttpsProxyAggregatedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class TargetHttpsProxyList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3868,6 +3940,36 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class VmEndpointNatMappings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VmEndpointNatMappingsInterfaceNatMappings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VmEndpointNatMappingsList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class VpnGateway class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4358,6 +4460,8 @@ module Google property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation property :source_snapshot, as: 'sourceSnapshot' + property :source_snapshot_encryption_key, as: 'sourceSnapshotEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation + end end @@ -6365,8 +6469,6 @@ module Google class InstanceGroupManager # @private class Representation < Google::Apis::Core::JsonRepresentation - property :activities, as: 'activities', class: Google::Apis::ComputeAlpha::InstanceGroupManagerActivities, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerActivities::Representation - collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeAlpha::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerAutoHealingPolicy::Representation property :base_instance_name, as: 'baseInstanceName' @@ -6417,19 +6519,6 @@ module Google end end - class InstanceGroupManagerActivities - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :autohealing, as: 'autohealing' - property :autohealing_health_check_based, as: 'autohealingHealthCheckBased' - property :autoscaling_down, as: 'autoscalingDown' - property :autoscaling_up, as: 'autoscalingUp' - property :creating_instances, as: 'creatingInstances' - property :deleting_instances, as: 'deletingInstances' - property :recreating_instances, as: 'recreatingInstances' - end - end - class InstanceGroupManagerAggregatedList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6469,7 +6558,6 @@ module Google property :initial_delay_sec, as: 'initialDelaySec' property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation - property :mode, as: 'mode' end end @@ -8093,6 +8181,7 @@ module Google collection :instances, as: 'instances' property :name, as: 'name' property :node_type, as: 'nodeType' + property :status, as: 'status' end end @@ -9034,6 +9123,13 @@ module Google end end + class RegionTargetHttpsProxiesSetSslCertificatesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ssl_certificates, as: 'sslCertificates' + end + end + class RegionUrlMapsValidateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -9861,6 +9957,7 @@ module Google property :name, as: 'name' property :private_key, as: 'privateKey' + property :region, as: 'region' property :self_link, as: 'selfLink' property :self_managed, as: 'selfManaged', class: Google::Apis::ComputeAlpha::SslCertificateSelfManagedSslCertificate, decorator: Google::Apis::ComputeAlpha::SslCertificateSelfManagedSslCertificate::Representation @@ -9869,6 +9966,38 @@ module Google end end + class SslCertificateAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeAlpha::SslCertificatesScopedList, decorator: Google::Apis::ComputeAlpha::SslCertificatesScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class SslCertificateList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -9918,6 +10047,34 @@ module Google end end + class SslCertificatesScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ssl_certificates, as: 'sslCertificates', class: Google::Apis::ComputeAlpha::SslCertificate, decorator: Google::Apis::ComputeAlpha::SslCertificate::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::SslCertificatesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::SslCertificatesScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::SslCertificatesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::SslCertificatesScopedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class SslPoliciesList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10027,17 +10184,20 @@ module Google class Subnetwork # @private class Representation < Google::Apis::Core::JsonRepresentation + property :aggregation_interval, as: 'aggregationInterval' property :allow_subnet_cidr_routes_overlap, as: 'allowSubnetCidrRoutesOverlap' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :enable_flow_logs, as: 'enableFlowLogs' property :enable_private_v6_access, as: 'enablePrivateV6Access' property :fingerprint, :base64 => true, as: 'fingerprint' + property :flow_sampling, as: 'flowSampling' property :gateway_address, as: 'gatewayAddress' property :id, :numeric_string => true, as: 'id' property :ip_cidr_range, as: 'ipCidrRange' property :ipv6_cidr_range, as: 'ipv6CidrRange' property :kind, as: 'kind' + property :metadata, as: 'metadata' property :name, as: 'name' property :network, as: 'network' property :private_ip_google_access, as: 'privateIpGoogleAccess' @@ -10290,6 +10450,34 @@ module Google end end + class TargetHttpsProxiesScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :target_https_proxies, as: 'targetHttpsProxies', class: Google::Apis::ComputeAlpha::TargetHttpsProxy, decorator: Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::TargetHttpsProxiesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::TargetHttpsProxiesScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::TargetHttpsProxiesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::TargetHttpsProxiesScopedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class TargetHttpsProxiesSetQuicOverrideRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10313,6 +10501,7 @@ module Google property :kind, as: 'kind' property :name, as: 'name' property :quic_override, as: 'quicOverride' + property :region, as: 'region' property :self_link, as: 'selfLink' collection :ssl_certificates, as: 'sslCertificates' property :ssl_policy, as: 'sslPolicy' @@ -10320,6 +10509,38 @@ module Google end end + class TargetHttpsProxyAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeAlpha::TargetHttpsProxiesScopedList, decorator: Google::Apis::ComputeAlpha::TargetHttpsProxiesScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class TargetHttpsProxyList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -11047,6 +11268,57 @@ module Google end end + class VmEndpointNatMappings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_name, as: 'instanceName' + collection :interface_nat_mappings, as: 'interfaceNatMappings', class: Google::Apis::ComputeAlpha::VmEndpointNatMappingsInterfaceNatMappings, decorator: Google::Apis::ComputeAlpha::VmEndpointNatMappingsInterfaceNatMappings::Representation + + end + end + + class VmEndpointNatMappingsInterfaceNatMappings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :nat_ip_port_ranges, as: 'natIpPortRanges' + property :num_total_nat_ports, as: 'numTotalNatPorts' + property :source_alias_ip_range, as: 'sourceAliasIpRange' + property :source_virtual_ip, as: 'sourceVirtualIp' + end + end + + class VmEndpointNatMappingsList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :result, as: 'result', class: Google::Apis::ComputeAlpha::VmEndpointNatMappings, decorator: Google::Apis::ComputeAlpha::VmEndpointNatMappings::Representation + + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::VmEndpointNatMappingsList::Warning, decorator: Google::Apis::ComputeAlpha::VmEndpointNatMappingsList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::VmEndpointNatMappingsList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::VmEndpointNatMappingsList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class VpnGateway # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_alpha/service.rb b/generated/google/apis/compute_alpha/service.rb index e327daaf0..5c81c828c 100644 --- a/generated/google/apis/compute_alpha/service.rb +++ b/generated/google/apis/compute_alpha/service.rb @@ -19320,6 +19320,266 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified SslCertificate resource in the region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] ssl_certificate + # Name of the SslCertificate resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options) + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? + command.query['requestId'] = request_id unless request_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 + + # Returns the specified SslCertificate resource in the specified region. Get a + # list of available SSL certificates by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] ssl_certificate + # Name of the SslCertificate resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::SslCertificate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::SslCertificate] + # + # @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_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options) + command.response_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation + command.response_class = Google::Apis::ComputeAlpha::SslCertificate + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a SslCertificate resource in the specified project and region using + # the data included in the request + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [Google::Apis::ComputeAlpha::SslCertificate] ssl_certificate_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_region_ssl_certificate(project, region, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/sslCertificates', options) + command.request_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation + command.request_object = ssl_certificate_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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 + + # Retrieves the list of SslCertificate resources available to the specified + # project in the specified region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::SslCertificateList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::SslCertificateList] + # + # @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_region_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates', options) + command.response_representation = Google::Apis::ComputeAlpha::SslCertificateList::Representation + command.response_class = Google::Apis::ComputeAlpha::SslCertificateList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource and region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_region_ssl_certificate_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/sslCertificates/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation + command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified TargetHttpProxy resource. # @param [String] project # Project ID for this request. @@ -19634,6 +19894,374 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified TargetHttpsProxy resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] target_https_proxy + # Name of the TargetHttpsProxy resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? + command.query['requestId'] = request_id unless request_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 + + # Returns the specified TargetHttpsProxy resource in the specified region. Gets + # a list of available target HTTP proxies by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] target_https_proxy + # Name of the TargetHttpsProxy resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpsProxy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::TargetHttpsProxy] + # + # @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_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) + command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation + command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxy + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a TargetHttpsProxy resource in the specified project and region using + # the data included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [Google::Apis::ComputeAlpha::TargetHttpsProxy] target_https_proxy_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_region_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies', options) + command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation + command.request_object = target_https_proxy_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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 + + # Retrieves the list of TargetHttpsProxy resources available to the specified + # project in the specified region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpsProxyList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::TargetHttpsProxyList] + # + # @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_region_target_https_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies', options) + command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyList::Representation + command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Replaces SslCertificates for TargetHttpsProxy. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] target_https_proxy + # Name of the TargetHttpsProxy resource to set an SslCertificates resource for. + # @param [Google::Apis::ComputeAlpha::RegionTargetHttpsProxiesSetSslCertificatesRequest] region_target_https_proxies_set_ssl_certificates_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) + command.request_representation = Google::Apis::ComputeAlpha::RegionTargetHttpsProxiesSetSslCertificatesRequest::Representation + command.request_object = region_target_https_proxies_set_ssl_certificates_request_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? + command.query['requestId'] = request_id unless request_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 + + # Changes the URL map for TargetHttpsProxy. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] target_https_proxy + # Name of the TargetHttpsProxy to set a URL map for. + # @param [Google::Apis::ComputeAlpha::UrlMapReference] url_map_reference_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_region_target_https_proxy_url_map(project, region, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) + command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation + command.request_object = url_map_reference_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? + command.query['requestId'] = request_id unless request_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 + + # Returns permissions that a caller has on the specified resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_region_target_https_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation + command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified UrlMap resource. # @param [String] project # Project ID for this request. @@ -20693,6 +21321,84 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves runtime Nat mapping information of VM endpoints. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] router + # Name of the Router resource to query for Nat Mapping information of VM + # endpoints. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::VmEndpointNatMappingsList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::VmEndpointNatMappingsList] + # + # @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_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getNatMappingInfo', options) + command.response_representation = Google::Apis::ComputeAlpha::VmEndpointNatMappingsList::Representation + command.response_class = Google::Apis::ComputeAlpha::VmEndpointNatMappingsList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves runtime information of the specified router. # @param [String] project # Project ID for this request. @@ -22188,6 +22894,78 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves the list of all SslCertificate resources, regional and global, + # available to the specified project. + # @param [String] project + # Name of the project scoping this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::SslCertificateAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::SslCertificateAggregatedList] + # + # @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 aggregated_ssl_certificate_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/sslCertificates', options) + command.response_representation = Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Representation + command.response_class = Google::Apis::ComputeAlpha::SslCertificateAggregatedList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified SslCertificate resource. # @param [String] project # Project ID for this request. @@ -23822,6 +24600,78 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves the list of all TargetHttpsProxy resources, regional and global, + # available to the specified project. + # @param [String] project + # Name of the project scoping this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList] + # + # @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 aggregated_target_https_proxy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/targetHttpsProxies', options) + command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList::Representation + command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified TargetHttpsProxy resource. # @param [String] project # Project ID for this request. diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 6fcbeed7f..2a07f7c08 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20180525' + REVISION = '' # 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/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index cc1b0efd6..ad3757b0a 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -1167,7 +1167,8 @@ module Google include Google::Apis::Core::Hashable # Specifies the disk name. If not specified, the default is to use the name of - # the instance. + # the instance. If the disk with the instance name exists already in the given + # zone/region, a new name will be automatically generated. # Corresponds to the JSON property `diskName` # @return [String] attr_accessor :disk_name @@ -2389,6 +2390,8 @@ module Google # 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 # order to update the BackendService. + # To see the latest fingerprint, make a get() request to retrieve a + # BackendService. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -4831,7 +4834,8 @@ module Google class DistributionPolicy include Google::Apis::Core::Hashable - # + # Zones where the regional managed instance group will create and manage + # instances. # Corresponds to the JSON property `zones` # @return [Array] attr_accessor :zones @@ -4850,9 +4854,8 @@ module Google class DistributionPolicyZoneConfiguration include Google::Apis::Core::Hashable - # URL of the zone where managed instance group is spawning instances (for - # regional resources). Zone has to belong to the region where managed instance - # group is located. + # The URL of the zone. The zone must exist in the region where the managed + # instance group is located. # Corresponds to the JSON property `zone` # @return [String] attr_accessor :zone @@ -5339,6 +5342,9 @@ module Google # an ephemeral IPv4 address from the same scope (global or regional) will be # assigned. A regional forwarding rule supports IPv4 only. A global forwarding # rule supports either IPv4 or IPv6. + # When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL + # reference to an existing Address resource ( internal regional static IP + # address). # When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP # address belonging to the network/subnet configured for the forwarding rule. By # default, if this field is empty, an ephemeral internal IP address will be @@ -5359,12 +5365,13 @@ module Google # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, # AH, SCTP or ICMP. - # When the load balancing scheme is INTERNAL, only TCP and UDP are valid. + # When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When + # the load balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. # Corresponds to the JSON property `IPProtocol` # @return [String] attr_accessor :ip_protocol - # This field is not used for external load balancing. + # This field is only used for INTERNAL load balancing. # For internal load balancing, this field identifies the BackendService resource # to receive the matched traffic. # Corresponds to the JSON property `backendService` @@ -5389,7 +5396,8 @@ module Google attr_accessor :id # The IP Version that will be used by this forwarding rule. Valid options are - # IPV4 or IPV6. This can only be specified for a global forwarding rule. + # IPV4 or IPV6. This can only be specified for an external global forwarding + # rule. # Corresponds to the JSON property `ipVersion` # @return [String] attr_accessor :ip_version @@ -5420,10 +5428,11 @@ module Google attr_accessor :labels # This signifies what the ForwardingRule will be used for and can only take the - # following values: INTERNAL, EXTERNAL The value of INTERNAL means that this - # will be used for Internal Network Load Balancing (TCP, UDP). The value of - # EXTERNAL means that this will be used for External Load Balancing (HTTP(S) LB, - # External TCP/UDP LB, SSL Proxy) + # following values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of + # INTERNAL means that this will be used for Internal Network Load Balancing (TCP, + # UDP). The value of INTERNAL_SELF_MANAGED means that this will be used for + # Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be used + # for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) # Corresponds to the JSON property `loadBalancingScheme` # @return [String] attr_accessor :load_balancing_scheme @@ -5439,9 +5448,9 @@ module Google attr_accessor :name # This field is not used for external load balancing. - # For internal load balancing, this field identifies the network that the load - # balanced IP should belong to for this Forwarding Rule. If this field is not - # specified, the default network will be used. + # For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies + # the network that the load balanced IP should belong to for this Forwarding + # Rule. If this field is not specified, the default network will be used. # Corresponds to the JSON property `network` # @return [String] attr_accessor :network @@ -5516,7 +5525,7 @@ module Google # @return [String] attr_accessor :service_name - # This field is not used for external load balancing. + # This field is only used for INTERNAL load balancing. # For internal load balancing, this field identifies the subnetwork that the # load balanced IP should belong to for this Forwarding Rule. # If the network specified is in auto subnet mode, this field is optional. @@ -5530,7 +5539,8 @@ module Google # forwarding rules, this target must live in the same region as the forwarding # rule. For global forwarding rules, this target must be a global load balancing # resource. The forwarded traffic must be of a type appropriate to the target - # object. + # object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and HTTPS targets + # are valid. # Corresponds to the JSON property `target` # @return [String] attr_accessor :target @@ -7158,9 +7168,9 @@ module Google # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey] attr_accessor :source_disk_encryption_key - # The ID value of the disk used to create this image. This value may be used to - # determine whether the image was taken from the current or a previous instance - # of a given disk name. + # [Output Only] The ID value of the disk used to create this image. This value + # may be used to determine whether the image was taken from the current or a + # previous instance of a given disk name. # Corresponds to the JSON property `sourceDiskId` # @return [String] attr_accessor :source_disk_id @@ -8128,7 +8138,8 @@ module Google # @return [String] attr_accessor :description - # Policy valid only for regional managed instance groups. + # Policy specifying intended distribution of instances in regional managed + # instance group. # Corresponds to the JSON property `distributionPolicy` # @return [Google::Apis::ComputeBeta::DistributionPolicy] attr_accessor :distribution_policy @@ -8142,6 +8153,8 @@ module Google # Fingerprint of this resource. This field may be used in optimistic locking. It # will be ignored when inserting an InstanceGroupManager. An up-to-date # fingerprint must be provided in order to update the InstanceGroupManager. + # To see the latest fingerprint, make a get() request to retrieve an + # InstanceGroupManager. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -12538,6 +12551,7 @@ module Google # 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 metadata. + # To see the latest fingerprint, make a get() request to retrieve the resource. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -12733,8 +12747,8 @@ module Google include Google::Apis::Core::Hashable # The name for a specific VM instance that the IP address belongs to. This is - # required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The - # instance must be in the same zone of network endpoint group. + # required for network endpoints of type GCE_VM_IP_PORT. The instance must be in + # the same zone of network endpoint group. # The name must be 1-63 characters long, and comply with RFC1035. # Corresponds to the JSON property `instance` # @return [String] @@ -12794,8 +12808,7 @@ module Google # @return [String] attr_accessor :kind - # Load balancing specific fields for network endpoint group of type - # LOAD_BALANCING. + # Load balancing specific fields for network endpoint group. # Corresponds to the JSON property `loadBalancer` # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup] attr_accessor :load_balancer @@ -12810,8 +12823,8 @@ module Google # @return [String] attr_accessor :name - # Type of network endpoints in this network endpoint group. Only supported - # values for LOAD_BALANCING are GCE_VM_IP or GCE_VM_IP_PORT. + # Type of network endpoints in this network endpoint group. Currently the only + # supported value is GCE_VM_IP_PORT. # Corresponds to the JSON property `networkEndpointType` # @return [String] attr_accessor :network_endpoint_type @@ -12826,12 +12839,6 @@ module Google # @return [Fixnum] attr_accessor :size - # Specify the type of this network endpoint group. Only LOAD_BALANCING is valid - # for now. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - def initialize(**args) update!(**args) end @@ -12847,7 +12854,6 @@ module Google @network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type) @self_link = args[:self_link] if args.key?(:self_link) @size = args[:size] if args.key?(:size) - @type = args[:type] if args.key?(:type) end end @@ -12970,14 +12976,12 @@ module Google end end - # Load balancing specific fields for network endpoint group of type - # LOAD_BALANCING. + # Load balancing specific fields for network endpoint group. class NetworkEndpointGroupLbNetworkEndpointGroup include Google::Apis::Core::Hashable # The default port used if the port number is not specified in the network - # endpoint. If the network endpoint type is GCE_VM_IP, this field must not be - # specified. + # endpoint. # Corresponds to the JSON property `defaultPort` # @return [Fixnum] attr_accessor :default_port @@ -14100,6 +14104,11 @@ module Google # @return [String] attr_accessor :node_type + # + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + def initialize(**args) update!(**args) end @@ -14109,6 +14118,7 @@ module Google @instances = args[:instances] if args.key?(:instances) @name = args[:name] if args.key?(:name) @node_type = args[:node_type] if args.key?(:node_type) + @status = args[:status] if args.key?(:status) end end @@ -19873,6 +19883,7 @@ module Google # This field is used in optimistic locking. This field will be ignored when # inserting a SslPolicy. An up-to-date fingerprint must be provided in order to # update the SslPolicy. + # To see the latest fingerprint, make a get() request to retrieve an SslPolicy. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -20072,6 +20083,7 @@ module Google # This field is used in optimistic locking. This field will be ignored when # inserting a Subnetwork. An up-to-date fingerprint must be provided in order to # update the Subnetwork. + # To see the latest fingerprint, make a get() request to retrieve a Subnetwork. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -22614,7 +22626,7 @@ module Google # fingerprint is initially generated by Compute Engine and changes after every # request to modify or update labels. You must always provide an up-to-date # fingerprint hash in order to update or change labels. - # To see the latest fingerprint, make a get() request to retrieve an + # To see the latest fingerprint, make a get() request to retrieve a # TargetVpnGateway. # Corresponds to the JSON property `labelFingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. @@ -23159,6 +23171,7 @@ module Google # This field is used in optimistic locking. This field will be ignored when # inserting a UrlMap. An up-to-date fingerprint must be provided in order to # update the UrlMap. + # To see the latest fingerprint, make a get() request to retrieve a UrlMap. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -24596,56 +24609,6 @@ module Google @labels = args[:labels] if args.key?(:labels) end end - - # - class ZoneSetPolicyRequest - include Google::Apis::Core::Hashable - - # Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use ' - # policy' to specify bindings. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # Flatten Policy to create a backward compatible wire-format. Deprecated. Use ' - # policy' to specify the etag. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # 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. - # **JSON 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"] ` ] ` - # **YAML Example** - # bindings: - members: - user:mike@example.com - group:admins@example.com - - # domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com - # role: roles/owner - members: - user:sean@example.com role: roles/viewer - # For a description of IAM and its features, see the [IAM developer's guide]( - # https://cloud.google.com/iam/docs). - # Corresponds to the JSON property `policy` - # @return [Google::Apis::ComputeBeta::Policy] - attr_accessor :policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) - @policy = args[:policy] if args.key?(:policy) - end - end end end end diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index 37ad7594b..b5813879a 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -3418,12 +3418,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ZoneSetPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AcceleratorConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6530,7 +6524,6 @@ module Google property :network_endpoint_type, as: 'networkEndpointType' property :self_link, as: 'selfLink' property :size, as: 'size' - property :type, as: 'type' end end @@ -6869,6 +6862,7 @@ module Google collection :instances, as: 'instances' property :name, as: 'name' property :node_type, as: 'nodeType' + property :status, as: 'status' end end @@ -9606,17 +9600,6 @@ module Google hash :labels, as: 'labels' end end - - class ZoneSetPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bindings, as: 'bindings', class: Google::Apis::ComputeBeta::Binding, decorator: Google::Apis::ComputeBeta::Binding::Representation - - property :etag, :base64 => true, as: 'etag' - property :policy, as: 'policy', class: Google::Apis::ComputeBeta::Policy, decorator: Google::Apis::ComputeBeta::Policy::Representation - - end - end end end end diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index 949b39dc6..fbe969f44 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -11954,46 +11954,6 @@ module Google execute_or_queue_command(command, &block) end - # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. - # @param [String] project - # Project ID for this request. - # @param [String] zone - # The name of the zone for this request. - # @param [String] resource - # Name of the resource for this request. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeBeta::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_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options) - command.response_representation = Google::Apis::ComputeBeta::Policy::Representation - command.response_class = Google::Apis::ComputeBeta::Policy - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - # Creates a NodeGroup resource in the specified project using the data included # in the request. # @param [String] project @@ -12123,49 +12083,6 @@ module Google execute_or_queue_command(command, &block) end - # Sets the access control policy on the specified resource. Replaces any - # existing policy. - # @param [String] project - # Project ID for this request. - # @param [String] zone - # The name of the zone for this request. - # @param [String] resource - # Name of the resource for this request. - # @param [Google::Apis::ComputeBeta::ZoneSetPolicyRequest] zone_set_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeBeta::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_node_group_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options) - command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation - command.request_object = zone_set_policy_request_object - command.response_representation = Google::Apis::ComputeBeta::Policy::Representation - command.response_class = Google::Apis::ComputeBeta::Policy - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - # Updates the node template of the node group. # @param [String] project # Project ID for this request. @@ -12220,48 +12137,6 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. - # @param [String] project - # Project ID for this request. - # @param [String] zone - # The name of the zone for this request. - # @param [String] resource - # Name of the resource for this request. - # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeBeta::TestPermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_node_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options) - command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation - command.request_object = test_permissions_request_object - command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation - command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - # Retrieves an aggregated list of node templates. # @param [String] project # Project ID for this request. @@ -12424,46 +12299,6 @@ module Google execute_or_queue_command(command, &block) end - # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. - # @param [String] project - # Project ID for this request. - # @param [String] region - # The name of the region for this request. - # @param [String] resource - # Name of the resource for this request. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeBeta::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_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options) - command.response_representation = Google::Apis::ComputeBeta::Policy::Representation - command.response_class = Google::Apis::ComputeBeta::Policy - command.params['project'] = project unless project.nil? - command.params['region'] = region unless region.nil? - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - # Creates a NodeTemplate resource in the specified project using the data # included in the request. # @param [String] project @@ -12590,91 +12425,6 @@ module Google execute_or_queue_command(command, &block) end - # Sets the access control policy on the specified resource. Replaces any - # existing policy. - # @param [String] project - # Project ID for this request. - # @param [String] region - # The name of the region for this request. - # @param [String] resource - # Name of the resource for this request. - # @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeBeta::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_node_template_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options) - command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation - command.request_object = region_set_policy_request_object - command.response_representation = Google::Apis::ComputeBeta::Policy::Representation - command.response_class = Google::Apis::ComputeBeta::Policy - command.params['project'] = project unless project.nil? - command.params['region'] = region unless region.nil? - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified resource. - # @param [String] project - # Project ID for this request. - # @param [String] region - # The name of the region for this request. - # @param [String] resource - # Name of the resource for this request. - # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeBeta::TestPermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options) - command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation - command.request_object = test_permissions_request_object - command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation - command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse - command.params['project'] = project unless project.nil? - command.params['region'] = region unless region.nil? - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - # Retrieves an aggregated list of node types. # @param [String] project # Project ID for this request. diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index 41b0f6017..8426c7099 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeV1 VERSION = 'V1' - REVISION = '20180525' + REVISION = '' # 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/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index 50b1dc232..3c119ca99 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -1108,7 +1108,8 @@ module Google include Google::Apis::Core::Hashable # Specifies the disk name. If not specified, the default is to use the name of - # the instance. + # the instance. If the disk with the instance name exists already in the given + # zone/region, a new name will be automatically generated. # Corresponds to the JSON property `diskName` # @return [String] attr_accessor :disk_name @@ -1890,6 +1891,11 @@ module Google # @return [String] attr_accessor :bucket_name + # Message containing Cloud CDN configuration for a backend bucket. + # Corresponds to the JSON property `cdnPolicy` + # @return [Google::Apis::ComputeV1::BackendBucketCdnPolicy] + attr_accessor :cdn_policy + # [Output Only] Creation timestamp in RFC3339 text format. # Corresponds to the JSON property `creationTimestamp` # @return [String] @@ -1939,6 +1945,7 @@ module Google # Update properties of this object def update!(**args) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) + @cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn) @@ -1949,6 +1956,37 @@ module Google end end + # Message containing Cloud CDN configuration for a backend bucket. + class BackendBucketCdnPolicy + include Google::Apis::Core::Hashable + + # Number of seconds up to which the response to a signed URL request will be + # cached in the CDN. After this time period, the Signed URL will be revalidated + # before being served. Defaults to 1hr (3600s). If this field is set, Cloud CDN + # will internally act as though all responses from this bucket had a ?Cache- + # Control: public, max-age=[TTL]? header, regardless of any existing Cache- + # Control header. The actual headers served in responses will not be altered. + # Corresponds to the JSON property `signedUrlCacheMaxAgeSec` + # @return [Fixnum] + attr_accessor :signed_url_cache_max_age_sec + + # [Output Only] Names of the keys currently configured for Cloud CDN Signed URL + # on this backend bucket. + # Corresponds to the JSON property `signedUrlKeyNames` + # @return [Array] + attr_accessor :signed_url_key_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @signed_url_cache_max_age_sec = args[:signed_url_cache_max_age_sec] if args.key?(:signed_url_cache_max_age_sec) + @signed_url_key_names = args[:signed_url_key_names] if args.key?(:signed_url_key_names) + end + end + # Contains a list of BackendBucket resources. class BackendBucketList include Google::Apis::Core::Hashable @@ -2117,6 +2155,8 @@ module Google # 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 # order to update the BackendService. + # To see the latest fingerprint, make a get() request to retrieve a + # BackendService. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -2376,6 +2416,22 @@ module Google # @return [Google::Apis::ComputeV1::CacheKeyPolicy] attr_accessor :cache_key_policy + # Number of seconds up to which the response to a signed URL request will be + # cached in the CDN. After this time period, the Signed URL will be revalidated + # before being served. Defaults to 1hr (3600s). If this field is set, Cloud CDN + # will internally act as though all responses from this backend had a ?Cache- + # Control: public, max-age=[TTL]? header, regardless of any existing Cache- + # Control header. The actual headers served in responses will not be altered. + # Corresponds to the JSON property `signedUrlCacheMaxAgeSec` + # @return [Fixnum] + attr_accessor :signed_url_cache_max_age_sec + + # [Output Only] Names of the keys currently configured for Cloud CDN Signed URL + # on this backend service. + # Corresponds to the JSON property `signedUrlKeyNames` + # @return [Array] + attr_accessor :signed_url_key_names + def initialize(**args) update!(**args) end @@ -2383,6 +2439,8 @@ module Google # Update properties of this object def update!(**args) @cache_key_policy = args[:cache_key_policy] if args.key?(:cache_key_policy) + @signed_url_cache_max_age_sec = args[:signed_url_cache_max_age_sec] if args.key?(:signed_url_cache_max_age_sec) + @signed_url_key_names = args[:signed_url_key_names] if args.key?(:signed_url_key_names) end end @@ -4388,6 +4446,46 @@ module Google end end + # + class DistributionPolicy + include Google::Apis::Core::Hashable + + # Zones where the regional managed instance group will create and manage + # instances. + # Corresponds to the JSON property `zones` + # @return [Array] + attr_accessor :zones + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @zones = args[:zones] if args.key?(:zones) + end + end + + # + class DistributionPolicyZoneConfiguration + include Google::Apis::Core::Hashable + + # The URL of the zone. The zone must exist in the region where the managed + # instance group is located. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @zone = args[:zone] if args.key?(:zone) + end + end + # Represents a Firewall resource. class Firewall include Google::Apis::Core::Hashable @@ -4759,6 +4857,9 @@ module Google # an ephemeral IPv4 address from the same scope (global or regional) will be # assigned. A regional forwarding rule supports IPv4 only. A global forwarding # rule supports either IPv4 or IPv6. + # When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL + # reference to an existing Address resource ( internal regional static IP + # address). # When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP # address belonging to the network/subnet configured for the forwarding rule. By # default, if this field is empty, an ephemeral internal IP address will be @@ -4779,12 +4880,13 @@ module Google # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, # AH, SCTP or ICMP. - # When the load balancing scheme is INTERNAL, only TCP and UDP are valid. + # When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When + # the load balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. # Corresponds to the JSON property `IPProtocol` # @return [String] attr_accessor :ip_protocol - # This field is not used for external load balancing. + # This field is only used for INTERNAL load balancing. # For internal load balancing, this field identifies the BackendService resource # to receive the matched traffic. # Corresponds to the JSON property `backendService` @@ -4809,7 +4911,8 @@ module Google attr_accessor :id # The IP Version that will be used by this forwarding rule. Valid options are - # IPV4 or IPV6. This can only be specified for a global forwarding rule. + # IPV4 or IPV6. This can only be specified for an external global forwarding + # rule. # Corresponds to the JSON property `ipVersion` # @return [String] attr_accessor :ip_version @@ -4821,10 +4924,11 @@ module Google attr_accessor :kind # This signifies what the ForwardingRule will be used for and can only take the - # following values: INTERNAL, EXTERNAL The value of INTERNAL means that this - # will be used for Internal Network Load Balancing (TCP, UDP). The value of - # EXTERNAL means that this will be used for External Load Balancing (HTTP(S) LB, - # External TCP/UDP LB, SSL Proxy) + # following values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of + # INTERNAL means that this will be used for Internal Network Load Balancing (TCP, + # UDP). The value of INTERNAL_SELF_MANAGED means that this will be used for + # Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be used + # for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) # Corresponds to the JSON property `loadBalancingScheme` # @return [String] attr_accessor :load_balancing_scheme @@ -4840,9 +4944,9 @@ module Google attr_accessor :name # This field is not used for external load balancing. - # For internal load balancing, this field identifies the network that the load - # balanced IP should belong to for this Forwarding Rule. If this field is not - # specified, the default network will be used. + # For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies + # the network that the load balanced IP should belong to for this Forwarding + # Rule. If this field is not specified, the default network will be used. # Corresponds to the JSON property `network` # @return [String] attr_accessor :network @@ -4888,7 +4992,7 @@ module Google # @return [String] attr_accessor :self_link - # This field is not used for external load balancing. + # This field is only used for INTERNAL load balancing. # For internal load balancing, this field identifies the subnetwork that the # load balanced IP should belong to for this Forwarding Rule. # If the network specified is in auto subnet mode, this field is optional. @@ -4902,7 +5006,8 @@ module Google # forwarding rules, this target must live in the same region as the forwarding # rule. For global forwarding rules, this target must be a global load balancing # resource. The forwarded traffic must be of a type appropriate to the target - # object. + # object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and HTTPS targets + # are valid. # Corresponds to the JSON property `target` # @return [String] attr_accessor :target @@ -6314,9 +6419,9 @@ module Google # @return [Google::Apis::ComputeV1::CustomerEncryptionKey] attr_accessor :source_disk_encryption_key - # The ID value of the disk used to create this image. This value may be used to - # determine whether the image was taken from the current or a previous instance - # of a given disk name. + # [Output Only] The ID value of the disk used to create this image. This value + # may be used to determine whether the image was taken from the current or a + # previous instance of a given disk name. # Corresponds to the JSON property `sourceDiskId` # @return [String] attr_accessor :source_disk_id @@ -7266,9 +7371,17 @@ module Google # @return [String] attr_accessor :description + # Policy specifying intended distribution of instances in regional managed + # instance group. + # Corresponds to the JSON property `distributionPolicy` + # @return [Google::Apis::ComputeV1::DistributionPolicy] + attr_accessor :distribution_policy + # Fingerprint of this resource. This field may be used in optimistic locking. It # will be ignored when inserting an InstanceGroupManager. An up-to-date # fingerprint must be provided in order to update the InstanceGroupManager. + # To see the latest fingerprint, make a get() request to retrieve an + # InstanceGroupManager. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -7352,6 +7465,7 @@ module Google @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @current_actions = args[:current_actions] if args.key?(:current_actions) @description = args[:description] if args.key?(:description) + @distribution_policy = args[:distribution_policy] if args.key?(:distribution_policy) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @id = args[:id] if args.key?(:id) @instance_group = args[:instance_group] if args.key?(:instance_group) @@ -11218,6 +11332,7 @@ module Google # 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 metadata. + # To see the latest fingerprint, make a get() request to retrieve the resource. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -15058,6 +15173,37 @@ module Google end end + # Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs + class SignedUrlKey + include Google::Apis::Core::Hashable + + # Name of the key. The name must be 1-63 characters long, and comply with + # RFC1035. Specifically, the name must be 1-63 characters long and match the + # regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + # character must be a lowercase letter, and all following characters must be a + # dash, lowercase letter, or digit, except the last character, which cannot be a + # dash. + # Corresponds to the JSON property `keyName` + # @return [String] + attr_accessor :key_name + + # 128-bit key value used for signing the URL. The key value must be a valid RFC + # 4648 Section 5 base64url encoded string. + # Corresponds to the JSON property `keyValue` + # @return [String] + attr_accessor :key_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key_name = args[:key_name] if args.key?(:key_name) + @key_value = args[:key_value] if args.key?(:key_value) + end + end + # A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== # resource_for v1.snapshots ==) class Snapshot @@ -15708,6 +15854,7 @@ module Google # This field is used in optimistic locking. This field will be ignored when # inserting a SslPolicy. An up-to-date fingerprint must be provided in order to # update the SslPolicy. + # To see the latest fingerprint, make a get() request to retrieve an SslPolicy. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -15891,6 +16038,7 @@ module Google # This field is used in optimistic locking. This field will be ignored when # inserting a Subnetwork. An up-to-date fingerprint must be provided in order to # update the Subnetwork. + # To see the latest fingerprint, make a get() request to retrieve a Subnetwork. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -18915,6 +19063,7 @@ module Google # This field is used in optimistic locking. This field will be ignored when # inserting a UrlMap. An up-to-date fingerprint must be provided in order to # update the UrlMap. + # To see the latest fingerprint, make a get() request to retrieve a UrlMap. # Corresponds to the JSON property `fingerprint` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index 5676ebc1d..fc73cb196 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -274,6 +274,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BackendBucketCdnPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendBucketList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -604,6 +610,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DistributionPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DistributionPolicyZoneConfiguration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Firewall class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2044,6 +2062,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SignedUrlKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Snapshot class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3241,6 +3265,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :bucket_name, as: 'bucketName' + property :cdn_policy, as: 'cdnPolicy', class: Google::Apis::ComputeV1::BackendBucketCdnPolicy, decorator: Google::Apis::ComputeV1::BackendBucketCdnPolicy::Representation + property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :enable_cdn, as: 'enableCdn' @@ -3251,6 +3277,14 @@ module Google end end + class BackendBucketCdnPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec' + collection :signed_url_key_names, as: 'signedUrlKeyNames' + end + end + class BackendBucketList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3351,6 +3385,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :cache_key_policy, as: 'cacheKeyPolicy', class: Google::Apis::ComputeV1::CacheKeyPolicy, decorator: Google::Apis::ComputeV1::CacheKeyPolicy::Representation + property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec' + collection :signed_url_key_names, as: 'signedUrlKeyNames' end end @@ -3864,6 +3900,21 @@ module Google end end + class DistributionPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :zones, as: 'zones', class: Google::Apis::ComputeV1::DistributionPolicyZoneConfiguration, decorator: Google::Apis::ComputeV1::DistributionPolicyZoneConfiguration::Representation + + end + end + + class DistributionPolicyZoneConfiguration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :zone, as: 'zone' + end + end + class Firewall # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4517,6 +4568,8 @@ module Google property :current_actions, as: 'currentActions', class: Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary, decorator: Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary::Representation property :description, as: 'description' + property :distribution_policy, as: 'distributionPolicy', class: Google::Apis::ComputeV1::DistributionPolicy, decorator: Google::Apis::ComputeV1::DistributionPolicy::Representation + property :fingerprint, :base64 => true, as: 'fingerprint' property :id, :numeric_string => true, as: 'id' property :instance_group, as: 'instanceGroup' @@ -6536,6 +6589,14 @@ module Google end end + class SignedUrlKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key_name, as: 'keyName' + property :key_value, as: 'keyValue' + end + end + class Snapshot # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index 8427453b6..a87edbc19 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -921,6 +921,58 @@ module Google execute_or_queue_command(command, &block) end + # Adds the given Signed URL Key to the backend bucket. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to which the Signed URL Key should be added. + # The name should conform to RFC1035. + # @param [Google::Apis::ComputeV1::SignedUrlKey] signed_url_key_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', options) + command.request_representation = Google::Apis::ComputeV1::SignedUrlKey::Representation + command.request_object = signed_url_key_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['requestId'] = request_id unless request_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 + # Deletes the specified BackendBucket resource. # @param [String] project # Project ID for this request. @@ -969,6 +1021,58 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the given Signed URL Key from the backend bucket. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to which the Signed URL Key should be added. + # The name should conform to RFC1035. + # @param [String] key_name + # The name of the Signed URL Key to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['keyName'] = key_name unless key_name.nil? + command.query['requestId'] = request_id unless request_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 + # Returns the specified BackendBucket resource. Gets a list of available backend # buckets by making a list() request. # @param [String] project @@ -1232,6 +1336,58 @@ module Google execute_or_queue_command(command, &block) end + # Adds the given Signed URL Key to the specified backend service. + # @param [String] project + # Project ID for this request. + # @param [String] backend_service + # Name of the BackendService resource to which the Signed URL Key should be + # added. The name should conform to RFC1035. + # @param [Google::Apis::ComputeV1::SignedUrlKey] signed_url_key_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/addSignedUrlKey', options) + command.request_representation = Google::Apis::ComputeV1::SignedUrlKey::Representation + command.request_object = signed_url_key_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['requestId'] = request_id unless request_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 + # Retrieves the list of all BackendService resources, regional and global, # available to the specified project. # @param [String] project @@ -1352,6 +1508,58 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the given Signed URL Key from the specified backend service. + # @param [String] project + # Project ID for this request. + # @param [String] backend_service + # Name of the BackendService resource to which the Signed URL Key should be + # added. The name should conform to RFC1035. + # @param [String] key_name + # The name of the Signed URL Key to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/deleteSignedUrlKey', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['keyName'] = key_name unless key_name.nil? + command.query['requestId'] = request_id unless request_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 + # Returns the specified BackendService resource. Gets a list of available # backend services by making a list() request. # @param [String] project diff --git a/generated/google/apis/content_v2sandbox.rb b/generated/google/apis/content_v2sandbox.rb index 5c9b9096a..f608071f6 100644 --- a/generated/google/apis/content_v2sandbox.rb +++ b/generated/google/apis/content_v2sandbox.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2sandbox VERSION = 'V2sandbox' - REVISION = '20180608' + REVISION = '' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2sandbox/classes.rb b/generated/google/apis/content_v2sandbox/classes.rb index cb7e18888..8e0a70c38 100644 --- a/generated/google/apis/content_v2sandbox/classes.rb +++ b/generated/google/apis/content_v2sandbox/classes.rb @@ -26,12 +26,12 @@ module Google class Amount include Google::Apis::Core::Hashable - # Value before taxes. + # [required] Value before taxes. # Corresponds to the JSON property `pretax` # @return [Google::Apis::ContentV2sandbox::Price] attr_accessor :pretax - # Tax value. + # [required] Tax value. # Corresponds to the JSON property `tax` # @return [Google::Apis::ContentV2sandbox::Price] attr_accessor :tax @@ -118,30 +118,30 @@ module Google # @return [Array] attr_accessor :additional_charge_summaries - # Customer balance on this invoice. A positive amount means the customer is - # paying, a negative one means the customer is receiving money. Note that it - # must always be true that merchant_balance + customer_balance + google_balance = - # 0. + # [required] Customer balance on this invoice. A positive amount means the + # customer is paying, a negative one means the customer is receiving money. Note + # that it must always be true that merchant_balance + customer_balance + + # google_balance = 0. # Corresponds to the JSON property `customerBalance` # @return [Google::Apis::ContentV2sandbox::Amount] attr_accessor :customer_balance - # Google balance on this invoice. A positive amount means Google is paying, a - # negative one means Google is receiving money. Note that it must always be true - # that merchant_balance + customer_balance + google_balance = 0. + # [required] Google balance on this invoice. A positive amount means Google is + # paying, a negative one means Google is receiving money. Note that it must + # always be true that merchant_balance + customer_balance + google_balance = 0. # Corresponds to the JSON property `googleBalance` # @return [Google::Apis::ContentV2sandbox::Amount] attr_accessor :google_balance - # Merchant balance on this invoice. A positive amount means the merchant is - # paying, a negative one means the merchant is receiving money. Note that it - # must always be true that merchant_balance + customer_balance + google_balance = - # 0. + # [required] Merchant balance on this invoice. A positive amount means the + # merchant is paying, a negative one means the merchant is receiving money. Note + # that it must always be true that merchant_balance + customer_balance + + # google_balance = 0. # Corresponds to the JSON property `merchantBalance` # @return [Google::Apis::ContentV2sandbox::Amount] attr_accessor :merchant_balance - # Total price for the product. + # [required] Total price for the product. # Corresponds to the JSON property `productTotal` # @return [Google::Apis::ContentV2sandbox::Amount] attr_accessor :product_total @@ -170,12 +170,12 @@ module Google class InvoiceSummaryAdditionalChargeSummary include Google::Apis::Core::Hashable - # Total additional charge for this type. + # [required] Total additional charge for this type. # Corresponds to the JSON property `totalAmount` # @return [Google::Apis::ContentV2sandbox::Amount] attr_accessor :total_amount - # Type of the additional charge. + # [required] Type of the additional charge. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -1186,7 +1186,7 @@ module Google attr_accessor :creation_date # Date on which the shipment has been delivered, in ISO 8601 format. Present - # only if status is delievered + # only if status is delivered # Corresponds to the JSON property `deliveryDate` # @return [String] attr_accessor :delivery_date @@ -1264,27 +1264,28 @@ module Google class OrderinvoicesCreateChargeInvoiceRequest include Google::Apis::Core::Hashable - # The ID of the invoice. + # [required] The ID of the invoice. # Corresponds to the JSON property `invoiceId` # @return [String] attr_accessor :invoice_id - # Invoice summary. + # [required] Invoice summary. # Corresponds to the JSON property `invoiceSummary` # @return [Google::Apis::ContentV2sandbox::InvoiceSummary] attr_accessor :invoice_summary - # Invoice details per line item. + # [required] Invoice details per line item. # Corresponds to the JSON property `lineItemInvoices` # @return [Array] attr_accessor :line_item_invoices - # The ID of the operation, unique across all operations for a given order. + # [required] The ID of the operation, unique across all operations for a given + # order. # Corresponds to the JSON property `operationId` # @return [String] attr_accessor :operation_id - # ID of the shipment group. + # [required] ID of the shipment group. # Corresponds to the JSON property `shipmentGroupId` # @return [String] attr_accessor :shipment_group_id @@ -1333,24 +1334,25 @@ module Google class OrderinvoicesCreateRefundInvoiceRequest include Google::Apis::Core::Hashable - # The ID of the invoice. + # [required] The ID of the invoice. # Corresponds to the JSON property `invoiceId` # @return [String] attr_accessor :invoice_id - # The ID of the operation, unique across all operations for a given order. + # [required] The ID of the operation, unique across all operations for a given + # order. # Corresponds to the JSON property `operationId` # @return [String] attr_accessor :operation_id - # Option to create a refund-only invoice. Exactly one of refund_option and - # return_option must be provided. + # Option to create a refund-only invoice. Exactly one of refundOnlyOption or + # returnOption must be provided. # Corresponds to the JSON property `refundOnlyOption` # @return [Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption] attr_accessor :refund_only_option # Option to create an invoice for a refund and mark all items within the invoice - # as returned. Exactly one of refund_option and return_option must be provided. + # as returned. Exactly one of refundOnlyOption or returnOption must be provided. # Corresponds to the JSON property `returnOption` # @return [Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption] attr_accessor :return_option @@ -1409,7 +1411,7 @@ module Google # @return [String] attr_accessor :description - # Reason for the refund. + # [required] Reason for the refund. # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -1434,7 +1436,7 @@ module Google # @return [String] attr_accessor :description - # Reason for the return. + # [required] Reason for the return. # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -2562,6 +2564,12 @@ module Google # @return [String] attr_accessor :carrier + # Date on which the shipment has been delivered, in ISO 8601 format. Optional + # and can be provided only if + # Corresponds to the JSON property `deliveryDate` + # @return [String] + attr_accessor :delivery_date + # The ID of the shipment. # Corresponds to the JSON property `shipmentId` # @return [String] @@ -2584,6 +2592,7 @@ module Google # Update properties of this object def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) + @delivery_date = args[:delivery_date] if args.key?(:delivery_date) @shipment_id = args[:shipment_id] if args.key?(:shipment_id) @status = args[:status] if args.key?(:status) @tracking_id = args[:tracking_id] if args.key?(:tracking_id) @@ -3435,6 +3444,12 @@ module Google # @return [String] attr_accessor :carrier + # Date on which the shipment has been delivered, in ISO 8601 format. Optional + # and can be provided only if + # Corresponds to the JSON property `deliveryDate` + # @return [String] + attr_accessor :delivery_date + # The ID of the operation. Unique across all operations for a given order. # Corresponds to the JSON property `operationId` # @return [String] @@ -3462,6 +3477,7 @@ module Google # Update properties of this object def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) + @delivery_date = args[:delivery_date] if args.key?(:delivery_date) @operation_id = args[:operation_id] if args.key?(:operation_id) @shipment_id = args[:shipment_id] if args.key?(:shipment_id) @status = args[:status] if args.key?(:status) @@ -3524,13 +3540,13 @@ module Google class Promotion include Google::Apis::Core::Hashable - # Amount of the promotion. The values here are the promotion applied to the unit - # price pretax and to the total of the tax amounts. + # [required] Amount of the promotion. The values here are the promotion applied + # to the unit price pretax and to the total of the tax amounts. # Corresponds to the JSON property `promotionAmount` # @return [Google::Apis::ContentV2sandbox::Amount] attr_accessor :promotion_amount - # ID of the promotion. + # [required] ID of the promotion. # Corresponds to the JSON property `promotionId` # @return [String] attr_accessor :promotion_id @@ -3550,17 +3566,17 @@ module Google class ShipmentInvoice include Google::Apis::Core::Hashable - # Invoice summary. + # [required] Invoice summary. # Corresponds to the JSON property `invoiceSummary` # @return [Google::Apis::ContentV2sandbox::InvoiceSummary] attr_accessor :invoice_summary - # Invoice details per line item. + # [required] Invoice details per line item. # Corresponds to the JSON property `lineItemInvoices` # @return [Array] attr_accessor :line_item_invoices - # ID of the shipment group. + # [required] ID of the shipment group. # Corresponds to the JSON property `shipmentGroupId` # @return [String] attr_accessor :shipment_group_id @@ -3592,12 +3608,12 @@ module Google # @return [String] attr_accessor :product_id - # Unit IDs to define specific units within the line item. + # [required] Unit IDs to define specific units within the line item. # Corresponds to the JSON property `shipmentUnitIds` # @return [Array] attr_accessor :shipment_unit_ids - # Invoice details for a single unit. + # [required] Invoice details for a single unit. # Corresponds to the JSON property `unitInvoice` # @return [Google::Apis::ContentV2sandbox::UnitInvoice] attr_accessor :unit_invoice @@ -3955,7 +3971,7 @@ module Google # @return [Array] attr_accessor :promotions - # Price of the unit, before applying taxes. + # [required] Price of the unit, before applying taxes. # Corresponds to the JSON property `unitPricePretax` # @return [Google::Apis::ContentV2sandbox::Price] attr_accessor :unit_price_pretax @@ -3982,7 +3998,7 @@ module Google class UnitInvoiceAdditionalCharge include Google::Apis::Core::Hashable - # Amount of the additional charge. + # [required] Amount of the additional charge. # Corresponds to the JSON property `additionalChargeAmount` # @return [Google::Apis::ContentV2sandbox::Amount] attr_accessor :additional_charge_amount @@ -3992,7 +4008,7 @@ module Google # @return [Array] attr_accessor :additional_charge_promotions - # Type of the additional charge. + # [required] Type of the additional charge. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -4013,17 +4029,18 @@ module Google class UnitInvoiceTaxLine include Google::Apis::Core::Hashable - # Tax amount for the tax type. + # [required] Tax amount for the tax type. # Corresponds to the JSON property `taxAmount` # @return [Google::Apis::ContentV2sandbox::Price] attr_accessor :tax_amount - # Optional name of the tax type. + # Optional name of the tax type. This should only be provided if taxType is + # otherFeeTax. # Corresponds to the JSON property `taxName` # @return [String] attr_accessor :tax_name - # Type of the tax. + # [required] Type of the tax. # Corresponds to the JSON property `taxType` # @return [String] attr_accessor :tax_type diff --git a/generated/google/apis/content_v2sandbox/representations.rb b/generated/google/apis/content_v2sandbox/representations.rb index c40b23d05..521449a3a 100644 --- a/generated/google/apis/content_v2sandbox/representations.rb +++ b/generated/google/apis/content_v2sandbox/representations.rb @@ -1337,6 +1337,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :carrier, as: 'carrier' + property :delivery_date, as: 'deliveryDate' property :shipment_id, as: 'shipmentId' property :status, as: 'status' property :tracking_id, as: 'trackingId' @@ -1585,6 +1586,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :carrier, as: 'carrier' + property :delivery_date, as: 'deliveryDate' property :operation_id, as: 'operationId' property :shipment_id, as: 'shipmentId' property :status, as: 'status' diff --git a/generated/google/apis/customsearch_v1.rb b/generated/google/apis/customsearch_v1.rb index 4b5a98ca0..d2c0ddcf8 100644 --- a/generated/google/apis/customsearch_v1.rb +++ b/generated/google/apis/customsearch_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/custom-search/v1/using_rest module CustomsearchV1 VERSION = 'V1' - REVISION = '20180220' + REVISION = '' end end end diff --git a/generated/google/apis/deploymentmanager_alpha.rb b/generated/google/apis/deploymentmanager_alpha.rb index 7b8ce89af..c0cb4ed91 100644 --- a/generated/google/apis/deploymentmanager_alpha.rb +++ b/generated/google/apis/deploymentmanager_alpha.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/deployment-manager/ module DeploymentmanagerAlpha VERSION = 'Alpha' - REVISION = '20180609' + REVISION = '' # 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/deploymentmanager_v2.rb b/generated/google/apis/deploymentmanager_v2.rb index 280620f92..1b5d29ba1 100644 --- a/generated/google/apis/deploymentmanager_v2.rb +++ b/generated/google/apis/deploymentmanager_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/deployment-manager/ module DeploymentmanagerV2 VERSION = 'V2' - REVISION = '20180503' + REVISION = '' # 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/deploymentmanager_v2beta.rb b/generated/google/apis/deploymentmanager_v2beta.rb index 9ed81f8ef..b4b68424f 100644 --- a/generated/google/apis/deploymentmanager_v2beta.rb +++ b/generated/google/apis/deploymentmanager_v2beta.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/deployment-manager/ module DeploymentmanagerV2beta VERSION = 'V2beta' - REVISION = '20180609' + REVISION = '' # 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/dfareporting_v2_8.rb b/generated/google/apis/dfareporting_v2_8.rb index 9d51ac155..ea903eed3 100644 --- a/generated/google/apis/dfareporting_v2_8.rb +++ b/generated/google/apis/dfareporting_v2_8.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/doubleclick-advertisers/ module DfareportingV2_8 VERSION = 'V2_8' - REVISION = '20180514' + REVISION = '' # Manage DoubleClick Digital Marketing conversions AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' diff --git a/generated/google/apis/dfareporting_v3_0.rb b/generated/google/apis/dfareporting_v3_0.rb index b15e504fc..b94f6fb43 100644 --- a/generated/google/apis/dfareporting_v3_0.rb +++ b/generated/google/apis/dfareporting_v3_0.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/doubleclick-advertisers/ module DfareportingV3_0 VERSION = 'V3_0' - REVISION = '20180514' + REVISION = '' # Manage DoubleClick Digital Marketing conversions AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' diff --git a/generated/google/apis/dfareporting_v3_1.rb b/generated/google/apis/dfareporting_v3_1.rb index b99906876..a271cae6e 100644 --- a/generated/google/apis/dfareporting_v3_1.rb +++ b/generated/google/apis/dfareporting_v3_1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/doubleclick-advertisers/ module DfareportingV3_1 VERSION = 'V3_1' - REVISION = '20180514' + REVISION = '' # Manage DoubleClick Digital Marketing conversions AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' diff --git a/generated/google/apis/dns_v1.rb b/generated/google/apis/dns_v1.rb index f710f04a9..786dc01e3 100644 --- a/generated/google/apis/dns_v1.rb +++ b/generated/google/apis/dns_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1 VERSION = 'V1' - REVISION = '20180427' + REVISION = '' # 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/dns_v1beta2.rb b/generated/google/apis/dns_v1beta2.rb index fcd6b4271..6d82bf787 100644 --- a/generated/google/apis/dns_v1beta2.rb +++ b/generated/google/apis/dns_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1beta2 VERSION = 'V1beta2' - REVISION = '20180427' + REVISION = '' # 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/dns_v2beta1.rb b/generated/google/apis/dns_v2beta1.rb index 49c9d910c..13251098a 100644 --- a/generated/google/apis/dns_v2beta1.rb +++ b/generated/google/apis/dns_v2beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV2beta1 VERSION = 'V2beta1' - REVISION = '20180427' + REVISION = '' # 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/doubleclickbidmanager_v1.rb b/generated/google/apis/doubleclickbidmanager_v1.rb index 586efc786..9bdc87fd0 100644 --- a/generated/google/apis/doubleclickbidmanager_v1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1 VERSION = 'V1' - REVISION = '20180215' + REVISION = '' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/doubleclicksearch_v2.rb b/generated/google/apis/doubleclicksearch_v2.rb index 818d32ac7..081df8c7b 100644 --- a/generated/google/apis/doubleclicksearch_v2.rb +++ b/generated/google/apis/doubleclicksearch_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/doubleclick-search/ module DoubleclicksearchV2 VERSION = 'V2' - REVISION = '20180424' + REVISION = '' # View and manage your advertising data in DoubleClick Search AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch' diff --git a/generated/google/apis/drive_v2.rb b/generated/google/apis/drive_v2.rb index 0834bba7a..b7fac933a 100644 --- a/generated/google/apis/drive_v2.rb +++ b/generated/google/apis/drive_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV2 VERSION = 'V2' - REVISION = '20180413' + REVISION = '' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb index c318046b8..130294567 100644 --- a/generated/google/apis/drive_v3.rb +++ b/generated/google/apis/drive_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV3 VERSION = 'V3' - REVISION = '20180413' + REVISION = '' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/fitness_v1.rb b/generated/google/apis/fitness_v1.rb index b6aa7b634..9f58fff0b 100644 --- a/generated/google/apis/fitness_v1.rb +++ b/generated/google/apis/fitness_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/fit/rest/ module FitnessV1 VERSION = 'V1' - REVISION = '20170922' + REVISION = '' # View your activity information in Google Fit AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read' diff --git a/generated/google/apis/fusiontables_v1.rb b/generated/google/apis/fusiontables_v1.rb index eced8b3c4..2533e3721 100644 --- a/generated/google/apis/fusiontables_v1.rb +++ b/generated/google/apis/fusiontables_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/fusiontables module FusiontablesV1 VERSION = 'V1' - REVISION = '20171117' + REVISION = '' # Manage your Fusion Tables AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables' diff --git a/generated/google/apis/fusiontables_v2.rb b/generated/google/apis/fusiontables_v2.rb index 065393f5a..8130692ac 100644 --- a/generated/google/apis/fusiontables_v2.rb +++ b/generated/google/apis/fusiontables_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/fusiontables module FusiontablesV2 VERSION = 'V2' - REVISION = '20171117' + REVISION = '' # Manage your Fusion Tables AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables' diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index 420df456a..531d862eb 100644 --- a/generated/google/apis/games_configuration_v1configuration.rb +++ b/generated/google/apis/games_configuration_v1configuration.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesConfigurationV1configuration VERSION = 'V1configuration' - REVISION = '20180417' + REVISION = '' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/games_management_v1management.rb b/generated/google/apis/games_management_v1management.rb index 36d81c933..2f156c0b6 100644 --- a/generated/google/apis/games_management_v1management.rb +++ b/generated/google/apis/games_management_v1management.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesManagementV1management VERSION = 'V1management' - REVISION = '20180430' + REVISION = '' # Share your Google+ profile information and view and manage your game activity AUTH_GAMES = 'https://www.googleapis.com/auth/games' diff --git a/generated/google/apis/games_v1.rb b/generated/google/apis/games_v1.rb index be500d434..6ffcdc083 100644 --- a/generated/google/apis/games_v1.rb +++ b/generated/google/apis/games_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/ module GamesV1 VERSION = 'V1' - REVISION = '20180430' + REVISION = '' # View and manage its own configuration data in your Google Drive AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata' diff --git a/generated/google/apis/gmail_v1.rb b/generated/google/apis/gmail_v1.rb index 06824a215..66f6315bf 100644 --- a/generated/google/apis/gmail_v1.rb +++ b/generated/google/apis/gmail_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/gmail/api/ module GmailV1 VERSION = 'V1' - REVISION = '20180319' + REVISION = '' # Read, send, delete, and manage your email AUTH_SCOPE = 'https://mail.google.com/' diff --git a/generated/google/apis/groupsmigration_v1.rb b/generated/google/apis/groupsmigration_v1.rb index 708f9c878..830422c6a 100644 --- a/generated/google/apis/groupsmigration_v1.rb +++ b/generated/google/apis/groupsmigration_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/groups-migration/ module GroupsmigrationV1 VERSION = 'V1' - REVISION = '20170607' + REVISION = '' # Manage messages in groups on your domain AUTH_APPS_GROUPS_MIGRATION = 'https://www.googleapis.com/auth/apps.groups.migration' diff --git a/generated/google/apis/groupssettings_v1.rb b/generated/google/apis/groupssettings_v1.rb index 727da33b2..7f0a072d1 100644 --- a/generated/google/apis/groupssettings_v1.rb +++ b/generated/google/apis/groupssettings_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/groups-settings/get_started module GroupssettingsV1 VERSION = 'V1' - REVISION = '20180404' + REVISION = '' # View and manage the settings of a G Suite group AUTH_APPS_GROUPS_SETTINGS = 'https://www.googleapis.com/auth/apps.groups.settings' diff --git a/generated/google/apis/groupssettings_v1/classes.rb b/generated/google/apis/groupssettings_v1/classes.rb index ad5937bfe..78a3030cd 100644 --- a/generated/google/apis/groupssettings_v1/classes.rb +++ b/generated/google/apis/groupssettings_v1/classes.rb @@ -71,6 +71,11 @@ module Google # @return [String] attr_accessor :email + # If favorite replies should be displayed above other replies. + # Corresponds to the JSON property `favoriteRepliesOnTop` + # @return [String] + attr_accessor :favorite_replies_on_top + # Whether to include custom footer. # Corresponds to the JSON property `includeCustomFooter` # @return [String] @@ -152,6 +157,18 @@ module Google # @return [String] attr_accessor :who_can_add + # Permission to add references to a topic. Possible values are: NONE OWNERS_ONLY + # MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS + # Corresponds to the JSON property `whoCanAddReferences` + # @return [String] + attr_accessor :who_can_add_references + + # Permission to assign topics in a forum to another user. Possible values are: + # NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS + # Corresponds to the JSON property `whoCanAssignTopics` + # @return [String] + attr_accessor :who_can_assign_topics + # Permission to contact owner of the group via web UI. Possible values are: # ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT # ALL_MANAGERS_CAN_CONTACT @@ -159,6 +176,12 @@ module Google # @return [String] attr_accessor :who_can_contact_owner + # Permission to enter free form tags for topics in a forum. Possible values are: + # NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS + # Corresponds to the JSON property `whoCanEnterFreeFormTags` + # @return [String] + attr_accessor :who_can_enter_free_form_tags + # Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE # ALL_MANAGERS_CAN_INVITE ALL_OWNERS_CAN_INVITE NONE_CAN_INVITE # Corresponds to the JSON property `whoCanInvite` @@ -177,6 +200,37 @@ module Google # @return [String] attr_accessor :who_can_leave_group + # Permission to mark a topic as a duplicate of another topic. Possible values + # are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS + # Corresponds to the JSON property `whoCanMarkDuplicate` + # @return [String] + attr_accessor :who_can_mark_duplicate + + # Permission to mark any other user's post as a favorite reply. Possible values + # are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS + # Corresponds to the JSON property `whoCanMarkFavoriteReplyOnAnyTopic` + # @return [String] + attr_accessor :who_can_mark_favorite_reply_on_any_topic + + # Permission to mark a post for a topic they started as a favorite reply. + # Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS + # ALL_MEMBERS + # Corresponds to the JSON property `whoCanMarkFavoriteReplyOnOwnTopic` + # @return [String] + attr_accessor :who_can_mark_favorite_reply_on_own_topic + + # Permission to mark a topic as not needing a response. Possible values are: + # NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS + # Corresponds to the JSON property `whoCanMarkNoResponseNeeded` + # @return [String] + attr_accessor :who_can_mark_no_response_needed + + # Permission to change tags and categories. Possible values are: NONE + # OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS + # Corresponds to the JSON property `whoCanModifyTagsAndCategories` + # @return [String] + attr_accessor :who_can_modify_tags_and_categories + # Permissions to post messages to the group. Possible values are: NONE_CAN_POST # ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_OWNERS_CAN_POST # ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST @@ -184,6 +238,24 @@ module Google # @return [String] attr_accessor :who_can_post_message + # Permission to take topics in a forum. Possible values are: NONE OWNERS_ONLY + # MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS + # Corresponds to the JSON property `whoCanTakeTopics` + # @return [String] + attr_accessor :who_can_take_topics + + # Permission to unassign any topic in a forum. Possible values are: NONE + # OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS + # Corresponds to the JSON property `whoCanUnassignTopic` + # @return [String] + attr_accessor :who_can_unassign_topic + + # Permission to unmark any post from a favorite reply. Possible values are: NONE + # OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS + # Corresponds to the JSON property `whoCanUnmarkFavoriteReplyOnAnyTopic` + # @return [String] + attr_accessor :who_can_unmark_favorite_reply_on_any_topic + # Permissions to view group. Possible values are: ANYONE_CAN_VIEW # ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW # ALL_OWNERS_CAN_VIEW @@ -212,6 +284,7 @@ module Google @default_message_deny_notification_text = args[:default_message_deny_notification_text] if args.key?(:default_message_deny_notification_text) @description = args[:description] if args.key?(:description) @email = args[:email] if args.key?(:email) + @favorite_replies_on_top = args[:favorite_replies_on_top] if args.key?(:favorite_replies_on_top) @include_custom_footer = args[:include_custom_footer] if args.key?(:include_custom_footer) @include_in_global_address_list = args[:include_in_global_address_list] if args.key?(:include_in_global_address_list) @is_archived = args[:is_archived] if args.key?(:is_archived) @@ -227,11 +300,22 @@ module Google @show_in_group_directory = args[:show_in_group_directory] if args.key?(:show_in_group_directory) @spam_moderation_level = args[:spam_moderation_level] if args.key?(:spam_moderation_level) @who_can_add = args[:who_can_add] if args.key?(:who_can_add) + @who_can_add_references = args[:who_can_add_references] if args.key?(:who_can_add_references) + @who_can_assign_topics = args[:who_can_assign_topics] if args.key?(:who_can_assign_topics) @who_can_contact_owner = args[:who_can_contact_owner] if args.key?(:who_can_contact_owner) + @who_can_enter_free_form_tags = args[:who_can_enter_free_form_tags] if args.key?(:who_can_enter_free_form_tags) @who_can_invite = args[:who_can_invite] if args.key?(:who_can_invite) @who_can_join = args[:who_can_join] if args.key?(:who_can_join) @who_can_leave_group = args[:who_can_leave_group] if args.key?(:who_can_leave_group) + @who_can_mark_duplicate = args[:who_can_mark_duplicate] if args.key?(:who_can_mark_duplicate) + @who_can_mark_favorite_reply_on_any_topic = args[:who_can_mark_favorite_reply_on_any_topic] if args.key?(:who_can_mark_favorite_reply_on_any_topic) + @who_can_mark_favorite_reply_on_own_topic = args[:who_can_mark_favorite_reply_on_own_topic] if args.key?(:who_can_mark_favorite_reply_on_own_topic) + @who_can_mark_no_response_needed = args[:who_can_mark_no_response_needed] if args.key?(:who_can_mark_no_response_needed) + @who_can_modify_tags_and_categories = args[:who_can_modify_tags_and_categories] if args.key?(:who_can_modify_tags_and_categories) @who_can_post_message = args[:who_can_post_message] if args.key?(:who_can_post_message) + @who_can_take_topics = args[:who_can_take_topics] if args.key?(:who_can_take_topics) + @who_can_unassign_topic = args[:who_can_unassign_topic] if args.key?(:who_can_unassign_topic) + @who_can_unmark_favorite_reply_on_any_topic = args[:who_can_unmark_favorite_reply_on_any_topic] if args.key?(:who_can_unmark_favorite_reply_on_any_topic) @who_can_view_group = args[:who_can_view_group] if args.key?(:who_can_view_group) @who_can_view_membership = args[:who_can_view_membership] if args.key?(:who_can_view_membership) end diff --git a/generated/google/apis/groupssettings_v1/representations.rb b/generated/google/apis/groupssettings_v1/representations.rb index 34210a36b..54d16cf4e 100644 --- a/generated/google/apis/groupssettings_v1/representations.rb +++ b/generated/google/apis/groupssettings_v1/representations.rb @@ -40,6 +40,7 @@ module Google property :default_message_deny_notification_text, as: 'defaultMessageDenyNotificationText' property :description, as: 'description' property :email, as: 'email' + property :favorite_replies_on_top, as: 'favoriteRepliesOnTop' property :include_custom_footer, as: 'includeCustomFooter' property :include_in_global_address_list, as: 'includeInGlobalAddressList' property :is_archived, as: 'isArchived' @@ -55,11 +56,22 @@ module Google property :show_in_group_directory, as: 'showInGroupDirectory' property :spam_moderation_level, as: 'spamModerationLevel' property :who_can_add, as: 'whoCanAdd' + property :who_can_add_references, as: 'whoCanAddReferences' + property :who_can_assign_topics, as: 'whoCanAssignTopics' property :who_can_contact_owner, as: 'whoCanContactOwner' + property :who_can_enter_free_form_tags, as: 'whoCanEnterFreeFormTags' property :who_can_invite, as: 'whoCanInvite' property :who_can_join, as: 'whoCanJoin' property :who_can_leave_group, as: 'whoCanLeaveGroup' + property :who_can_mark_duplicate, as: 'whoCanMarkDuplicate' + property :who_can_mark_favorite_reply_on_any_topic, as: 'whoCanMarkFavoriteReplyOnAnyTopic' + property :who_can_mark_favorite_reply_on_own_topic, as: 'whoCanMarkFavoriteReplyOnOwnTopic' + property :who_can_mark_no_response_needed, as: 'whoCanMarkNoResponseNeeded' + property :who_can_modify_tags_and_categories, as: 'whoCanModifyTagsAndCategories' property :who_can_post_message, as: 'whoCanPostMessage' + property :who_can_take_topics, as: 'whoCanTakeTopics' + property :who_can_unassign_topic, as: 'whoCanUnassignTopic' + property :who_can_unmark_favorite_reply_on_any_topic, as: 'whoCanUnmarkFavoriteReplyOnAnyTopic' property :who_can_view_group, as: 'whoCanViewGroup' property :who_can_view_membership, as: 'whoCanViewMembership' end diff --git a/generated/google/apis/identitytoolkit_v3.rb b/generated/google/apis/identitytoolkit_v3.rb index 5ba6c5231..4f51d36b0 100644 --- a/generated/google/apis/identitytoolkit_v3.rb +++ b/generated/google/apis/identitytoolkit_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/identity-toolkit/v3/ module IdentitytoolkitV3 VERSION = 'V3' - REVISION = '20180419' + REVISION = '' # 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/licensing_v1.rb b/generated/google/apis/licensing_v1.rb index a942672af..bada8f103 100644 --- a/generated/google/apis/licensing_v1.rb +++ b/generated/google/apis/licensing_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/licensing/ module LicensingV1 VERSION = 'V1' - REVISION = '20170213' + REVISION = '' # View and manage G Suite licenses for your domain AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing' diff --git a/generated/google/apis/mirror_v1.rb b/generated/google/apis/mirror_v1.rb index b737e46a8..3423015b3 100644 --- a/generated/google/apis/mirror_v1.rb +++ b/generated/google/apis/mirror_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/glass module MirrorV1 VERSION = 'V1' - REVISION = '20180315' + REVISION = '' # View your location AUTH_GLASS_LOCATION = 'https://www.googleapis.com/auth/glass.location' diff --git a/generated/google/apis/oauth2_v1.rb b/generated/google/apis/oauth2_v1.rb index 079618933..9748c0bdd 100644 --- a/generated/google/apis/oauth2_v1.rb +++ b/generated/google/apis/oauth2_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/accounts/docs/OAuth2 module Oauth2V1 VERSION = 'V1' - REVISION = '20180208' + REVISION = '' # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/oauth2_v2.rb b/generated/google/apis/oauth2_v2.rb index 43398ccf7..477790584 100644 --- a/generated/google/apis/oauth2_v2.rb +++ b/generated/google/apis/oauth2_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/accounts/docs/OAuth2 module Oauth2V2 VERSION = 'V2' - REVISION = '20180208' + REVISION = '' # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/pagespeedonline_v1.rb b/generated/google/apis/pagespeedonline_v1.rb index c67825fd2..18228db73 100644 --- a/generated/google/apis/pagespeedonline_v1.rb +++ b/generated/google/apis/pagespeedonline_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/speed/docs/insights/v1/getting_started module PagespeedonlineV1 VERSION = 'V1' - REVISION = '20180315' + REVISION = '' end end end diff --git a/generated/google/apis/pagespeedonline_v2.rb b/generated/google/apis/pagespeedonline_v2.rb index 0bdbbbb92..21ad39940 100644 --- a/generated/google/apis/pagespeedonline_v2.rb +++ b/generated/google/apis/pagespeedonline_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/speed/docs/insights/v2/getting-started module PagespeedonlineV2 VERSION = 'V2' - REVISION = '20180315' + REVISION = '' end end end diff --git a/generated/google/apis/pagespeedonline_v4.rb b/generated/google/apis/pagespeedonline_v4.rb index 0af3a1f25..3a4c4c1a6 100644 --- a/generated/google/apis/pagespeedonline_v4.rb +++ b/generated/google/apis/pagespeedonline_v4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/speed/docs/insights/v4/getting-started module PagespeedonlineV4 VERSION = 'V4' - REVISION = '20180606' + REVISION = '' end end end diff --git a/generated/google/apis/playcustomapp_v1.rb b/generated/google/apis/playcustomapp_v1.rb index 3d46f6c93..c9c92d06b 100644 --- a/generated/google/apis/playcustomapp_v1.rb +++ b/generated/google/apis/playcustomapp_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/custom-app-api module PlaycustomappV1 VERSION = 'V1' - REVISION = '20170622' + REVISION = '' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/plus_domains_v1.rb b/generated/google/apis/plus_domains_v1.rb index aefeab039..ea515cc59 100644 --- a/generated/google/apis/plus_domains_v1.rb +++ b/generated/google/apis/plus_domains_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/domains/ module PlusDomainsV1 VERSION = 'V1' - REVISION = '20180424' + REVISION = '' # View your circles and the people and pages in them AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read' diff --git a/generated/google/apis/plus_v1.rb b/generated/google/apis/plus_v1.rb index 5e39348cd..3b105bf3a 100644 --- a/generated/google/apis/plus_v1.rb +++ b/generated/google/apis/plus_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/api/ module PlusV1 VERSION = 'V1' - REVISION = '20180424' + REVISION = '' # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/replicapool_v1beta1.rb b/generated/google/apis/replicapool_v1beta1.rb index 8d3b72181..e95e8f82a 100644 --- a/generated/google/apis/replicapool_v1beta1.rb +++ b/generated/google/apis/replicapool_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/compute/docs/replica-pool/ module ReplicapoolV1beta1 VERSION = 'V1beta1' - REVISION = '20160512' + REVISION = '' # 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/replicapoolupdater_v1beta1.rb b/generated/google/apis/replicapoolupdater_v1beta1.rb index c7c471641..4d2e0b86b 100644 --- a/generated/google/apis/replicapoolupdater_v1beta1.rb +++ b/generated/google/apis/replicapoolupdater_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service module ReplicapoolupdaterV1beta1 VERSION = 'V1beta1' - REVISION = '20161003' + REVISION = '' # 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/reseller_v1.rb b/generated/google/apis/reseller_v1.rb index cca9ed26c..1bd610389 100644 --- a/generated/google/apis/reseller_v1.rb +++ b/generated/google/apis/reseller_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/reseller/ module ResellerV1 VERSION = 'V1' - REVISION = '20170228' + REVISION = '' # Manage users on your domain AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order' diff --git a/generated/google/apis/script_v1.rb b/generated/google/apis/script_v1.rb index aa9df2588..5daf288a9 100644 --- a/generated/google/apis/script_v1.rb +++ b/generated/google/apis/script_v1.rb @@ -20,18 +20,12 @@ module Google module Apis # Apps Script API # - # An API for managing and executing Google Apps Script projects.