diff --git a/api_names_out.yaml b/api_names_out.yaml index 966c317a9..337163985 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -10449,6 +10449,11 @@ "/apigee:v1/apigee.organizations.environments.apis.revisions.debugsessions.list/pageSize": page_size "/apigee:v1/apigee.organizations.environments.apis.revisions.debugsessions.list/pageToken": page_token "/apigee:v1/apigee.organizations.environments.apis.revisions.debugsessions.list/parent": parent +"/apigee:v1/apigee.organizations.environments.apis.revisions.deploy": deploy_organization_environment_api_revision +"/apigee:v1/apigee.organizations.environments.apis.revisions.deploy/basepath": basepath +"/apigee:v1/apigee.organizations.environments.apis.revisions.deploy/name": name +"/apigee:v1/apigee.organizations.environments.apis.revisions.deploy/override": override +"/apigee:v1/apigee.organizations.environments.apis.revisions.deploy/sequencedRollout": sequenced_rollout "/apigee:v1/apigee.organizations.environments.apis.revisions.deployments": deployments_organization_environment_api_revision "/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateDeployChangeReport": generate_organization_environment_api_revision_deployment_deploy_change_report "/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateDeployChangeReport/basepath": basepath @@ -10460,6 +10465,9 @@ "/apigee:v1/apigee.organizations.environments.apis.revisions.deployments/sequencedRollout": sequenced_rollout "/apigee:v1/apigee.organizations.environments.apis.revisions.getDeployments": get_organization_environment_api_revision_deployments "/apigee:v1/apigee.organizations.environments.apis.revisions.getDeployments/name": name +"/apigee:v1/apigee.organizations.environments.apis.revisions.undeploy": undeploy_organization_environment_api_revision +"/apigee:v1/apigee.organizations.environments.apis.revisions.undeploy/name": name +"/apigee:v1/apigee.organizations.environments.apis.revisions.undeploy/sequencedRollout": sequenced_rollout "/apigee:v1/apigee.organizations.environments.caches.delete": delete_organization_environment_cach "/apigee:v1/apigee.organizations.environments.caches.delete/name": name "/apigee:v1/apigee.organizations.environments.create": create_organization_environment @@ -10580,10 +10588,15 @@ "/apigee:v1/apigee.organizations.environments.setIamPolicy/resource": resource "/apigee:v1/apigee.organizations.environments.sharedflows.deployments.list": list_organization_environment_sharedflow_deployments "/apigee:v1/apigee.organizations.environments.sharedflows.deployments.list/parent": parent +"/apigee:v1/apigee.organizations.environments.sharedflows.revisions.deploy": deploy_organization_environment_sharedflow_revision +"/apigee:v1/apigee.organizations.environments.sharedflows.revisions.deploy/name": name +"/apigee:v1/apigee.organizations.environments.sharedflows.revisions.deploy/override": override "/apigee:v1/apigee.organizations.environments.sharedflows.revisions.deployments": deployments_organization_environment_sharedflow_revision "/apigee:v1/apigee.organizations.environments.sharedflows.revisions.deployments/name": name "/apigee:v1/apigee.organizations.environments.sharedflows.revisions.getDeployments": get_organization_environment_sharedflow_revision_deployments "/apigee:v1/apigee.organizations.environments.sharedflows.revisions.getDeployments/name": name +"/apigee:v1/apigee.organizations.environments.sharedflows.revisions.undeploy": undeploy_organization_environment_sharedflow_revision +"/apigee:v1/apigee.organizations.environments.sharedflows.revisions.undeploy/name": name "/apigee:v1/apigee.organizations.environments.stats.get": get_organization_environment_stat "/apigee:v1/apigee.organizations.environments.stats.get/accuracy": accuracy "/apigee:v1/apigee.organizations.environments.stats.get/aggTable": agg_table @@ -19583,6 +19596,7 @@ "/cloudbuild:v1/Build/results": results "/cloudbuild:v1/Build/secrets": secrets "/cloudbuild:v1/Build/secrets/secret": secret +"/cloudbuild:v1/Build/serviceAccount": service_account "/cloudbuild:v1/Build/source": source "/cloudbuild:v1/Build/sourceProvenance": source_provenance "/cloudbuild:v1/Build/startTime": start_time @@ -19866,6 +19880,7 @@ "/cloudbuild:v1alpha1/Build/results": results "/cloudbuild:v1alpha1/Build/secrets": secrets "/cloudbuild:v1alpha1/Build/secrets/secret": secret +"/cloudbuild:v1alpha1/Build/serviceAccount": service_account "/cloudbuild:v1alpha1/Build/source": source "/cloudbuild:v1alpha1/Build/sourceProvenance": source_provenance "/cloudbuild:v1alpha1/Build/startTime": start_time @@ -20092,6 +20107,7 @@ "/cloudbuild:v1alpha2/Build/results": results "/cloudbuild:v1alpha2/Build/secrets": secrets "/cloudbuild:v1alpha2/Build/secrets/secret": secret +"/cloudbuild:v1alpha2/Build/serviceAccount": service_account "/cloudbuild:v1alpha2/Build/source": source "/cloudbuild:v1alpha2/Build/sourceProvenance": source_provenance "/cloudbuild:v1alpha2/Build/startTime": start_time @@ -20946,6 +20962,84 @@ "/cloudidentity:v1/EntityKey": entity_key "/cloudidentity:v1/EntityKey/id": id "/cloudidentity:v1/EntityKey/namespace": namespace +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes": google_apps_cloudidentity_devices_v1_android_attributes +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/enabledUnknownSources": enabled_unknown_sources +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/ownerProfileAccount": owner_profile_account +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/ownershipPrivilege": ownership_privilege +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/supportsWorkProfile": supports_work_profile +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse": google_apps_cloudidentity_devices_v1_approve_device_user_response +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse/deviceUser": device_user +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse": google_apps_cloudidentity_devices_v1_block_device_user_response +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse/deviceUser": device_user +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse": google_apps_cloudidentity_devices_v1_cancel_wipe_device_response +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse/device": device +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse": google_apps_cloudidentity_devices_v1_cancel_wipe_device_user_response +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse/deviceUser": device_user +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState": google_apps_cloudidentity_devices_v1_client_state +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/assetTags": asset_tags +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/assetTags/asset_tag": asset_tag +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/complianceState": compliance_state +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/createTime": create_time +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/customId": custom_id +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/etag": etag +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/healthScore": health_score +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/keyValuePairs": key_value_pairs +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/keyValuePairs/key_value_pair": key_value_pair +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/lastUpdateTime": last_update_time +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/managed": managed +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/name": name +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/ownerType": owner_type +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1ClientState/scoreReason": score_reason +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1CustomAttributeValue": google_apps_cloudidentity_devices_v1_custom_attribute_value +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1CustomAttributeValue/boolValue": bool_value +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1CustomAttributeValue/numberValue": number_value +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1CustomAttributeValue/stringValue": string_value +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device": google_apps_cloudidentity_devices_v1_device +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/androidSpecificAttributes": android_specific_attributes +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/assetTag": asset_tag +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/basebandVersion": baseband_version +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/bootloaderVersion": bootloader_version +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/brand": brand +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/buildNumber": build_number +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/compromisedState": compromised_state +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/createTime": create_time +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/deviceType": device_type +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/enabledDeveloperOptions": enabled_developer_options +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/enabledUsbDebugging": enabled_usb_debugging +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/encryptionState": encryption_state +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/imei": imei +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/kernelVersion": kernel_version +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/lastSyncTime": last_sync_time +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/managementState": management_state +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/manufacturer": manufacturer +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/meid": meid +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/model": model +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/name": name +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/networkOperator": network_operator +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/osVersion": os_version +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/otherAccounts": other_accounts +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/otherAccounts/other_account": other_account +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/ownerType": owner_type +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/releaseVersion": release_version +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/securityPatchTime": security_patch_time +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/serialNumber": serial_number +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/wifiMacAddresses": wifi_mac_addresses +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1Device/wifiMacAddresses/wifi_mac_address": wifi_mac_address +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser": google_apps_cloudidentity_devices_v1_device_user +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser/compromisedState": compromised_state +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser/createTime": create_time +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser/firstSyncTime": first_sync_time +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser/languageCode": language_code +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser/lastSyncTime": last_sync_time +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser/managementState": management_state +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser/name": name +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser/passwordState": password_state +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser/userAgent": user_agent +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1DeviceUser/userEmail": user_email +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1WipeDeviceResponse": google_apps_cloudidentity_devices_v1_wipe_device_response +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1WipeDeviceResponse/device": device +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse": google_apps_cloudidentity_devices_v1_wipe_device_user_response +"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse/deviceUser": device_user "/cloudidentity:v1/Group": group "/cloudidentity:v1/Group/createTime": create_time "/cloudidentity:v1/Group/description": description @@ -21123,6 +21217,16 @@ "/cloudidentity:v1beta1/DeviceUser/passwordState": password_state "/cloudidentity:v1beta1/DeviceUser/userAgent": user_agent "/cloudidentity:v1beta1/DeviceUser/userEmail": user_email +"/cloudidentity:v1beta1/DynamicGroupMetadata": dynamic_group_metadata +"/cloudidentity:v1beta1/DynamicGroupMetadata/queries": queries +"/cloudidentity:v1beta1/DynamicGroupMetadata/queries/query": query +"/cloudidentity:v1beta1/DynamicGroupMetadata/status": status +"/cloudidentity:v1beta1/DynamicGroupQuery": dynamic_group_query +"/cloudidentity:v1beta1/DynamicGroupQuery/query": query +"/cloudidentity:v1beta1/DynamicGroupQuery/resourceType": resource_type +"/cloudidentity:v1beta1/DynamicGroupStatus": dynamic_group_status +"/cloudidentity:v1beta1/DynamicGroupStatus/status": status +"/cloudidentity:v1beta1/DynamicGroupStatus/statusTime": status_time "/cloudidentity:v1beta1/EndpointApp": endpoint_app "/cloudidentity:v1beta1/EndpointApp/displayName": display_name "/cloudidentity:v1beta1/EndpointApp/name": name @@ -21141,12 +21245,91 @@ "/cloudidentity:v1beta1/GetMembershipGraphResponse/adjacencyList/adjacency_list": adjacency_list "/cloudidentity:v1beta1/GetMembershipGraphResponse/groups": groups "/cloudidentity:v1beta1/GetMembershipGraphResponse/groups/group": group +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1AndroidAttributes": google_apps_cloudidentity_devices_v1_android_attributes +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/enabledUnknownSources": enabled_unknown_sources +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/ownerProfileAccount": owner_profile_account +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/ownershipPrivilege": ownership_privilege +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/supportsWorkProfile": supports_work_profile +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse": google_apps_cloudidentity_devices_v1_approve_device_user_response +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse/deviceUser": device_user +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse": google_apps_cloudidentity_devices_v1_block_device_user_response +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse/deviceUser": device_user +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse": google_apps_cloudidentity_devices_v1_cancel_wipe_device_response +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse/device": device +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse": google_apps_cloudidentity_devices_v1_cancel_wipe_device_user_response +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse/deviceUser": device_user +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState": google_apps_cloudidentity_devices_v1_client_state +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/assetTags": asset_tags +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/assetTags/asset_tag": asset_tag +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/complianceState": compliance_state +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/createTime": create_time +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/customId": custom_id +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/etag": etag +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/healthScore": health_score +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/keyValuePairs": key_value_pairs +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/keyValuePairs/key_value_pair": key_value_pair +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/lastUpdateTime": last_update_time +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/managed": managed +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/name": name +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/ownerType": owner_type +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1ClientState/scoreReason": score_reason +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1CustomAttributeValue": google_apps_cloudidentity_devices_v1_custom_attribute_value +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1CustomAttributeValue/boolValue": bool_value +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1CustomAttributeValue/numberValue": number_value +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1CustomAttributeValue/stringValue": string_value +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device": google_apps_cloudidentity_devices_v1_device +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/androidSpecificAttributes": android_specific_attributes +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/assetTag": asset_tag +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/basebandVersion": baseband_version +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/bootloaderVersion": bootloader_version +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/brand": brand +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/buildNumber": build_number +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/compromisedState": compromised_state +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/createTime": create_time +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/deviceType": device_type +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/enabledDeveloperOptions": enabled_developer_options +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/enabledUsbDebugging": enabled_usb_debugging +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/encryptionState": encryption_state +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/imei": imei +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/kernelVersion": kernel_version +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/lastSyncTime": last_sync_time +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/managementState": management_state +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/manufacturer": manufacturer +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/meid": meid +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/model": model +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/name": name +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/networkOperator": network_operator +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/osVersion": os_version +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/otherAccounts": other_accounts +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/otherAccounts/other_account": other_account +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/ownerType": owner_type +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/releaseVersion": release_version +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/securityPatchTime": security_patch_time +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/serialNumber": serial_number +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/wifiMacAddresses": wifi_mac_addresses +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1Device/wifiMacAddresses/wifi_mac_address": wifi_mac_address +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser": google_apps_cloudidentity_devices_v1_device_user +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser/compromisedState": compromised_state +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser/createTime": create_time +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser/firstSyncTime": first_sync_time +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser/languageCode": language_code +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser/lastSyncTime": last_sync_time +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser/managementState": management_state +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser/name": name +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser/passwordState": password_state +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser/userAgent": user_agent +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1DeviceUser/userEmail": user_email +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1WipeDeviceResponse": google_apps_cloudidentity_devices_v1_wipe_device_response +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1WipeDeviceResponse/device": device +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse": google_apps_cloudidentity_devices_v1_wipe_device_user_response +"/cloudidentity:v1beta1/GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse/deviceUser": device_user "/cloudidentity:v1beta1/Group": group "/cloudidentity:v1beta1/Group/additionalGroupKeys": additional_group_keys "/cloudidentity:v1beta1/Group/additionalGroupKeys/additional_group_key": additional_group_key "/cloudidentity:v1beta1/Group/createTime": create_time "/cloudidentity:v1beta1/Group/description": description "/cloudidentity:v1beta1/Group/displayName": display_name +"/cloudidentity:v1beta1/Group/dynamicGroupMetadata": dynamic_group_metadata "/cloudidentity:v1beta1/Group/groupKey": group_key "/cloudidentity:v1beta1/Group/labels": labels "/cloudidentity:v1beta1/Group/labels/label": label @@ -84309,6 +84492,9 @@ "/dialogflow:v2beta1/dialogflow.projects.locations.agent.fulfillment/updateMask": update_mask "/dialogflow:v2beta1/dialogflow.projects.locations.agent.getFulfillment": get_project_location_agent_fulfillment "/dialogflow:v2beta1/dialogflow.projects.locations.agent.getFulfillment/name": name +"/dialogflow:v2beta1/dialogflow.projects.locations.agent.getValidationResult": get_project_location_agent_validation_result +"/dialogflow:v2beta1/dialogflow.projects.locations.agent.getValidationResult/languageCode": language_code +"/dialogflow:v2beta1/dialogflow.projects.locations.agent.getValidationResult/parent": parent "/dialogflow:v2beta1/dialogflow.projects.locations.agent.import": import_project_location_agent "/dialogflow:v2beta1/dialogflow.projects.locations.agent.import/parent": parent "/dialogflow:v2beta1/dialogflow.projects.locations.agent.intents.batchDelete": batch_project_location_agent_intent_delete diff --git a/generated/google/apis/apigee_v1.rb b/generated/google/apis/apigee_v1.rb index 5d5112a38..85c346b1e 100644 --- a/generated/google/apis/apigee_v1.rb +++ b/generated/google/apis/apigee_v1.rb @@ -20,17 +20,16 @@ module Google module Apis # Apigee API # - # The Apigee API lets you programmatically manage Apigee hybrid with a set of - # RESTful operations, including: - Create, edit, and delete API proxies - Manage - # users - Deploy and undeploy proxy revisions - Configure environments For - # information on using the APIs described in this section, see Get started using - # the APIs. *Note:* This product is available as a free trial for a time period - # of 60 days. + # Use the Apigee API to programmatically develop and manage APIs with a set of + # RESTful operations. Develop and secure API proxies, deploy and undeploy API + # proxy revisions, monitor APIs, configure environments, manage users, and more. + # Get started using the APIs. *Note:* This product is available as a free trial + # for a time period of 60 days. # # @see https://cloud.google.com/apigee-api-management/ module ApigeeV1 VERSION = 'V1' - REVISION = '20200801' + REVISION = '20200813' # 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/apigee_v1/service.rb b/generated/google/apis/apigee_v1/service.rb index f43bc2cf9..1c432749b 100644 --- a/generated/google/apis/apigee_v1/service.rb +++ b/generated/google/apis/apigee_v1/service.rb @@ -22,12 +22,11 @@ module Google module ApigeeV1 # Apigee API # - # The Apigee API lets you programmatically manage Apigee hybrid with a set of - # RESTful operations, including: - Create, edit, and delete API proxies - Manage - # users - Deploy and undeploy proxy revisions - Configure environments For - # information on using the APIs described in this section, see Get started using - # the APIs. *Note:* This product is available as a free trial for a time period - # of 60 days. + # Use the Apigee API to programmatically develop and manage APIs with a set of + # RESTful operations. Develop and secure API proxies, deploy and undeploy API + # proxy revisions, monitor APIs, configure environments, manage users, and more. + # Get started using the APIs. *Note:* This product is available as a free trial + # for a time period of 60 days. # # @example # require 'google/apis/apigee_v1' @@ -3582,22 +3581,36 @@ module Google execute_or_queue_command(command, &block) end - # Undeploys an API proxy revision from an environment. Because multiple - # revisions of the same API proxy can be deployed in the same environment if the - # base paths are different, you must specify the revision number of the API - # proxy. + # Deploys a revision of an API proxy. If an API proxy revision is currently + # deployed, to ensure seamless deployment with zero downtime set the `override` + # parameter to `true`. In this case, hybrid attempts to deploy the new revision + # fully before undeploying the existing revision. You cannot invoke an API proxy + # until it has been deployed to an environment. After you deploy an API proxy + # revision, you cannot edit it. To edit the API proxy, you must create and + # deploy a new revision. # @param [String] name # Required. Name of the API proxy revision deployment in the following format: ` # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` + # @param [String] basepath + # Base path where the API proxy revision should be deployed. Defaults to '/' if + # not provided. + # @param [Boolean] override + # Flag that specifies whether the new deployment replaces other deployed + # revisions of the API proxy in the environment. Set override to true to replace + # other deployed revisions. By default, override is false and the deployment is + # rejected if other revisions of the API proxy are deployed in the environment. # @param [Boolean] sequenced_rollout - # If true, a best-effort attempt will be made to remove the environment group - # routing rules corresponding to this deployment before removing the deployment - # from the runtime. This is likely to be a rare use case; it is only needed when - # the intended effect of undeploying this proxy is to cause the traffic it - # currently handles to be rerouted to some other existing proxy in the - # environment group. The GenerateUndeployChangeReport API may be used to examine - # routing changes before issuing the undeployment request, and its response will - # indicate if a sequenced rollout is recommended for the undeployment. + # If true, a best-effort attempt will be made to roll out the routing rules + # corresponding to this deployment and the environment changes to add this + # deployment in a safe order. This reduces the risk of downtime that could be + # caused by changing the environment group's routing before the new destination + # for the affected traffic is ready to receive it. This should only be necessary + # if the new deployment will be capturing traffic from another environment under + # a shared environment group or if traffic will be rerouted to a different + # environment due to a basepath removal. The GenerateDeployChangeReport API may + # be used to examine routing changes before issuing the deployment request, and + # its response will indicate if a sequenced rollout is recommended for the + # deployment. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3607,19 +3620,21 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty] + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment] # # @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 deployments_organization_environment_api_revision(name, sequenced_rollout: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}/deployments', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty + def deploy_organization_environment_api_revision(name, basepath: nil, override: nil, sequenced_rollout: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}/deployments', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment command.params['name'] = name unless name.nil? + command.query['basepath'] = basepath unless basepath.nil? + command.query['override'] = override unless override.nil? command.query['sequencedRollout'] = sequenced_rollout unless sequenced_rollout.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -3659,6 +3674,50 @@ module Google execute_or_queue_command(command, &block) end + # Undeploys an API proxy revision from an environment. Because multiple + # revisions of the same API proxy can be deployed in the same environment if the + # base paths are different, you must specify the revision number of the API + # proxy. + # @param [String] name + # Required. Name of the API proxy revision deployment in the following format: ` + # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` + # @param [Boolean] sequenced_rollout + # If true, a best-effort attempt will be made to remove the environment group + # routing rules corresponding to this deployment before removing the deployment + # from the runtime. This is likely to be a rare use case; it is only needed when + # the intended effect of undeploying this proxy is to cause the traffic it + # currently handles to be rerouted to some other existing proxy in the + # environment group. The GenerateUndeployChangeReport API may be used to examine + # routing changes before issuing the undeployment request, and its response will + # indicate if a sequenced rollout is recommended for the undeployment. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty] + # + # @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 undeploy_organization_environment_api_revision(name, sequenced_rollout: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}/deployments', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['sequencedRollout'] = sequenced_rollout unless sequenced_rollout.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a debug session for a deployed API Proxy revision. # @param [String] parent # Required. The resource name of the API Proxy revision deployment for which to @@ -5129,11 +5188,22 @@ module Google execute_or_queue_command(command, &block) end - # Undeploys a shared flow revision from an environment. + # Deploys a revision of a shared flow. If a shared flow revision is currently + # deployed, to ensure seamless deployment with zero downtime set the `override` + # parameter to `true`. In this case, hybrid attempts to deply the new revision + # fully before undeploying the existing revision. You cannot use a shared flows + # until it has been deployed to an environment. # @param [String] name - # Required. Name of the shared flow revision to undeploy in the following format: - # `organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/` - # rev`` + # Required. Name of the shared flow revision to deploy in the following format: ` + # organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/`rev` + # ` + # @param [Boolean] override + # Flag that specifies whether to force the deployment of the new revision over + # the currently deployed revision by overriding conflict checks. If an existing + # shared flow revision is deployed, to ensure seamless deployment with no + # downtime, set this parameter to `true`. In this case, hybrid deploys the new + # revision fully before undeploying the existing revision. If set to `false`, + # you must undeploy the existing revision before deploying the new revision. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5143,19 +5213,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty] + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment] # # @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 deployments_organization_environment_sharedflow_revision(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}/deployments', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty + def deploy_organization_environment_sharedflow_revision(name, override: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}/deployments', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment command.params['name'] = name unless name.nil? + command.query['override'] = override unless override.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -5194,6 +5265,38 @@ module Google execute_or_queue_command(command, &block) end + # Undeploys a shared flow revision from an environment. + # @param [String] name + # Required. Name of the shared flow revision to undeploy in the following format: + # `organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/` + # rev`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty] + # + # @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 undeploy_organization_environment_sharedflow_revision(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}/deployments', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Retrieve metrics grouped by dimensions. The types of metrics you can retrieve # include traffic, message counts, API call latency, response size, and cache # hits and counts. Dimensions let you view metrics in meaningful groups. The diff --git a/generated/google/apis/cloudasset_v1p4beta1.rb b/generated/google/apis/cloudasset_v1p4beta1.rb index 1a24c197d..9ecd22739 100644 --- a/generated/google/apis/cloudasset_v1p4beta1.rb +++ b/generated/google/apis/cloudasset_v1p4beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/asset-inventory/docs/quickstart module CloudassetV1p4beta1 VERSION = 'V1p4beta1' - REVISION = '20200810' + REVISION = '20200814' # 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/cloudasset_v1p4beta1/classes.rb b/generated/google/apis/cloudasset_v1p4beta1/classes.rb index 624e6004f..ee3e9eb15 100644 --- a/generated/google/apis/cloudasset_v1p4beta1/classes.rb +++ b/generated/google/apis/cloudasset_v1p4beta1/classes.rb @@ -565,12 +565,13 @@ module Google # Required. The relative name of the root asset. Only resources and IAM policies # within the parent will be analyzed. This can only be an organization number ( - # such as "organizations/123") or a folder number (such as "folders/123"). To - # know how to get organization id, visit [here ](https://cloud.google.com/ - # resource-manager/docs/creating-managing-organization# - # retrieving_your_organization_id). To know how to get folder id, visit [here ]( - # https://cloud.google.com/resource-manager/docs/creating-managing-folders# - # viewing_or_listing_folders_and_projects). + # such as "organizations/123"), a folder number (such as "folders/123"), a + # project ID (such as "projects/my-project-id"), or a project number (such as " + # projects/12345"). To know how to get organization id, visit [here ](https:// + # cloud.google.com/resource-manager/docs/creating-managing-organization# + # retrieving_your_organization_id). To know how to get folder or project id, + # visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing- + # folders#viewing_or_listing_folders_and_projects). # Corresponds to the JSON property `parent` # @return [String] attr_accessor :parent diff --git a/generated/google/apis/cloudasset_v1p4beta1/service.rb b/generated/google/apis/cloudasset_v1p4beta1/service.rb index f2896b0a2..57130d522 100644 --- a/generated/google/apis/cloudasset_v1p4beta1/service.rb +++ b/generated/google/apis/cloudasset_v1p4beta1/service.rb @@ -52,12 +52,13 @@ module Google # @param [String] parent # Required. The relative name of the root asset. Only resources and IAM policies # within the parent will be analyzed. This can only be an organization number ( - # such as "organizations/123") or a folder number (such as "folders/123"). To - # know how to get organization id, visit [here ](https://cloud.google.com/ - # resource-manager/docs/creating-managing-organization# - # retrieving_your_organization_id). To know how to get folder id, visit [here ]( - # https://cloud.google.com/resource-manager/docs/creating-managing-folders# - # viewing_or_listing_folders_and_projects). + # such as "organizations/123"), a folder number (such as "folders/123"), a + # project ID (such as "projects/my-project-id"), or a project number (such as " + # projects/12345"). To know how to get organization id, visit [here ](https:// + # cloud.google.com/resource-manager/docs/creating-managing-organization# + # retrieving_your_organization_id). To know how to get folder or project id, + # visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing- + # folders#viewing_or_listing_folders_and_projects). # @param [Array, String] analysis_query_access_selector_permissions # Optional. The permissions to appear in result. # @param [Array, String] analysis_query_access_selector_roles @@ -174,12 +175,13 @@ module Google # @param [String] parent # Required. The relative name of the root asset. Only resources and IAM policies # within the parent will be analyzed. This can only be an organization number ( - # such as "organizations/123") or a folder number (such as "folders/123"). To - # know how to get organization id, visit [here ](https://cloud.google.com/ - # resource-manager/docs/creating-managing-organization# - # retrieving_your_organization_id). To know how to get folder id, visit [here ]( - # https://cloud.google.com/resource-manager/docs/creating-managing-folders# - # viewing_or_listing_folders_and_projects). + # such as "organizations/123"), a folder number (such as "folders/123"), a + # project ID (such as "projects/my-project-id"), or a project number (such as " + # projects/12345"). To know how to get organization id, visit [here ](https:// + # cloud.google.com/resource-manager/docs/creating-managing-organization# + # retrieving_your_organization_id). To know how to get folder or project id, + # visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing- + # folders#viewing_or_listing_folders_and_projects). # @param [Google::Apis::CloudassetV1p4beta1::ExportIamPolicyAnalysisRequest] export_iam_policy_analysis_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index 98e8a0479..8725a7cb7 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/cloud-build/docs/ module CloudbuildV1 VERSION = 'V1' - REVISION = '20200801' + REVISION = '20200817' # 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/cloudbuild_v1/classes.rb b/generated/google/apis/cloudbuild_v1/classes.rb index a5d5b98fa..c89f68dac 100644 --- a/generated/google/apis/cloudbuild_v1/classes.rb +++ b/generated/google/apis/cloudbuild_v1/classes.rb @@ -204,6 +204,14 @@ module Google # @return [Array] attr_accessor :secrets + # IAM service account whose credentials will be used at build runtime. Must be + # of the format `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. ACCOUNT can + # be email address or uniqueId of the service account. This field is in alpha + # and is not publicly available. + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + # Location of the source in a supported storage service. # Corresponds to the JSON property `source` # @return [Google::Apis::CloudbuildV1::Source] @@ -280,6 +288,7 @@ module Google @queue_ttl = args[:queue_ttl] if args.key?(:queue_ttl) @results = args[:results] if args.key?(:results) @secrets = args[:secrets] if args.key?(:secrets) + @service_account = args[:service_account] if args.key?(:service_account) @source = args[:source] if args.key?(:source) @source_provenance = args[:source_provenance] if args.key?(:source_provenance) @start_time = args[:start_time] if args.key?(:start_time) diff --git a/generated/google/apis/cloudbuild_v1/representations.rb b/generated/google/apis/cloudbuild_v1/representations.rb index 64fe061df..5eb2c8764 100644 --- a/generated/google/apis/cloudbuild_v1/representations.rb +++ b/generated/google/apis/cloudbuild_v1/representations.rb @@ -304,6 +304,7 @@ module Google collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::Secret, decorator: Google::Apis::CloudbuildV1::Secret::Representation + property :service_account, as: 'serviceAccount' property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation diff --git a/generated/google/apis/cloudbuild_v1alpha1.rb b/generated/google/apis/cloudbuild_v1alpha1.rb index 239e0dbc9..8800cfa41 100644 --- a/generated/google/apis/cloudbuild_v1alpha1.rb +++ b/generated/google/apis/cloudbuild_v1alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/cloud-build/docs/ module CloudbuildV1alpha1 VERSION = 'V1alpha1' - REVISION = '20200801' + REVISION = '20200817' # 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/cloudbuild_v1alpha1/classes.rb b/generated/google/apis/cloudbuild_v1alpha1/classes.rb index cee007425..c32a79c87 100644 --- a/generated/google/apis/cloudbuild_v1alpha1/classes.rb +++ b/generated/google/apis/cloudbuild_v1alpha1/classes.rb @@ -204,6 +204,14 @@ module Google # @return [Array] attr_accessor :secrets + # IAM service account whose credentials will be used at build runtime. Must be + # of the format `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. ACCOUNT can + # be email address or uniqueId of the service account. This field is in alpha + # and is not publicly available. + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + # Location of the source in a supported storage service. # Corresponds to the JSON property `source` # @return [Google::Apis::CloudbuildV1alpha1::Source] @@ -280,6 +288,7 @@ module Google @queue_ttl = args[:queue_ttl] if args.key?(:queue_ttl) @results = args[:results] if args.key?(:results) @secrets = args[:secrets] if args.key?(:secrets) + @service_account = args[:service_account] if args.key?(:service_account) @source = args[:source] if args.key?(:source) @source_provenance = args[:source_provenance] if args.key?(:source_provenance) @start_time = args[:start_time] if args.key?(:start_time) diff --git a/generated/google/apis/cloudbuild_v1alpha1/representations.rb b/generated/google/apis/cloudbuild_v1alpha1/representations.rb index d59c64c6a..325575662 100644 --- a/generated/google/apis/cloudbuild_v1alpha1/representations.rb +++ b/generated/google/apis/cloudbuild_v1alpha1/representations.rb @@ -280,6 +280,7 @@ module Google collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1alpha1::Secret, decorator: Google::Apis::CloudbuildV1alpha1::Secret::Representation + property :service_account, as: 'serviceAccount' property :source, as: 'source', class: Google::Apis::CloudbuildV1alpha1::Source, decorator: Google::Apis::CloudbuildV1alpha1::Source::Representation property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1alpha1::SourceProvenance, decorator: Google::Apis::CloudbuildV1alpha1::SourceProvenance::Representation diff --git a/generated/google/apis/cloudbuild_v1alpha2.rb b/generated/google/apis/cloudbuild_v1alpha2.rb index 000f41aae..1318ace46 100644 --- a/generated/google/apis/cloudbuild_v1alpha2.rb +++ b/generated/google/apis/cloudbuild_v1alpha2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/cloud-build/docs/ module CloudbuildV1alpha2 VERSION = 'V1alpha2' - REVISION = '20200801' + REVISION = '20200817' # 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/cloudbuild_v1alpha2/classes.rb b/generated/google/apis/cloudbuild_v1alpha2/classes.rb index 423fb83a1..3129477af 100644 --- a/generated/google/apis/cloudbuild_v1alpha2/classes.rb +++ b/generated/google/apis/cloudbuild_v1alpha2/classes.rb @@ -204,6 +204,14 @@ module Google # @return [Array] attr_accessor :secrets + # IAM service account whose credentials will be used at build runtime. Must be + # of the format `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. ACCOUNT can + # be email address or uniqueId of the service account. This field is in alpha + # and is not publicly available. + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + # Location of the source in a supported storage service. # Corresponds to the JSON property `source` # @return [Google::Apis::CloudbuildV1alpha2::Source] @@ -280,6 +288,7 @@ module Google @queue_ttl = args[:queue_ttl] if args.key?(:queue_ttl) @results = args[:results] if args.key?(:results) @secrets = args[:secrets] if args.key?(:secrets) + @service_account = args[:service_account] if args.key?(:service_account) @source = args[:source] if args.key?(:source) @source_provenance = args[:source_provenance] if args.key?(:source_provenance) @start_time = args[:start_time] if args.key?(:start_time) diff --git a/generated/google/apis/cloudbuild_v1alpha2/representations.rb b/generated/google/apis/cloudbuild_v1alpha2/representations.rb index 5dd0f2cad..370ef8165 100644 --- a/generated/google/apis/cloudbuild_v1alpha2/representations.rb +++ b/generated/google/apis/cloudbuild_v1alpha2/representations.rb @@ -280,6 +280,7 @@ module Google collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1alpha2::Secret, decorator: Google::Apis::CloudbuildV1alpha2::Secret::Representation + property :service_account, as: 'serviceAccount' property :source, as: 'source', class: Google::Apis::CloudbuildV1alpha2::Source, decorator: Google::Apis::CloudbuildV1alpha2::Source::Representation property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1alpha2::SourceProvenance, decorator: Google::Apis::CloudbuildV1alpha2::SourceProvenance::Representation diff --git a/generated/google/apis/cloudidentity_v1.rb b/generated/google/apis/cloudidentity_v1.rb index 68221e470..3042b94d0 100644 --- a/generated/google/apis/cloudidentity_v1.rb +++ b/generated/google/apis/cloudidentity_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/identity/ module CloudidentityV1 VERSION = 'V1' - REVISION = '20200809' + REVISION = '20200814' # See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups' diff --git a/generated/google/apis/cloudidentity_v1/classes.rb b/generated/google/apis/cloudidentity_v1/classes.rb index cc3f5ccd9..1ac7107bb 100644 --- a/generated/google/apis/cloudidentity_v1/classes.rb +++ b/generated/google/apis/cloudidentity_v1/classes.rb @@ -22,8 +22,39 @@ module Google module Apis module CloudidentityV1 + # An EntityKey uniquely identifies an Entity. Namespaces are used to provide + # isolation for IDs. A single ID can be reused across namespaces but the + # combination of a namespace and an ID must be unique. + class EntityKey + include Google::Apis::Core::Hashable + + # The ID of the entity within the given namespace. The ID must be unique within + # its namespace. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Namespaces provide isolation for IDs, so an ID only needs to be unique within + # its namespace. Namespaces are currently only created as part of IdentitySource + # creation from Admin Console. A namespace `"identitysources/`identity_source_id` + # "` is created corresponding to every Identity Source `identity_source_id`. + # Corresponds to the JSON property `namespace` + # @return [String] + attr_accessor :namespace + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @namespace = args[:namespace] if args.key?(:namespace) + end + end + # Resource representing the Android specific attributes of a Device. - class AndroidAttributes + class GoogleAppsCloudidentityDevicesV1AndroidAttributes include Google::Apis::Core::Hashable # Whether applications from unknown sources can be installed on device. @@ -67,13 +98,13 @@ module Google end # Response message for approving the device to access user data. - class ApproveDeviceUserResponse + class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse include Google::Apis::Core::Hashable # Represents a user's use of a Device in the Cloud Identity Devices API. A # DeviceUser is a resource representing a user's use of a Device # Corresponds to the JSON property `deviceUser` - # @return [Google::Apis::CloudidentityV1::DeviceUser] + # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser] attr_accessor :device_user def initialize(**args) @@ -87,13 +118,13 @@ module Google end # Response message for blocking the device from accessing user data. - class BlockDeviceUserResponse + class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse include Google::Apis::Core::Hashable # Represents a user's use of a Device in the Cloud Identity Devices API. A # DeviceUser is a resource representing a user's use of a Device # Corresponds to the JSON property `deviceUser` - # @return [Google::Apis::CloudidentityV1::DeviceUser] + # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser] attr_accessor :device_user def initialize(**args) @@ -107,14 +138,14 @@ module Google end # Response message for cancelling an unfinished device wipe. - class CancelWipeDeviceResponse + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse include Google::Apis::Core::Hashable # A Device within the Cloud Identity Devices API. Represents a Device known to # Google Cloud, independent of the device ownership, type, and whether it is # assigned or in use by a user. # Corresponds to the JSON property `device` - # @return [Google::Apis::CloudidentityV1::Device] + # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device] attr_accessor :device def initialize(**args) @@ -128,13 +159,13 @@ module Google end # Response message for cancelling an unfinished user account wipe. - class CancelWipeDeviceUserResponse + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse include Google::Apis::Core::Hashable # Represents a user's use of a Device in the Cloud Identity Devices API. A # DeviceUser is a resource representing a user's use of a Device # Corresponds to the JSON property `deviceUser` - # @return [Google::Apis::CloudidentityV1::DeviceUser] + # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser] attr_accessor :device_user def initialize(**args) @@ -149,7 +180,7 @@ module Google # Represents the state associated with an API client calling the Devices API. # Resource representing ClientState and supports updates from API users - class ClientState + class GoogleAppsCloudidentityDevicesV1ClientState include Google::Apis::Core::Hashable # The caller can specify asset tags for this resource @@ -188,7 +219,7 @@ module Google # total serialized length of this map may not exceed 10KB. No limit is placed on # the number of attributes in a map. # Corresponds to the JSON property `keyValuePairs` - # @return [Hash] + # @return [Hash] attr_accessor :key_value_pairs # Output only. The time the client state data was last updated. @@ -241,7 +272,7 @@ module Google end # Additional custom attribute values may be one of these types - class CustomAttributeValue + class GoogleAppsCloudidentityDevicesV1CustomAttributeValue include Google::Apis::Core::Hashable # Represents a boolean value. @@ -275,12 +306,12 @@ module Google # A Device within the Cloud Identity Devices API. Represents a Device known to # Google Cloud, independent of the device ownership, type, and whether it is # assigned or in use by a user. - class Device + class GoogleAppsCloudidentityDevicesV1Device include Google::Apis::Core::Hashable # Resource representing the Android specific attributes of a Device. # Corresponds to the JSON property `androidSpecificAttributes` - # @return [Google::Apis::CloudidentityV1::AndroidAttributes] + # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1AndroidAttributes] attr_accessor :android_specific_attributes # Asset tag of the device. @@ -466,7 +497,7 @@ module Google # Represents a user's use of a Device in the Cloud Identity Devices API. A # DeviceUser is a resource representing a user's use of a Device - class DeviceUser + class GoogleAppsCloudidentityDevicesV1DeviceUser include Google::Apis::Core::Hashable # Compromised State of the DeviceUser object @@ -541,25 +572,16 @@ module Google end end - # An EntityKey uniquely identifies an Entity. Namespaces are used to provide - # isolation for IDs. A single ID can be reused across namespaces but the - # combination of a namespace and an ID must be unique. - class EntityKey + # Response message for wiping all data on the device. + class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse include Google::Apis::Core::Hashable - # The ID of the entity within the given namespace. The ID must be unique within - # its namespace. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Namespaces provide isolation for IDs, so an ID only needs to be unique within - # its namespace. Namespaces are currently only created as part of IdentitySource - # creation from Admin Console. A namespace `"identitysources/`identity_source_id` - # "` is created corresponding to every Identity Source `identity_source_id`. - # Corresponds to the JSON property `namespace` - # @return [String] - attr_accessor :namespace + # A Device within the Cloud Identity Devices API. Represents a Device known to + # Google Cloud, independent of the device ownership, type, and whether it is + # assigned or in use by a user. + # Corresponds to the JSON property `device` + # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device] + attr_accessor :device def initialize(**args) update!(**args) @@ -567,8 +589,27 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @namespace = args[:namespace] if args.key?(:namespace) + @device = args[:device] if args.key?(:device) + end + end + + # Response message for wiping the user's account from the device. + class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse + include Google::Apis::Core::Hashable + + # Represents a user's use of a Device in the Cloud Identity Devices API. A + # DeviceUser is a resource representing a user's use of a Device + # Corresponds to the JSON property `deviceUser` + # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser] + attr_accessor :device_user + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_user = args[:device_user] if args.key?(:device_user) end end @@ -936,47 +977,6 @@ module Google @message = args[:message] if args.key?(:message) end end - - # Response message for wiping all data on the device. - class WipeDeviceResponse - include Google::Apis::Core::Hashable - - # A Device within the Cloud Identity Devices API. Represents a Device known to - # Google Cloud, independent of the device ownership, type, and whether it is - # assigned or in use by a user. - # Corresponds to the JSON property `device` - # @return [Google::Apis::CloudidentityV1::Device] - attr_accessor :device - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @device = args[:device] if args.key?(:device) - end - end - - # Response message for wiping the user's account from the device. - class WipeDeviceUserResponse - include Google::Apis::Core::Hashable - - # Represents a user's use of a Device in the Cloud Identity Devices API. A - # DeviceUser is a resource representing a user's use of a Device - # Corresponds to the JSON property `deviceUser` - # @return [Google::Apis::CloudidentityV1::DeviceUser] - attr_accessor :device_user - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @device_user = args[:device_user] if args.key?(:device_user) - end - end end end end diff --git a/generated/google/apis/cloudidentity_v1/representations.rb b/generated/google/apis/cloudidentity_v1/representations.rb index 41c8e0f1f..de267444e 100644 --- a/generated/google/apis/cloudidentity_v1/representations.rb +++ b/generated/google/apis/cloudidentity_v1/representations.rb @@ -22,66 +22,78 @@ module Google module Apis module CloudidentityV1 - class AndroidAttributes - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ApproveDeviceUserResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BlockDeviceUserResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CancelWipeDeviceResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CancelWipeDeviceUserResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClientState - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CustomAttributeValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Device - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeviceUser - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class EntityKey class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleAppsCloudidentityDevicesV1AndroidAttributes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1ClientState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1CustomAttributeValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1Device + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1DeviceUser + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Group class Representation < Google::Apis::Core::JsonRepresentation; end @@ -142,19 +154,15 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class WipeDeviceResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + class EntityKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :namespace, as: 'namespace' + end end - class WipeDeviceUserResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidAttributes + class GoogleAppsCloudidentityDevicesV1AndroidAttributes # @private class Representation < Google::Apis::Core::JsonRepresentation property :enabled_unknown_sources, as: 'enabledUnknownSources' @@ -164,39 +172,39 @@ module Google end end - class ApproveDeviceUserResponse + class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::DeviceUser, decorator: Google::Apis::CloudidentityV1::DeviceUser::Representation + property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation end end - class BlockDeviceUserResponse + class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::DeviceUser, decorator: Google::Apis::CloudidentityV1::DeviceUser::Representation + property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation end end - class CancelWipeDeviceResponse + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :device, as: 'device', class: Google::Apis::CloudidentityV1::Device, decorator: Google::Apis::CloudidentityV1::Device::Representation + property :device, as: 'device', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device::Representation end end - class CancelWipeDeviceUserResponse + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::DeviceUser, decorator: Google::Apis::CloudidentityV1::DeviceUser::Representation + property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation end end - class ClientState + class GoogleAppsCloudidentityDevicesV1ClientState # @private class Representation < Google::Apis::Core::JsonRepresentation collection :asset_tags, as: 'assetTags' @@ -205,7 +213,7 @@ module Google property :custom_id, as: 'customId' property :etag, as: 'etag' property :health_score, as: 'healthScore' - hash :key_value_pairs, as: 'keyValuePairs', class: Google::Apis::CloudidentityV1::CustomAttributeValue, decorator: Google::Apis::CloudidentityV1::CustomAttributeValue::Representation + hash :key_value_pairs, as: 'keyValuePairs', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue::Representation property :last_update_time, as: 'lastUpdateTime' property :managed, as: 'managed' @@ -215,7 +223,7 @@ module Google end end - class CustomAttributeValue + class GoogleAppsCloudidentityDevicesV1CustomAttributeValue # @private class Representation < Google::Apis::Core::JsonRepresentation property :bool_value, as: 'boolValue' @@ -224,10 +232,10 @@ module Google end end - class Device + class GoogleAppsCloudidentityDevicesV1Device # @private class Representation < Google::Apis::Core::JsonRepresentation - property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1::AndroidAttributes, decorator: Google::Apis::CloudidentityV1::AndroidAttributes::Representation + property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1AndroidAttributes, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1AndroidAttributes::Representation property :asset_tag, as: 'assetTag' property :baseband_version, as: 'basebandVersion' @@ -259,7 +267,7 @@ module Google end end - class DeviceUser + class GoogleAppsCloudidentityDevicesV1DeviceUser # @private class Representation < Google::Apis::Core::JsonRepresentation property :compromised_state, as: 'compromisedState' @@ -275,11 +283,19 @@ module Google end end - class EntityKey + class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :namespace, as: 'namespace' + property :device, as: 'device', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device::Representation + + end + end + + class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation + end end @@ -379,22 +395,6 @@ module Google property :message, as: 'message' end end - - class WipeDeviceResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :device, as: 'device', class: Google::Apis::CloudidentityV1::Device, decorator: Google::Apis::CloudidentityV1::Device::Representation - - end - end - - class WipeDeviceUserResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::DeviceUser, decorator: Google::Apis::CloudidentityV1::DeviceUser::Representation - - end - end end end end diff --git a/generated/google/apis/cloudidentity_v1beta1.rb b/generated/google/apis/cloudidentity_v1beta1.rb index 7522d9518..8df517376 100644 --- a/generated/google/apis/cloudidentity_v1beta1.rb +++ b/generated/google/apis/cloudidentity_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/identity/ module CloudidentityV1beta1 VERSION = 'V1beta1' - REVISION = '20200809' + REVISION = '20200814' # See your device details AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup' diff --git a/generated/google/apis/cloudidentity_v1beta1/classes.rb b/generated/google/apis/cloudidentity_v1beta1/classes.rb index 326c26a3f..7c3a699a9 100644 --- a/generated/google/apis/cloudidentity_v1beta1/classes.rb +++ b/generated/google/apis/cloudidentity_v1beta1/classes.rb @@ -664,6 +664,89 @@ module Google end end + # Dynamic group metadata like queries and status. + class DynamicGroupMetadata + include Google::Apis::Core::Hashable + + # Memberships will be the union of all queries. Only one entry with USER + # resource is currently supported. + # Corresponds to the JSON property `queries` + # @return [Array] + attr_accessor :queries + + # The current status of a dynamic group along with timestamp. + # Corresponds to the JSON property `status` + # @return [Google::Apis::CloudidentityV1beta1::DynamicGroupStatus] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @queries = args[:queries] if args.key?(:queries) + @status = args[:status] if args.key?(:status) + end + end + + # Defines a query on a resource. + class DynamicGroupQuery + include Google::Apis::Core::Hashable + + # Query that determines the memberships of the dynamic group. Examples: All + # users with at least one `organizations.department` of engineering. `user. + # organizations.exists(org, org.department=='engineering')` All users with at + # least one location that has `area` of `foo` and `building_id` of `bar`. `user. + # locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')` + # Corresponds to the JSON property `query` + # @return [String] + attr_accessor :query + + # + # Corresponds to the JSON property `resourceType` + # @return [String] + attr_accessor :resource_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query = args[:query] if args.key?(:query) + @resource_type = args[:resource_type] if args.key?(:resource_type) + end + end + + # The current status of a dynamic group along with timestamp. + class DynamicGroupStatus + include Google::Apis::Core::Hashable + + # Status of the dynamic group. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # The latest time at which the dynamic group is guaranteed to be in the given + # status. If status is `UP_TO_DATE`, the latest time at which the dynamic group + # was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`, the time + # at which dynamic group was created. + # Corresponds to the JSON property `statusTime` + # @return [String] + attr_accessor :status_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @status_time = args[:status_time] if args.key?(:status_time) + end + end + # A unique identifier for an entity in the Cloud Identity Groups API. An entity # can represent either a group with an optional `namespace` or a user without a ` # namespace`. The combination of `id` and `namespace` must be unique; however, @@ -745,6 +828,566 @@ module Google end end + # Resource representing the Android specific attributes of a Device. + class GoogleAppsCloudidentityDevicesV1AndroidAttributes + include Google::Apis::Core::Hashable + + # Whether applications from unknown sources can be installed on device. + # Corresponds to the JSON property `enabledUnknownSources` + # @return [Boolean] + attr_accessor :enabled_unknown_sources + alias_method :enabled_unknown_sources?, :enabled_unknown_sources + + # Whether this account is on an owner/primary profile. For phones, only true for + # owner profiles. Android 4+ devices can have secondary or restricted user + # profiles. + # Corresponds to the JSON property `ownerProfileAccount` + # @return [Boolean] + attr_accessor :owner_profile_account + alias_method :owner_profile_account?, :owner_profile_account + + # Ownership privileges on device. + # Corresponds to the JSON property `ownershipPrivilege` + # @return [String] + attr_accessor :ownership_privilege + + # Whether device supports Android work profiles. If false, this service will not + # block access to corp data even if an administrator turns on the "Enforce Work + # Profile" policy. + # Corresponds to the JSON property `supportsWorkProfile` + # @return [Boolean] + attr_accessor :supports_work_profile + alias_method :supports_work_profile?, :supports_work_profile + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled_unknown_sources = args[:enabled_unknown_sources] if args.key?(:enabled_unknown_sources) + @owner_profile_account = args[:owner_profile_account] if args.key?(:owner_profile_account) + @ownership_privilege = args[:ownership_privilege] if args.key?(:ownership_privilege) + @supports_work_profile = args[:supports_work_profile] if args.key?(:supports_work_profile) + end + end + + # Response message for approving the device to access user data. + class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse + include Google::Apis::Core::Hashable + + # Represents a user's use of a Device in the Cloud Identity Devices API. A + # DeviceUser is a resource representing a user's use of a Device + # Corresponds to the JSON property `deviceUser` + # @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser] + attr_accessor :device_user + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_user = args[:device_user] if args.key?(:device_user) + end + end + + # Response message for blocking the device from accessing user data. + class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse + include Google::Apis::Core::Hashable + + # Represents a user's use of a Device in the Cloud Identity Devices API. A + # DeviceUser is a resource representing a user's use of a Device + # Corresponds to the JSON property `deviceUser` + # @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser] + attr_accessor :device_user + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_user = args[:device_user] if args.key?(:device_user) + end + end + + # Response message for cancelling an unfinished device wipe. + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse + include Google::Apis::Core::Hashable + + # A Device within the Cloud Identity Devices API. Represents a Device known to + # Google Cloud, independent of the device ownership, type, and whether it is + # assigned or in use by a user. + # Corresponds to the JSON property `device` + # @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1Device] + attr_accessor :device + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device = args[:device] if args.key?(:device) + end + end + + # Response message for cancelling an unfinished user account wipe. + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse + include Google::Apis::Core::Hashable + + # Represents a user's use of a Device in the Cloud Identity Devices API. A + # DeviceUser is a resource representing a user's use of a Device + # Corresponds to the JSON property `deviceUser` + # @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser] + attr_accessor :device_user + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_user = args[:device_user] if args.key?(:device_user) + end + end + + # Represents the state associated with an API client calling the Devices API. + # Resource representing ClientState and supports updates from API users + class GoogleAppsCloudidentityDevicesV1ClientState + include Google::Apis::Core::Hashable + + # The caller can specify asset tags for this resource + # Corresponds to the JSON property `assetTags` + # @return [Array] + attr_accessor :asset_tags + + # The compliance state of the resource as specified by the API client. + # Corresponds to the JSON property `complianceState` + # @return [String] + attr_accessor :compliance_state + + # Output only. The time the client state data was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # This field may be used to store a unique identifier for the API resource + # within which these CustomAttributes are a field. + # Corresponds to the JSON property `customId` + # @return [String] + attr_accessor :custom_id + + # The token that needs to be passed back for concurrency control in updates. + # Token needs to be passed back in UpdateRequest + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The Health score of the resource + # Corresponds to the JSON property `healthScore` + # @return [String] + attr_accessor :health_score + + # The map of key-value attributes stored by callers specific to a device. The + # total serialized length of this map may not exceed 10KB. No limit is placed on + # the number of attributes in a map. + # Corresponds to the JSON property `keyValuePairs` + # @return [Hash] + attr_accessor :key_value_pairs + + # Output only. The time the client state data was last updated. + # Corresponds to the JSON property `lastUpdateTime` + # @return [String] + attr_accessor :last_update_time + + # The management state of the resource as specified by the API client. + # Corresponds to the JSON property `managed` + # @return [String] + attr_accessor :managed + + # Output only. [Resource name](https://cloud.google.com/apis/design/ + # resource_names) of the ClientState in format: `devices/`device_id`/deviceUsers/ + # `device_user_id`/clientState/`partner_id``, where partner_id corresponds to + # the partner storing the data. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. The owner of the ClientState + # Corresponds to the JSON property `ownerType` + # @return [String] + attr_accessor :owner_type + + # A descriptive cause of the health score. + # Corresponds to the JSON property `scoreReason` + # @return [String] + attr_accessor :score_reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @asset_tags = args[:asset_tags] if args.key?(:asset_tags) + @compliance_state = args[:compliance_state] if args.key?(:compliance_state) + @create_time = args[:create_time] if args.key?(:create_time) + @custom_id = args[:custom_id] if args.key?(:custom_id) + @etag = args[:etag] if args.key?(:etag) + @health_score = args[:health_score] if args.key?(:health_score) + @key_value_pairs = args[:key_value_pairs] if args.key?(:key_value_pairs) + @last_update_time = args[:last_update_time] if args.key?(:last_update_time) + @managed = args[:managed] if args.key?(:managed) + @name = args[:name] if args.key?(:name) + @owner_type = args[:owner_type] if args.key?(:owner_type) + @score_reason = args[:score_reason] if args.key?(:score_reason) + end + end + + # Additional custom attribute values may be one of these types + class GoogleAppsCloudidentityDevicesV1CustomAttributeValue + include Google::Apis::Core::Hashable + + # Represents a boolean value. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # Represents a double value. + # Corresponds to the JSON property `numberValue` + # @return [Float] + attr_accessor :number_value + + # Represents a string value. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @number_value = args[:number_value] if args.key?(:number_value) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + + # A Device within the Cloud Identity Devices API. Represents a Device known to + # Google Cloud, independent of the device ownership, type, and whether it is + # assigned or in use by a user. + class GoogleAppsCloudidentityDevicesV1Device + include Google::Apis::Core::Hashable + + # Resource representing the Android specific attributes of a Device. + # Corresponds to the JSON property `androidSpecificAttributes` + # @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1AndroidAttributes] + attr_accessor :android_specific_attributes + + # Asset tag of the device. + # Corresponds to the JSON property `assetTag` + # @return [String] + attr_accessor :asset_tag + + # Output only. Baseband version of the device. + # Corresponds to the JSON property `basebandVersion` + # @return [String] + attr_accessor :baseband_version + + # Output only. Device bootloader version. Example: 0.6.7. + # Corresponds to the JSON property `bootloaderVersion` + # @return [String] + attr_accessor :bootloader_version + + # Output only. Device brand. Example: Samsung. + # Corresponds to the JSON property `brand` + # @return [String] + attr_accessor :brand + + # Output only. Build number of the device. + # Corresponds to the JSON property `buildNumber` + # @return [String] + attr_accessor :build_number + + # Output only. Represents whether the Device is compromised. + # Corresponds to the JSON property `compromisedState` + # @return [String] + attr_accessor :compromised_state + + # Output only. When the Company-Owned device was imported. This field is empty + # for BYOD devices. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. Type of device. + # Corresponds to the JSON property `deviceType` + # @return [String] + attr_accessor :device_type + + # Output only. Whether developer options is enabled on device. + # Corresponds to the JSON property `enabledDeveloperOptions` + # @return [Boolean] + attr_accessor :enabled_developer_options + alias_method :enabled_developer_options?, :enabled_developer_options + + # Output only. Whether USB debugging is enabled on device. + # Corresponds to the JSON property `enabledUsbDebugging` + # @return [Boolean] + attr_accessor :enabled_usb_debugging + alias_method :enabled_usb_debugging?, :enabled_usb_debugging + + # Output only. Device encryption state. + # Corresponds to the JSON property `encryptionState` + # @return [String] + attr_accessor :encryption_state + + # Output only. IMEI number of device if GSM device; empty otherwise. + # Corresponds to the JSON property `imei` + # @return [String] + attr_accessor :imei + + # Output only. Kernel version of the device. + # Corresponds to the JSON property `kernelVersion` + # @return [String] + attr_accessor :kernel_version + + # Most recent time when device synced with this service. + # Corresponds to the JSON property `lastSyncTime` + # @return [String] + attr_accessor :last_sync_time + + # Output only. Management state of the device + # Corresponds to the JSON property `managementState` + # @return [String] + attr_accessor :management_state + + # Output only. Device manufacturer. Example: Motorola. + # Corresponds to the JSON property `manufacturer` + # @return [String] + attr_accessor :manufacturer + + # Output only. MEID number of device if CDMA device; empty otherwise. + # Corresponds to the JSON property `meid` + # @return [String] + attr_accessor :meid + + # Output only. Model name of device. Example: Pixel 3. + # Corresponds to the JSON property `model` + # @return [String] + attr_accessor :model + + # Output only. [Resource name](https://cloud.google.com/apis/design/ + # resource_names) of the Device in format: `devices/`device_id``, where + # device_id is the unique id assigned to the Device. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. Mobile or network operator of device, if available. + # Corresponds to the JSON property `networkOperator` + # @return [String] + attr_accessor :network_operator + + # Output only. OS version of the device. Example: Android 8.1.0. + # Corresponds to the JSON property `osVersion` + # @return [String] + attr_accessor :os_version + + # Output only. Domain name for Google accounts on device. Type for other + # accounts on device. On Android, will only be populated if |ownership_privilege| + # is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in + # to the device policy app if that account's domain has only one account. + # Examples: "com.example", "xyz.com". + # Corresponds to the JSON property `otherAccounts` + # @return [Array] + attr_accessor :other_accounts + + # Output only. Whether the device is owned by the company or an individual + # Corresponds to the JSON property `ownerType` + # @return [String] + attr_accessor :owner_type + + # Output only. OS release version. Example: 6.0. + # Corresponds to the JSON property `releaseVersion` + # @return [String] + attr_accessor :release_version + + # Output only. OS security patch update time on device. + # Corresponds to the JSON property `securityPatchTime` + # @return [String] + attr_accessor :security_patch_time + + # Serial Number of device. Example: HT82V1A01076. + # Corresponds to the JSON property `serialNumber` + # @return [String] + attr_accessor :serial_number + + # WiFi MAC addresses of device. + # Corresponds to the JSON property `wifiMacAddresses` + # @return [Array] + attr_accessor :wifi_mac_addresses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @android_specific_attributes = args[:android_specific_attributes] if args.key?(:android_specific_attributes) + @asset_tag = args[:asset_tag] if args.key?(:asset_tag) + @baseband_version = args[:baseband_version] if args.key?(:baseband_version) + @bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version) + @brand = args[:brand] if args.key?(:brand) + @build_number = args[:build_number] if args.key?(:build_number) + @compromised_state = args[:compromised_state] if args.key?(:compromised_state) + @create_time = args[:create_time] if args.key?(:create_time) + @device_type = args[:device_type] if args.key?(:device_type) + @enabled_developer_options = args[:enabled_developer_options] if args.key?(:enabled_developer_options) + @enabled_usb_debugging = args[:enabled_usb_debugging] if args.key?(:enabled_usb_debugging) + @encryption_state = args[:encryption_state] if args.key?(:encryption_state) + @imei = args[:imei] if args.key?(:imei) + @kernel_version = args[:kernel_version] if args.key?(:kernel_version) + @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time) + @management_state = args[:management_state] if args.key?(:management_state) + @manufacturer = args[:manufacturer] if args.key?(:manufacturer) + @meid = args[:meid] if args.key?(:meid) + @model = args[:model] if args.key?(:model) + @name = args[:name] if args.key?(:name) + @network_operator = args[:network_operator] if args.key?(:network_operator) + @os_version = args[:os_version] if args.key?(:os_version) + @other_accounts = args[:other_accounts] if args.key?(:other_accounts) + @owner_type = args[:owner_type] if args.key?(:owner_type) + @release_version = args[:release_version] if args.key?(:release_version) + @security_patch_time = args[:security_patch_time] if args.key?(:security_patch_time) + @serial_number = args[:serial_number] if args.key?(:serial_number) + @wifi_mac_addresses = args[:wifi_mac_addresses] if args.key?(:wifi_mac_addresses) + end + end + + # Represents a user's use of a Device in the Cloud Identity Devices API. A + # DeviceUser is a resource representing a user's use of a Device + class GoogleAppsCloudidentityDevicesV1DeviceUser + include Google::Apis::Core::Hashable + + # Compromised State of the DeviceUser object + # Corresponds to the JSON property `compromisedState` + # @return [String] + attr_accessor :compromised_state + + # When the user first signed in to the device + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. Most recent time when user registered with this service. + # Corresponds to the JSON property `firstSyncTime` + # @return [String] + attr_accessor :first_sync_time + + # Output only. Default locale used on device, in IETF BCP-47 format. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Output only. Last time when user synced with policies. + # Corresponds to the JSON property `lastSyncTime` + # @return [String] + attr_accessor :last_sync_time + + # Output only. Management state of the user on the device. + # Corresponds to the JSON property `managementState` + # @return [String] + attr_accessor :management_state + + # Output only. [Resource name](https://cloud.google.com/apis/design/ + # resource_names) of the DeviceUser in format: `devices/`device_id`/deviceUsers/` + # user_id``, where user_id is the ID of the user associated with the user + # session. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Password state of the DeviceUser object + # Corresponds to the JSON property `passwordState` + # @return [String] + attr_accessor :password_state + + # Output only. User agent on the device for this specific user + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + # Email address of the user registered on the device. + # Corresponds to the JSON property `userEmail` + # @return [String] + attr_accessor :user_email + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @compromised_state = args[:compromised_state] if args.key?(:compromised_state) + @create_time = args[:create_time] if args.key?(:create_time) + @first_sync_time = args[:first_sync_time] if args.key?(:first_sync_time) + @language_code = args[:language_code] if args.key?(:language_code) + @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time) + @management_state = args[:management_state] if args.key?(:management_state) + @name = args[:name] if args.key?(:name) + @password_state = args[:password_state] if args.key?(:password_state) + @user_agent = args[:user_agent] if args.key?(:user_agent) + @user_email = args[:user_email] if args.key?(:user_email) + end + end + + # Response message for wiping all data on the device. + class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse + include Google::Apis::Core::Hashable + + # A Device within the Cloud Identity Devices API. Represents a Device known to + # Google Cloud, independent of the device ownership, type, and whether it is + # assigned or in use by a user. + # Corresponds to the JSON property `device` + # @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1Device] + attr_accessor :device + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device = args[:device] if args.key?(:device) + end + end + + # Response message for wiping the user's account from the device. + class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse + include Google::Apis::Core::Hashable + + # Represents a user's use of a Device in the Cloud Identity Devices API. A + # DeviceUser is a resource representing a user's use of a Device + # Corresponds to the JSON property `deviceUser` + # @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser] + attr_accessor :device_user + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_user = args[:device_user] if args.key?(:device_user) + end + end + # A group within the Cloud Identity Groups API. A `Group` is a collection of # entities, where each entity is either a user, another group, or a service # account. @@ -772,6 +1415,11 @@ module Google # @return [String] attr_accessor :display_name + # Dynamic group metadata like queries and status. + # Corresponds to the JSON property `dynamicGroupMetadata` + # @return [Google::Apis::CloudidentityV1beta1::DynamicGroupMetadata] + attr_accessor :dynamic_group_metadata + # A unique identifier for an entity in the Cloud Identity Groups API. An entity # can represent either a group with an optional `namespace` or a user without a ` # namespace`. The combination of `id` and `namespace` must be unique; however, @@ -824,6 +1472,7 @@ module Google @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) + @dynamic_group_metadata = args[:dynamic_group_metadata] if args.key?(:dynamic_group_metadata) @group_key = args[:group_key] if args.key?(:group_key) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) diff --git a/generated/google/apis/cloudidentity_v1beta1/representations.rb b/generated/google/apis/cloudidentity_v1beta1/representations.rb index b98544e63..4c02fd2ef 100644 --- a/generated/google/apis/cloudidentity_v1beta1/representations.rb +++ b/generated/google/apis/cloudidentity_v1beta1/representations.rb @@ -106,6 +106,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DynamicGroupMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DynamicGroupQuery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DynamicGroupStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class EntityKey class Representation < Google::Apis::Core::JsonRepresentation; end @@ -124,6 +142,72 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleAppsCloudidentityDevicesV1AndroidAttributes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1ClientState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1CustomAttributeValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1Device + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1DeviceUser + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Group class Representation < Google::Apis::Core::JsonRepresentation; end @@ -414,6 +498,32 @@ module Google end end + class DynamicGroupMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :queries, as: 'queries', class: Google::Apis::CloudidentityV1beta1::DynamicGroupQuery, decorator: Google::Apis::CloudidentityV1beta1::DynamicGroupQuery::Representation + + property :status, as: 'status', class: Google::Apis::CloudidentityV1beta1::DynamicGroupStatus, decorator: Google::Apis::CloudidentityV1beta1::DynamicGroupStatus::Representation + + end + end + + class DynamicGroupQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :query, as: 'query' + property :resource_type, as: 'resourceType' + end + end + + class DynamicGroupStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status' + property :status_time, as: 'statusTime' + end + end + class EntityKey # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -439,6 +549,143 @@ module Google end end + class GoogleAppsCloudidentityDevicesV1AndroidAttributes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled_unknown_sources, as: 'enabledUnknownSources' + property :owner_profile_account, as: 'ownerProfileAccount' + property :ownership_privilege, as: 'ownershipPrivilege' + property :supports_work_profile, as: 'supportsWorkProfile' + end + end + + class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation + + end + end + + class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation + + end + end + + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1Device, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1Device::Representation + + end + end + + class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation + + end + end + + class GoogleAppsCloudidentityDevicesV1ClientState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :asset_tags, as: 'assetTags' + property :compliance_state, as: 'complianceState' + property :create_time, as: 'createTime' + property :custom_id, as: 'customId' + property :etag, as: 'etag' + property :health_score, as: 'healthScore' + hash :key_value_pairs, as: 'keyValuePairs', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue::Representation + + property :last_update_time, as: 'lastUpdateTime' + property :managed, as: 'managed' + property :name, as: 'name' + property :owner_type, as: 'ownerType' + property :score_reason, as: 'scoreReason' + end + end + + class GoogleAppsCloudidentityDevicesV1CustomAttributeValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :number_value, as: 'numberValue' + property :string_value, as: 'stringValue' + end + end + + class GoogleAppsCloudidentityDevicesV1Device + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1AndroidAttributes, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1AndroidAttributes::Representation + + property :asset_tag, as: 'assetTag' + property :baseband_version, as: 'basebandVersion' + property :bootloader_version, as: 'bootloaderVersion' + property :brand, as: 'brand' + property :build_number, as: 'buildNumber' + property :compromised_state, as: 'compromisedState' + property :create_time, as: 'createTime' + property :device_type, as: 'deviceType' + property :enabled_developer_options, as: 'enabledDeveloperOptions' + property :enabled_usb_debugging, as: 'enabledUsbDebugging' + property :encryption_state, as: 'encryptionState' + property :imei, as: 'imei' + property :kernel_version, as: 'kernelVersion' + property :last_sync_time, as: 'lastSyncTime' + property :management_state, as: 'managementState' + property :manufacturer, as: 'manufacturer' + property :meid, as: 'meid' + property :model, as: 'model' + property :name, as: 'name' + property :network_operator, as: 'networkOperator' + property :os_version, as: 'osVersion' + collection :other_accounts, as: 'otherAccounts' + property :owner_type, as: 'ownerType' + property :release_version, as: 'releaseVersion' + property :security_patch_time, as: 'securityPatchTime' + property :serial_number, as: 'serialNumber' + collection :wifi_mac_addresses, as: 'wifiMacAddresses' + end + end + + class GoogleAppsCloudidentityDevicesV1DeviceUser + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :compromised_state, as: 'compromisedState' + property :create_time, as: 'createTime' + property :first_sync_time, as: 'firstSyncTime' + property :language_code, as: 'languageCode' + property :last_sync_time, as: 'lastSyncTime' + property :management_state, as: 'managementState' + property :name, as: 'name' + property :password_state, as: 'passwordState' + property :user_agent, as: 'userAgent' + property :user_email, as: 'userEmail' + end + end + + class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1Device, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1Device::Representation + + end + end + + class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation + + end + end + class Group # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -447,6 +694,8 @@ module Google property :create_time, as: 'createTime' property :description, as: 'description' property :display_name, as: 'displayName' + property :dynamic_group_metadata, as: 'dynamicGroupMetadata', class: Google::Apis::CloudidentityV1beta1::DynamicGroupMetadata, decorator: Google::Apis::CloudidentityV1beta1::DynamicGroupMetadata::Representation + property :group_key, as: 'groupKey', class: Google::Apis::CloudidentityV1beta1::EntityKey, decorator: Google::Apis::CloudidentityV1beta1::EntityKey::Representation hash :labels, as: 'labels' diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 8db6e352f..14fa91c09 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2 VERSION = 'V2' - REVISION = '20200810' + REVISION = '20200817' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index 0c4786741..b821936c7 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -204,17 +204,6 @@ module Google # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction] attr_accessor :end_interaction - # Indicates that the conversation should be handed off to a human agent. - # Dialogflow only uses this to determine which conversations were handed off to - # a human agent for measurement purposes. What else to do with this signal is up - # to you and your handoff procedures. You may set this, for example: * In the - # entry_fulfillment of a Page if entering the page indicates something went - # extremely wrong in the conversation. * In a webhook response when you - # determine that the customer issue can only be handled by a human. - # Corresponds to the JSON property `humanAgentHandoff` - # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff] - attr_accessor :human_agent_handoff - # Indicates that the conversation should be handed off to a live agent. # Dialogflow only uses this to determine which conversations were handed off to # a human agent for measurement purposes. What else to do with this signal is up @@ -263,7 +252,6 @@ module Google def update!(**args) @conversation_success = args[:conversation_success] if args.key?(:conversation_success) @end_interaction = args[:end_interaction] if args.key?(:end_interaction) - @human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff) @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff) @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio) @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text) @@ -314,32 +302,6 @@ module Google end end - # Indicates that the conversation should be handed off to a human agent. - # Dialogflow only uses this to determine which conversations were handed off to - # a human agent for measurement purposes. What else to do with this signal is up - # to you and your handoff procedures. You may set this, for example: * In the - # entry_fulfillment of a Page if entering the page indicates something went - # extremely wrong in the conversation. * In a webhook response when you - # determine that the customer issue can only be handled by a human. - class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff - include Google::Apis::Core::Hashable - - # Custom metadata for your handoff procedure. Dialogflow doesn't impose any - # structure on this. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - # Indicates that the conversation should be handed off to a live agent. # Dialogflow only uses this to determine which conversations were handed off to # a human agent for measurement purposes. What else to do with this signal is up diff --git a/generated/google/apis/dialogflow_v2/representations.rb b/generated/google/apis/dialogflow_v2/representations.rb index 79e2d5318..b48b024d3 100644 --- a/generated/google/apis/dialogflow_v2/representations.rb +++ b/generated/google/apis/dialogflow_v2/representations.rb @@ -70,12 +70,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1176,8 +1170,6 @@ module Google property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation - property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation - property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation @@ -1205,13 +1197,6 @@ module Google end end - class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :metadata, as: 'metadata' - end - end - class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index f90fbd775..49fd71a9b 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20200810' + REVISION = '20200817' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 51d5ccd19..4dc68e9c4 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -204,17 +204,6 @@ module Google # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction] attr_accessor :end_interaction - # Indicates that the conversation should be handed off to a human agent. - # Dialogflow only uses this to determine which conversations were handed off to - # a human agent for measurement purposes. What else to do with this signal is up - # to you and your handoff procedures. You may set this, for example: * In the - # entry_fulfillment of a Page if entering the page indicates something went - # extremely wrong in the conversation. * In a webhook response when you - # determine that the customer issue can only be handled by a human. - # Corresponds to the JSON property `humanAgentHandoff` - # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff] - attr_accessor :human_agent_handoff - # Indicates that the conversation should be handed off to a live agent. # Dialogflow only uses this to determine which conversations were handed off to # a human agent for measurement purposes. What else to do with this signal is up @@ -263,7 +252,6 @@ module Google def update!(**args) @conversation_success = args[:conversation_success] if args.key?(:conversation_success) @end_interaction = args[:end_interaction] if args.key?(:end_interaction) - @human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff) @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff) @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio) @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text) @@ -314,32 +302,6 @@ module Google end end - # Indicates that the conversation should be handed off to a human agent. - # Dialogflow only uses this to determine which conversations were handed off to - # a human agent for measurement purposes. What else to do with this signal is up - # to you and your handoff procedures. You may set this, for example: * In the - # entry_fulfillment of a Page if entering the page indicates something went - # extremely wrong in the conversation. * In a webhook response when you - # determine that the customer issue can only be handled by a human. - class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff - include Google::Apis::Core::Hashable - - # Custom metadata for your handoff procedure. Dialogflow doesn't impose any - # structure on this. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - # Indicates that the conversation should be handed off to a live agent. # Dialogflow only uses this to determine which conversations were handed off to # a human agent for measurement purposes. What else to do with this signal is up diff --git a/generated/google/apis/dialogflow_v2beta1/representations.rb b/generated/google/apis/dialogflow_v2beta1/representations.rb index 1a5dd8268..44ca10d14 100644 --- a/generated/google/apis/dialogflow_v2beta1/representations.rb +++ b/generated/google/apis/dialogflow_v2beta1/representations.rb @@ -70,12 +70,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1224,8 +1218,6 @@ module Google property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation - property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation - property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation @@ -1253,13 +1245,6 @@ module Google end end - class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :metadata, as: 'metadata' - end - end - class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v2beta1/service.rb b/generated/google/apis/dialogflow_v2beta1/service.rb index 6193d4475..576070edb 100644 --- a/generated/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google/apis/dialogflow_v2beta1/service.rb @@ -3002,6 +3002,43 @@ module Google execute_or_queue_command(command, &block) end + # Gets agent validation result. Agent validation is performed during training + # time and is updated automatically when training is completed. + # @param [String] parent + # Required. The project that the agent is associated with. Format: `projects/`. + # @param [String] language_code + # Optional. The language for which you want a validation result. If not + # specified, the agent's default language is used. [Many languages](https:// + # cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + # languages must be enabled in the agent before they can be used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_validation_result(parent, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+parent}/agent/validationResult', options) + command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult::Representation + command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult + command.params['parent'] = parent unless parent.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Imports the specified agent from a ZIP file. Uploads new intents and entity # types without deleting the existing ones. Intents and entity types with the # same name are replaced with the new versions from ImportAgentRequest. After diff --git a/generated/google/apis/dialogflow_v3beta1.rb b/generated/google/apis/dialogflow_v3beta1.rb index e973b59d7..ceff8ba46 100644 --- a/generated/google/apis/dialogflow_v3beta1.rb +++ b/generated/google/apis/dialogflow_v3beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV3beta1 VERSION = 'V3beta1' - REVISION = '20200810' + REVISION = '20200817' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v3beta1/classes.rb b/generated/google/apis/dialogflow_v3beta1/classes.rb index 7a9ab80fc..987ad4d9b 100644 --- a/generated/google/apis/dialogflow_v3beta1/classes.rb +++ b/generated/google/apis/dialogflow_v3beta1/classes.rb @@ -204,17 +204,6 @@ module Google # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction] attr_accessor :end_interaction - # Indicates that the conversation should be handed off to a human agent. - # Dialogflow only uses this to determine which conversations were handed off to - # a human agent for measurement purposes. What else to do with this signal is up - # to you and your handoff procedures. You may set this, for example: * In the - # entry_fulfillment of a Page if entering the page indicates something went - # extremely wrong in the conversation. * In a webhook response when you - # determine that the customer issue can only be handled by a human. - # Corresponds to the JSON property `humanAgentHandoff` - # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff] - attr_accessor :human_agent_handoff - # Indicates that the conversation should be handed off to a live agent. # Dialogflow only uses this to determine which conversations were handed off to # a human agent for measurement purposes. What else to do with this signal is up @@ -263,7 +252,6 @@ module Google def update!(**args) @conversation_success = args[:conversation_success] if args.key?(:conversation_success) @end_interaction = args[:end_interaction] if args.key?(:end_interaction) - @human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff) @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff) @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio) @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text) @@ -314,32 +302,6 @@ module Google end end - # Indicates that the conversation should be handed off to a human agent. - # Dialogflow only uses this to determine which conversations were handed off to - # a human agent for measurement purposes. What else to do with this signal is up - # to you and your handoff procedures. You may set this, for example: * In the - # entry_fulfillment of a Page if entering the page indicates something went - # extremely wrong in the conversation. * In a webhook response when you - # determine that the customer issue can only be handled by a human. - class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff - include Google::Apis::Core::Hashable - - # Custom metadata for your handoff procedure. Dialogflow doesn't impose any - # structure on this. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - # Indicates that the conversation should be handed off to a live agent. # Dialogflow only uses this to determine which conversations were handed off to # a human agent for measurement purposes. What else to do with this signal is up diff --git a/generated/google/apis/dialogflow_v3beta1/representations.rb b/generated/google/apis/dialogflow_v3beta1/representations.rb index 00ee13bee..4b78dda69 100644 --- a/generated/google/apis/dialogflow_v3beta1/representations.rb +++ b/generated/google/apis/dialogflow_v3beta1/representations.rb @@ -70,12 +70,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff class Representation < Google::Apis::Core::JsonRepresentation; end @@ -948,8 +942,6 @@ module Google property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation - property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation - property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation @@ -977,13 +969,6 @@ module Google end end - class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :metadata, as: 'metadata' - end - end - class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/doubleclickbidmanager_v1_1.rb b/generated/google/apis/doubleclickbidmanager_v1_1.rb index 28e514baa..c4d734523 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1_1 VERSION = 'V1_1' - REVISION = '20200811' + REVISION = '20200817' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/memcache_v1.rb b/generated/google/apis/memcache_v1.rb index 842e36be9..2112c3104 100644 --- a/generated/google/apis/memcache_v1.rb +++ b/generated/google/apis/memcache_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/memorystore/ module MemcacheV1 VERSION = 'V1' - REVISION = '20200729' + REVISION = '20200817' # 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/memcache_v1/classes.rb b/generated/google/apis/memcache_v1/classes.rb index f721262f5..124223991 100644 --- a/generated/google/apis/memcache_v1/classes.rb +++ b/generated/google/apis/memcache_v1/classes.rb @@ -26,9 +26,9 @@ module Google class ApplyParametersRequest include Google::Apis::Core::Hashable - # Whether to apply instance-level parameter group to all nodes. If set to - # true, will explicitly restrict users from specifying any nodes, and apply - # parameter group updates to all nodes within the instance. + # Whether to apply instance-level parameter group to all nodes. If set to true, + # will explicitly restrict users from specifying any nodes, and apply parameter + # group updates to all nodes within the instance. # Corresponds to the JSON property `applyAll` # @return [Boolean] attr_accessor :apply_all @@ -63,13 +63,11 @@ module Google end end - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. + # A generic empty message that you can re-use to avoid defining duplicated empty + # messages in your APIs. A typical example is to use it as the request or the + # response type of an API method. For instance: service Foo ` rpc Bar(google. + # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for + # `Empty` is empty JSON object ````. class Empty include Google::Apis::Core::Hashable @@ -91,10 +89,10 @@ module Google # @return [String] attr_accessor :api_version - # Output only. Identifies whether the user has requested cancellation - # of the operation. Operations that have successfully been cancelled - # have Operation.error value with a google.rpc.Status.code of 1, - # corresponding to `Code.CANCELLED`. + # Output only. Identifies whether the user has requested cancellation of the + # operation. Operations that have successfully been cancelled have Operation. + # error value with a google.rpc.Status.code of 1, corresponding to `Code. + # CANCELLED`. # Corresponds to the JSON property `cancelRequested` # @return [Boolean] attr_accessor :cancel_requested @@ -146,10 +144,9 @@ module Google include Google::Apis::Core::Hashable # consumer_defined_name is the name that is set by the consumer. On the other - # hand Name field represents system-assigned id of an instance so consumers - # are not necessarily aware of it. - # consumer_defined_name is used for notification/UI purposes for consumer to - # recognize their instances. + # hand Name field represents system-assigned id of an instance so consumers are + # not necessarily aware of it. consumer_defined_name is used for notification/UI + # purposes for consumer to recognize their instances. # Corresponds to the JSON property `consumerDefinedName` # @return [String] attr_accessor :consumer_defined_name @@ -159,18 +156,17 @@ module Google # @return [String] attr_accessor :create_time - # Optional. Resource labels to represent user provided metadata. Each label - # is a key-value pair, where both the key and the value are arbitrary strings + # Optional. Resource labels to represent user provided metadata. Each label is a + # key-value pair, where both the key and the value are arbitrary strings # provided by the user. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels - # The MaintenancePolicies that have been attached to the instance. - # The key must be of the type name of the oneof policy name defined in - # MaintenancePolicy, and the referenced policy must define the same policy - # type. For complete details of MaintenancePolicy, please refer to - # go/cloud-saas-mw-ug. + # The MaintenancePolicies that have been attached to the instance. The key must + # be of the type name of the oneof policy name defined in MaintenancePolicy, and + # the referenced policy must define the same policy type. For complete details + # of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. # Corresponds to the JSON property `maintenancePolicyNames` # @return [Hash] attr_accessor :maintenance_policy_names @@ -187,29 +183,28 @@ module Google # @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings] attr_accessor :maintenance_settings - # Unique name of the resource. It uses the form: - # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` + # Unique name of the resource. It uses the form: `projects/`project_id`/ + # locations/`location_id`/instances/`instance_id`` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Output only. Custom string attributes used primarily to expose - # producer-specific information in monitoring dashboards. - # See go/get-instance-metadata. + # Output only. Custom string attributes used primarily to expose producer- + # specific information in monitoring dashboards. See go/get-instance-metadata. # Corresponds to the JSON property `producerMetadata` # @return [Hash] attr_accessor :producer_metadata - # Output only. The list of data plane resources provisioned for this - # instance, e.g. compute VMs. See go/get-instance-metadata. + # Output only. The list of data plane resources provisioned for this instance, e. + # g. compute VMs. See go/get-instance-metadata. # Corresponds to the JSON property `provisionedResources` # @return [Array] attr_accessor :provisioned_resources - # Link to the SLM instance template. Only populated when updating SLM - # instances via SSA's Actuation service adaptor. - # Service producers with custom control plane (e.g. Cloud SQL) doesn't - # need to populate this field. Instead they should use software_versions. + # Link to the SLM instance template. Only populated when updating SLM instances + # via SSA's Actuation service adaptor. Service producers with custom control + # plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they + # should use software_versions. # Corresponds to the JSON property `slmInstanceTemplate` # @return [String] attr_accessor :slm_instance_template @@ -220,8 +215,8 @@ module Google # @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata] attr_accessor :slo_metadata - # Software versions that are used to deploy this instance. This can be - # mutated by rollout services. + # Software versions that are used to deploy this instance. This can be mutated + # by rollout services. # Corresponds to the JSON property `softwareVersions` # @return [Hash] attr_accessor :software_versions @@ -232,8 +227,8 @@ module Google # @return [String] attr_accessor :state - # Output only. ID of the associated GCP tenant project. - # See go/get-instance-metadata. + # Output only. ID of the associated GCP tenant project. See go/get-instance- + # metadata. # Corresponds to the JSON property `tenantProjectId` # @return [String] attr_accessor :tenant_project_id @@ -272,9 +267,9 @@ module Google class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule include Google::Apis::Core::Hashable - # Can this scheduled update be rescheduled? - # By default, it's true and API needs to do explicitly check whether it's - # set, if it's set as false explicitly, it's false + # Can this scheduled update be rescheduled? By default, it's true and API needs + # to do explicitly check whether it's set, if it's set as false explicitly, it's + # false # Corresponds to the JSON property `canReschedule` # @return [Boolean] attr_accessor :can_reschedule @@ -285,9 +280,9 @@ module Google # @return [String] attr_accessor :end_time - # The rollout management policy this maintenance schedule is associated - # with. When doing reschedule update request, the reschedule should be - # against this given policy. + # The rollout management policy this maintenance schedule is associated with. + # When doing reschedule update request, the reschedule should be against this + # given policy. # Corresponds to the JSON property `rolloutManagementPolicy` # @return [String] attr_accessor :rollout_management_policy @@ -316,8 +311,7 @@ module Google include Google::Apis::Core::Hashable # Optional. Exclude instance from maintenance. When true, rollout service will - # not - # attempt maintenance on the instance. Rollout service will include the + # not attempt maintenance on the instance. Rollout service will include the # instance in reported rollout progress as not attempted. # Corresponds to the JSON property `exclude` # @return [Boolean] @@ -334,18 +328,17 @@ module Google end end - # Node information for custom per-node SLO implementations. - # SSA does not support per-node SLO, but producers can populate per-node - # information in SloMetadata for custom precomputations. - # SSA Eligibility Exporter will emit per-node metric based on this information. + # Node information for custom per-node SLO implementations. SSA does not support + # per-node SLO, but producers can populate per-node information in SloMetadata + # for custom precomputations. SSA Eligibility Exporter will emit per-node metric + # based on this information. class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata include Google::Apis::Core::Hashable - # By default node is eligible if instance is eligible. - # But individual node might be excluded from SLO by adding entry here. - # For semantic see SloMetadata.exclusions. - # If both instance and node level exclusions are present for time period, - # the node level's reason will be reported by Eligibility Exporter. + # By default node is eligible if instance is eligible. But individual node might + # be excluded from SLO by adding entry here. For semantic see SloMetadata. + # exclusions. If both instance and node level exclusions are present for time + # period, the node level's reason will be reported by Eligibility Exporter. # Corresponds to the JSON property `exclusions` # @return [Array] attr_accessor :exclusions @@ -355,8 +348,7 @@ module Google # @return [String] attr_accessor :location - # The id of the node. - # This should be equal to SaasInstanceNode.node_id. + # The id of the node. This should be equal to SaasInstanceNode.node_id. # Corresponds to the JSON property `nodeId` # @return [String] attr_accessor :node_id @@ -377,18 +369,17 @@ module Google class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource include Google::Apis::Core::Hashable - # Type of the resource. This can be either a GCP resource or a custom one - # (e.g. another cloud provider's VM). For GCP compute resources use singular - # form of the names listed in GCP compute API documentation - # (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with - # 'compute-', for example: 'compute-instance', 'compute-disk', - # 'compute-autoscaler'. + # Type of the resource. This can be either a GCP resource or a custom one (e.g. + # another cloud provider's VM). For GCP compute resources use singular form of + # the names listed in GCP compute API documentation (https://cloud.google.com/ + # compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: ' + # compute-instance', 'compute-disk', 'compute-autoscaler'. # Corresponds to the JSON property `resourceType` # @return [String] attr_accessor :resource_type - # URL identifying the resource, e.g. - # "https://www.googleapis.com/compute/v1/projects/...)". + # URL identifying the resource, e.g. "https://www.googleapis.com/compute/v1/ + # projects/...)". # Corresponds to the JSON property `resourceUrl` # @return [String] attr_accessor :resource_url @@ -404,9 +395,9 @@ module Google end end - # SloEligibility is a tuple containing eligibility value: true if an instance - # is eligible for SLO calculation or false if it should be excluded from all - # SLO-related calculations along with a user-defined reason. + # SloEligibility is a tuple containing eligibility value: true if an instance is + # eligible for SLO calculation or false if it should be excluded from all SLO- + # related calculations along with a user-defined reason. class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility include Google::Apis::Core::Hashable @@ -417,8 +408,7 @@ module Google alias_method :eligible?, :eligible # User-defined reason for the current value of instance eligibility. Usually, - # this can be directly mapped to the internal state. An empty reason is - # allowed. + # this can be directly mapped to the internal state. An empty reason is allowed. # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -438,28 +428,27 @@ module Google class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion include Google::Apis::Core::Hashable - # Exclusion duration. No restrictions on the possible values. - # When an ongoing operation is taking longer than initially expected, - # an existing entry in the exclusion list can be updated by extending the - # duration. This is supported by the subsystem exporting eligibility data - # as long as such extension is committed at least 10 minutes before the - # original exclusion expiration - otherwise it is possible that there will - # be "gaps" in the exclusion application in the exported timeseries. + # Exclusion duration. No restrictions on the possible values. When an ongoing + # operation is taking longer than initially expected, an existing entry in the + # exclusion list can be updated by extending the duration. This is supported by + # the subsystem exporting eligibility data as long as such extension is + # committed at least 10 minutes before the original exclusion expiration - + # otherwise it is possible that there will be "gaps" in the exclusion + # application in the exported timeseries. # Corresponds to the JSON property `duration` # @return [String] attr_accessor :duration - # Human-readable reason for the exclusion. - # This should be a static string (e.g. "Disruptive update in progress") - # and should not contain dynamically generated data (e.g. instance name). - # Can be left empty. + # Human-readable reason for the exclusion. This should be a static string (e.g. " + # Disruptive update in progress") and should not contain dynamically generated + # data (e.g. instance name). Can be left empty. # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason - # Name of an SLI that this exclusion applies to. Can be left empty, - # signaling that the instance should be excluded from all SLIs defined - # in the service SLO configuration. + # Name of an SLI that this exclusion applies to. Can be left empty, signaling + # that the instance should be excluded from all SLIs defined in the service SLO + # configuration. # Corresponds to the JSON property `sliName` # @return [String] attr_accessor :sli_name @@ -487,40 +476,38 @@ module Google class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata include Google::Apis::Core::Hashable - # SloEligibility is a tuple containing eligibility value: true if an instance - # is eligible for SLO calculation or false if it should be excluded from all - # SLO-related calculations along with a user-defined reason. + # SloEligibility is a tuple containing eligibility value: true if an instance is + # eligible for SLO calculation or false if it should be excluded from all SLO- + # related calculations along with a user-defined reason. # Corresponds to the JSON property `eligibility` # @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility] attr_accessor :eligibility - # List of SLO exclusion windows. When multiple entries in the list match - # (matching the exclusion time-window against current time point) - # the exclusion reason used in the first matching entry will be published. - # It is not needed to include expired exclusion in this list, as only the - # currently applicable exclusions are taken into account by the eligibility - # exporting subsystem (the historical state of exclusions will be reflected - # in the historically produced timeseries regardless of the current state). - # This field can be used to mark the instance as temporary ineligible - # for the purpose of SLO calculation. For permanent instance SLO exclusion, - # use of custom instance eligibility is recommended. See 'eligibility' field - # below. + # List of SLO exclusion windows. When multiple entries in the list match ( + # matching the exclusion time-window against current time point) the exclusion + # reason used in the first matching entry will be published. It is not needed to + # include expired exclusion in this list, as only the currently applicable + # exclusions are taken into account by the eligibility exporting subsystem (the + # historical state of exclusions will be reflected in the historically produced + # timeseries regardless of the current state). This field can be used to mark + # the instance as temporary ineligible for the purpose of SLO calculation. For + # permanent instance SLO exclusion, use of custom instance eligibility is + # recommended. See 'eligibility' field below. # Corresponds to the JSON property `exclusions` # @return [Array] attr_accessor :exclusions - # Optional. List of nodes. - # Some producers need to use per-node metadata to calculate SLO. - # This field allows such producers to publish per-node SLO meta data, - # which will be consumed by SSA Eligibility Exporter and published in the + # Optional. List of nodes. Some producers need to use per-node metadata to + # calculate SLO. This field allows such producers to publish per-node SLO meta + # data, which will be consumed by SSA Eligibility Exporter and published in the # form of per node metric to Monarch. # Corresponds to the JSON property `nodes` # @return [Array] attr_accessor :nodes # Name of the SLO tier the Instance belongs to. This name will be expected to - # match the tiers specified in the service SLO configuration. - # Field is mandatory and must not be empty. + # match the tiers specified in the service SLO configuration. Field is mandatory + # and must not be empty. # Corresponds to the JSON property `tier` # @return [String] attr_accessor :tier @@ -542,10 +529,9 @@ module Google class Instance include Google::Apis::Core::Hashable - # The full name of the Google Compute Engine - # [network](/compute/docs/networks-and-firewalls#networks) to which the - # instance is connected. If left unspecified, the `default` network - # will be used. + # The full name of the Google Compute Engine [network](/compute/docs/networks- + # and-firewalls#networks) to which the instance is connected. If left + # unspecified, the `default` network will be used. # Corresponds to the JSON property `authorizedNetwork` # @return [String] attr_accessor :authorized_network @@ -560,8 +546,8 @@ module Google # @return [String] attr_accessor :discovery_endpoint - # User provided name for the instance only used for display - # purposes. Cannot be more than 80 characters. + # User provided name for the instance only used for display purposes. Cannot be + # more than 80 characters. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name @@ -571,43 +557,40 @@ module Google # @return [Array] attr_accessor :instance_messages - # Resource labels to represent user-provided metadata. - # Refer to cloud documentation on labels for more details. - # https://cloud.google.com/compute/docs/labeling-resources + # Resource labels to represent user-provided metadata. Refer to cloud + # documentation on labels for more details. https://cloud.google.com/compute/ + # docs/labeling-resources # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels # Output only. The full version of memcached server running on this instance. # System automatically determines the full memcached version for an instance - # based on the input MemcacheVersion. - # The full version format will be "memcached-1.5.16". + # based on the input MemcacheVersion. The full version format will be "memcached- + # 1.5.16". # Corresponds to the JSON property `memcacheFullVersion` # @return [String] attr_accessor :memcache_full_version - # Output only. List of Memcached nodes. - # Refer to [Node] message for more details. + # Output only. List of Memcached nodes. Refer to [Node] message for more details. # Corresponds to the JSON property `memcacheNodes` # @return [Array] attr_accessor :memcache_nodes - # The major version of Memcached software. - # If not provided, latest supported version will be used. Currently the - # latest supported major version is MEMCACHE_1_5. - # The minor version will be automatically determined by our system based on - # the latest supported minor version. + # The major version of Memcached software. If not provided, latest supported + # version will be used. Currently the latest supported major version is + # MEMCACHE_1_5. The minor version will be automatically determined by our system + # based on the latest supported minor version. # Corresponds to the JSON property `memcacheVersion` # @return [String] attr_accessor :memcache_version # Required. Unique name of the resource in this scope including project and - # location using the form: - # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # Note: Memcached instances are managed and addressed at regional level so - # location_id here refers to a GCP region; however, users may choose which - # zones Memcached nodes within an instances should be provisioned in. - # Refer to [zones] field for more details. + # location using the form: `projects/`project_id`/locations/`location_id`/ + # instances/`instance_id`` Note: Memcached instances are managed and addressed + # at regional level so location_id here refers to a GCP region; however, users + # may choose which zones Memcached nodes within an instances should be + # provisioned in. Refer to [zones] field for more details. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -622,8 +605,8 @@ module Google # @return [Fixnum] attr_accessor :node_count - # Optional: User defined parameters to apply to the memcached process - # on each node. + # Optional: User defined parameters to apply to the memcached process on each + # node. # Corresponds to the JSON property `parameters` # @return [Google::Apis::MemcacheV1::MemcacheParameters] attr_accessor :parameters @@ -638,10 +621,9 @@ module Google # @return [String] attr_accessor :update_time - # Zones where Memcached nodes should be provisioned in. - # Memcached nodes will be equally distributed across these zones. If not - # provided, the service will by default create nodes in all zones in the - # region for the instance. + # Zones where Memcached nodes should be provisioned in. Memcached nodes will be + # equally distributed across these zones. If not provided, the service will by + # default create nodes in all zones in the region for the instance. # Corresponds to the JSON property `zones` # @return [Array] attr_accessor :zones @@ -706,10 +688,10 @@ module Google # @return [String] attr_accessor :next_page_token - # A list of Memcached instances in the project in the specified location, - # or across all locations. - # If the `location_id` in the parent field of the request is "-", all regions - # available to the project are queried, and the results aggregated. + # A list of Memcached instances in the project in the specified location, or + # across all locations. If the `location_id` in the parent field of the request + # is "-", all regions available to the project are queried, and the results + # aggregated. # Corresponds to the JSON property `resources` # @return [Array] attr_accessor :resources @@ -785,14 +767,14 @@ module Google class Location include Google::Apis::Core::Hashable - # The friendly name for this location, typically a nearby city name. - # For example, "Tokyo". + # The friendly name for this location, typically a nearby city name. For example, + # "Tokyo". # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # Cross-service attributes for the location. For example - # `"cloud.googleapis.com/region": "us-east1"` + # Cross-service attributes for the location. For example `"cloud.googleapis.com/ + # region": "us-east1"` # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -808,8 +790,8 @@ module Google # @return [Hash] attr_accessor :metadata - # Resource name for the location, which may vary between implementations. - # For example: `"projects/example-project/locations/us-east1"` + # Resource name for the location, which may vary between implementations. For + # example: `"projects/example-project/locations/us-east1"` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -832,9 +814,9 @@ module Google class LocationMetadata include Google::Apis::Core::Hashable - # Output only. The set of available zones in the location. The map is keyed - # by the lowercase ID of each zone, as defined by GCE. These keys can be - # specified in the `zones` field when creating a Memcached instance. + # Output only. The set of available zones in the location. The map is keyed by + # the lowercase ID of each zone, as defined by GCE. These keys can be specified + # in the `zones` field when creating a Memcached instance. # Corresponds to the JSON property `availableZones` # @return [Hash] attr_accessor :available_zones @@ -853,10 +835,10 @@ module Google class MemcacheParameters include Google::Apis::Core::Hashable - # Output only. The unique ID associated with this set of parameters. Users - # can use this id to determine if the parameters associated with the instance - # differ from the parameters associated with the nodes and any action needs - # to be taken to apply parameters on nodes. + # Output only. The unique ID associated with this set of parameters. Users can + # use this id to determine if the parameters associated with the instance differ + # from the parameters associated with the nodes and any action needs to be taken + # to apply parameters on nodes. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -881,14 +863,14 @@ module Google class Node include Google::Apis::Core::Hashable - # Output only. Hostname or IP address of the Memcached node used by the - # clients to connect to the Memcached server on this node. + # Output only. Hostname or IP address of the Memcached node used by the clients + # to connect to the Memcached server on this node. # Corresponds to the JSON property `host` # @return [String] attr_accessor :host - # Output only. Identifier of the Memcached node. The node id does not - # include project or location like the Memcached instance name. + # Output only. Identifier of the Memcached node. The node id does not include + # project or location like the Memcached instance name. # Corresponds to the JSON property `nodeId` # @return [String] attr_accessor :node_id @@ -958,47 +940,45 @@ module Google class Operation include Google::Apis::Core::Hashable - # If the value is `false`, it means the operation is still in progress. - # If `true`, the operation is completed, and either `error` or `response` is - # available. + # If the value is `false`, it means the operation is still in progress. If `true` + # , the operation is completed, and either `error` or `response` is available. # Corresponds to the JSON property `done` # @return [Boolean] attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). # Corresponds to the JSON property `error` # @return [Google::Apis::MemcacheV1::Status] attr_accessor :error - # Service-specific metadata associated with the operation. It typically - # contains progress information and common metadata such as create time. - # Some services might not provide such metadata. Any method that returns a - # long-running operation should document the metadata type, if any. + # Service-specific metadata associated with the operation. It typically contains + # progress information and common metadata such as create time. Some services + # might not provide such metadata. Any method that returns a long-running + # operation should document the metadata type, if any. # Corresponds to the JSON property `metadata` # @return [Hash] attr_accessor :metadata # The server-assigned name, which is only unique within the same service that - # originally returns it. If you use the default HTTP mapping, the - # `name` should be a resource name ending with `operations/`unique_id``. + # originally returns it. If you use the default HTTP mapping, the `name` should + # be a resource name ending with `operations/`unique_id``. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The normal response of the operation in case of success. If the original - # method returns no data on success, such as `Delete`, the response is - # `google.protobuf.Empty`. If the original method is standard - # `Get`/`Create`/`Update`, the response should be the resource. For other - # methods, the response should have the type `XxxResponse`, where `Xxx` - # is the original method name. For example, if the original method name - # is `TakeSnapshot()`, the inferred response type is - # `TakeSnapshotResponse`. + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is `google. + # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, + # the response should be the resource. For other methods, the response should + # have the type `XxxResponse`, where `Xxx` is the original method name. For + # example, if the original method name is `TakeSnapshot()`, the inferred + # response type is `TakeSnapshotResponse`. # Corresponds to the JSON property `response` # @return [Hash] attr_accessor :response @@ -1026,10 +1006,10 @@ module Google # @return [String] attr_accessor :api_version - # Output only. Identifies whether the user has requested cancellation - # of the operation. Operations that have successfully been cancelled - # have Operation.error value with a google.rpc.Status.code of 1, - # corresponding to `Code.CANCELLED`. + # Output only. Identifies whether the user has requested cancellation of the + # operation. Operations that have successfully been cancelled have Operation. + # error value with a google.rpc.Status.code of 1, corresponding to `Code. + # CANCELLED`. # Corresponds to the JSON property `cancelRequested` # @return [Boolean] attr_accessor :cancel_requested @@ -1076,12 +1056,12 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). class Status include Google::Apis::Core::Hashable @@ -1090,15 +1070,15 @@ module Google # @return [Fixnum] attr_accessor :code - # A list of messages that carry the error details. There is a common set of + # A list of messages that carry the error details. There is a common set of # message types for APIs to use. # Corresponds to the JSON property `details` # @return [Array>] attr_accessor :details - # A developer-facing error message, which should be in English. Any - # user-facing error message should be localized and sent in the - # google.rpc.Status.details field, or localized by the client. + # A developer-facing error message, which should be in English. Any user-facing + # error message should be localized and sent in the google.rpc.Status.details + # field, or localized by the client. # Corresponds to the JSON property `message` # @return [String] attr_accessor :message diff --git a/generated/google/apis/memcache_v1/service.rb b/generated/google/apis/memcache_v1/service.rb index bb5090a08..74789eeb1 100644 --- a/generated/google/apis/memcache_v1/service.rb +++ b/generated/google/apis/memcache_v1/service.rb @@ -117,12 +117,11 @@ module Google execute_or_queue_command(command, &block) end - # ApplyParameters will update current set of Parameters to the set of - # specified nodes of the Memcached Instance. + # ApplyParameters will update current set of Parameters to the set of specified + # nodes of the Memcached Instance. # @param [String] name # Required. Resource name of the Memcached instance for which parameter group - # updates - # should be applied. + # updates should be applied. # @param [Google::Apis::MemcacheV1::ApplyParametersRequest] apply_parameters_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -155,18 +154,16 @@ module Google # Creates a new Instance in a given project and location. # @param [String] parent - # Required. The resource name of the instance location using the form: - # `projects/`project_id`/locations/`location_id`` - # where `location_id` refers to a GCP region + # Required. The resource name of the instance location using the form: `projects/ + # `project_id`/locations/`location_id`` where `location_id` refers to a GCP + # region # @param [Google::Apis::MemcacheV1::Instance] instance_object # @param [String] instance_id - # Required. The logical name of the Memcached instance in the user - # project with the following restrictions: - # * Must contain only lowercase letters, numbers, and hyphens. - # * Must start with a letter. - # * Must be between 1-40 characters. - # * Must end with a number or a letter. - # * Must be unique within the user project / location + # Required. The logical name of the Memcached instance in the user project with + # the following restrictions: * Must contain only lowercase letters, numbers, + # and hyphens. * Must start with a letter. * Must be between 1-40 characters. * + # Must end with a number or a letter. * Must be unique within the user project / + # location # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -199,9 +196,9 @@ module Google # Deletes a single Instance. # @param [String] name - # Required. Memcached instance resource name in the format: - # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # where `location_id` refers to a GCP region + # Required. Memcached instance resource name in the format: `projects/` + # project_id`/locations/`location_id`/instances/`instance_id`` where ` + # location_id` refers to a GCP region # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -231,9 +228,9 @@ module Google # Gets details of a single Instance. # @param [String] name - # Required. Memcached instance resource name in the format: - # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # where `location_id` refers to a GCP region + # Required. Memcached instance resource name in the format: `projects/` + # project_id`/locations/`location_id`/instances/`instance_id`` where ` + # location_id` refers to a GCP region # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -263,24 +260,21 @@ module Google # Lists Instances in a given project and location. # @param [String] parent - # Required. The resource name of the instance location using the form: - # `projects/`project_id`/locations/`location_id`` - # where `location_id` refers to a GCP region + # Required. The resource name of the instance location using the form: `projects/ + # `project_id`/locations/`location_id`` where `location_id` refers to a GCP + # region # @param [String] filter - # List filter. For example, exclude all Memcached instances with name as - # my-instance by specifying "name != my-instance". + # List filter. For example, exclude all Memcached instances with name as my- + # instance by specifying "name != my-instance". # @param [String] order_by # Sort results. Supported values are "name", "name desc" or "" (unsorted). # @param [Fixnum] page_size - # The maximum number of items to return. - # If not specified, a default value of 1000 will be used by the service. - # Regardless of the page_size value, the response may include a partial list - # and a caller should only rely on response's - # next_page_token - # to determine if there are more instances left to be queried. + # The maximum number of items to return. If not specified, a default value of + # 1000 will be used by the service. Regardless of the page_size value, the + # response may include a partial list and a caller should only rely on response' + # s next_page_token to determine if there are more instances left to be queried. # @param [String] page_token - # The next_page_token value returned from a previous List request, - # if any. + # The next_page_token value returned from a previous List request, if any. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -315,16 +309,14 @@ module Google # Updates an existing Instance in a given project and location. # @param [String] name # Required. Unique name of the resource in this scope including project and - # location using the form: - # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # Note: Memcached instances are managed and addressed at regional level so - # location_id here refers to a GCP region; however, users may choose which - # zones Memcached nodes within an instances should be provisioned in. - # Refer to [zones] field for more details. + # location using the form: `projects/`project_id`/locations/`location_id`/ + # instances/`instance_id`` Note: Memcached instances are managed and addressed + # at regional level so location_id here refers to a GCP region; however, users + # may choose which zones Memcached nodes within an instances should be + # provisioned in. Refer to [zones] field for more details. # @param [Google::Apis::MemcacheV1::Instance] instance_object # @param [String] update_mask - # Required. Mask of fields to update. - # * `displayName` + # Required. Mask of fields to update. * `displayName` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -355,13 +347,12 @@ module Google execute_or_queue_command(command, &block) end - # Updates the defined Memcached Parameters for an existing Instance. - # This method only stages the parameters, it must be followed by - # ApplyParameters to apply the parameters to nodes of the Memcached Instance. + # Updates the defined Memcached Parameters for an existing Instance. This method + # only stages the parameters, it must be followed by ApplyParameters to apply + # the parameters to nodes of the Memcached Instance. # @param [String] name # Required. Resource name of the Memcached instance for which the parameters - # should be - # updated. + # should be updated. # @param [Google::Apis::MemcacheV1::UpdateParametersRequest] update_parameters_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -392,15 +383,13 @@ module Google execute_or_queue_command(command, &block) end - # Starts asynchronous cancellation on a long-running operation. The server - # makes a best effort to cancel the operation, but success is not - # guaranteed. If the server doesn't support this method, it returns - # `google.rpc.Code.UNIMPLEMENTED`. Clients can use - # Operations.GetOperation or - # other methods to check whether the cancellation succeeded or whether the - # operation completed despite cancellation. On successful cancellation, - # the operation is not deleted; instead, it becomes an operation with - # an Operation.error value with a google.rpc.Status.code of 1, + # Starts asynchronous cancellation on a long-running operation. The server makes + # a best effort to cancel the operation, but success is not guaranteed. If the + # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + # Clients can use Operations.GetOperation or other methods to check whether the + # cancellation succeeded or whether the operation completed despite cancellation. + # On successful cancellation, the operation is not deleted; instead, it becomes + # an operation with an Operation.error value with a google.rpc.Status.code of 1, # corresponding to `Code.CANCELLED`. # @param [String] name # The name of the operation resource to be cancelled. @@ -434,10 +423,10 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a long-running operation. This method indicates that the client is - # no longer interested in the operation result. It does not cancel the - # operation. If the server doesn't support this method, it returns - # `google.rpc.Code.UNIMPLEMENTED`. + # Deletes a long-running operation. This method indicates that the client is no + # longer interested in the operation result. It does not cancel the operation. + # If the server doesn't support this method, it returns `google.rpc.Code. + # UNIMPLEMENTED`. # @param [String] name # The name of the operation resource to be deleted. # @param [String] fields @@ -467,9 +456,8 @@ module Google execute_or_queue_command(command, &block) end - # Gets the latest state of a long-running operation. Clients can use this - # method to poll the operation result at intervals as recommended by the API - # service. + # Gets the latest state of a long-running operation. Clients can use this method + # to poll the operation result at intervals as recommended by the API service. # @param [String] name # The name of the operation resource. # @param [String] fields @@ -499,15 +487,14 @@ module Google execute_or_queue_command(command, &block) end - # Lists operations that match the specified filter in the request. If the - # server doesn't support this method, it returns `UNIMPLEMENTED`. - # NOTE: the `name` binding allows API services to override the binding - # to use different resource name schemes, such as `users/*/operations`. To - # override the binding, API services can add a binding such as - # `"/v1/`name=users/*`/operations"` to their service configuration. - # For backwards compatibility, the default name includes the operations - # collection id, however overriding users must ensure the name binding - # is the parent resource, without the operations collection id. + # Lists operations that match the specified filter in the request. If the server + # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` + # binding allows API services to override the binding to use different resource + # name schemes, such as `users/*/operations`. To override the binding, API + # services can add a binding such as `"/v1/`name=users/*`/operations"` to their + # service configuration. For backwards compatibility, the default name includes + # the operations collection id, however overriding users must ensure the name + # binding is the parent resource, without the operations collection id. # @param [String] name # The name of the operation's parent resource. # @param [String] filter diff --git a/generated/google/apis/memcache_v1beta2.rb b/generated/google/apis/memcache_v1beta2.rb index 3d878dc92..a93423384 100644 --- a/generated/google/apis/memcache_v1beta2.rb +++ b/generated/google/apis/memcache_v1beta2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/memorystore/ module MemcacheV1beta2 VERSION = 'V1beta2' - REVISION = '20200729' + REVISION = '20200817' # 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/memcache_v1beta2/classes.rb b/generated/google/apis/memcache_v1beta2/classes.rb index f6f07486a..5f1123dcd 100644 --- a/generated/google/apis/memcache_v1beta2/classes.rb +++ b/generated/google/apis/memcache_v1beta2/classes.rb @@ -26,9 +26,9 @@ module Google class ApplyParametersRequest include Google::Apis::Core::Hashable - # Whether to apply instance-level parameter group to all nodes. If set to - # true, will explicitly restrict users from specifying any nodes, and apply - # parameter group updates to all nodes within the instance. + # Whether to apply instance-level parameter group to all nodes. If set to true, + # will explicitly restrict users from specifying any nodes, and apply parameter + # group updates to all nodes within the instance. # Corresponds to the JSON property `applyAll` # @return [Boolean] attr_accessor :apply_all @@ -63,13 +63,11 @@ module Google end end - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. + # A generic empty message that you can re-use to avoid defining duplicated empty + # messages in your APIs. A typical example is to use it as the request or the + # response type of an API method. For instance: service Foo ` rpc Bar(google. + # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for + # `Empty` is empty JSON object ````. class Empty include Google::Apis::Core::Hashable @@ -86,9 +84,9 @@ module Google class GoogleCloudMemcacheV1beta2LocationMetadata include Google::Apis::Core::Hashable - # Output only. The set of available zones in the location. The map is keyed - # by the lowercase ID of each zone, as defined by GCE. These keys can be - # specified in the `zones` field when creating a Memcached instance. + # Output only. The set of available zones in the location. The map is keyed by + # the lowercase ID of each zone, as defined by GCE. These keys can be specified + # in the `zones` field when creating a Memcached instance. # Corresponds to the JSON property `availableZones` # @return [Hash] attr_accessor :available_zones @@ -112,10 +110,10 @@ module Google # @return [String] attr_accessor :api_version - # Output only. Identifies whether the user has requested cancellation - # of the operation. Operations that have successfully been cancelled - # have Operation.error value with a google.rpc.Status.code of 1, - # corresponding to `Code.CANCELLED`. + # Output only. Identifies whether the user has requested cancellation of the + # operation. Operations that have successfully been cancelled have Operation. + # error value with a google.rpc.Status.code of 1, corresponding to `Code. + # CANCELLED`. # Corresponds to the JSON property `cancelRequested` # @return [Boolean] attr_accessor :cancel_requested @@ -167,10 +165,9 @@ module Google include Google::Apis::Core::Hashable # consumer_defined_name is the name that is set by the consumer. On the other - # hand Name field represents system-assigned id of an instance so consumers - # are not necessarily aware of it. - # consumer_defined_name is used for notification/UI purposes for consumer to - # recognize their instances. + # hand Name field represents system-assigned id of an instance so consumers are + # not necessarily aware of it. consumer_defined_name is used for notification/UI + # purposes for consumer to recognize their instances. # Corresponds to the JSON property `consumerDefinedName` # @return [String] attr_accessor :consumer_defined_name @@ -180,18 +177,17 @@ module Google # @return [String] attr_accessor :create_time - # Optional. Resource labels to represent user provided metadata. Each label - # is a key-value pair, where both the key and the value are arbitrary strings + # Optional. Resource labels to represent user provided metadata. Each label is a + # key-value pair, where both the key and the value are arbitrary strings # provided by the user. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels - # The MaintenancePolicies that have been attached to the instance. - # The key must be of the type name of the oneof policy name defined in - # MaintenancePolicy, and the referenced policy must define the same policy - # type. For complete details of MaintenancePolicy, please refer to - # go/cloud-saas-mw-ug. + # The MaintenancePolicies that have been attached to the instance. The key must + # be of the type name of the oneof policy name defined in MaintenancePolicy, and + # the referenced policy must define the same policy type. For complete details + # of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. # Corresponds to the JSON property `maintenancePolicyNames` # @return [Hash] attr_accessor :maintenance_policy_names @@ -208,29 +204,28 @@ module Google # @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings] attr_accessor :maintenance_settings - # Unique name of the resource. It uses the form: - # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` + # Unique name of the resource. It uses the form: `projects/`project_id`/ + # locations/`location_id`/instances/`instance_id`` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Output only. Custom string attributes used primarily to expose - # producer-specific information in monitoring dashboards. - # See go/get-instance-metadata. + # Output only. Custom string attributes used primarily to expose producer- + # specific information in monitoring dashboards. See go/get-instance-metadata. # Corresponds to the JSON property `producerMetadata` # @return [Hash] attr_accessor :producer_metadata - # Output only. The list of data plane resources provisioned for this - # instance, e.g. compute VMs. See go/get-instance-metadata. + # Output only. The list of data plane resources provisioned for this instance, e. + # g. compute VMs. See go/get-instance-metadata. # Corresponds to the JSON property `provisionedResources` # @return [Array] attr_accessor :provisioned_resources - # Link to the SLM instance template. Only populated when updating SLM - # instances via SSA's Actuation service adaptor. - # Service producers with custom control plane (e.g. Cloud SQL) doesn't - # need to populate this field. Instead they should use software_versions. + # Link to the SLM instance template. Only populated when updating SLM instances + # via SSA's Actuation service adaptor. Service producers with custom control + # plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they + # should use software_versions. # Corresponds to the JSON property `slmInstanceTemplate` # @return [String] attr_accessor :slm_instance_template @@ -241,8 +236,8 @@ module Google # @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata] attr_accessor :slo_metadata - # Software versions that are used to deploy this instance. This can be - # mutated by rollout services. + # Software versions that are used to deploy this instance. This can be mutated + # by rollout services. # Corresponds to the JSON property `softwareVersions` # @return [Hash] attr_accessor :software_versions @@ -253,8 +248,8 @@ module Google # @return [String] attr_accessor :state - # Output only. ID of the associated GCP tenant project. - # See go/get-instance-metadata. + # Output only. ID of the associated GCP tenant project. See go/get-instance- + # metadata. # Corresponds to the JSON property `tenantProjectId` # @return [String] attr_accessor :tenant_project_id @@ -293,9 +288,9 @@ module Google class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule include Google::Apis::Core::Hashable - # Can this scheduled update be rescheduled? - # By default, it's true and API needs to do explicitly check whether it's - # set, if it's set as false explicitly, it's false + # Can this scheduled update be rescheduled? By default, it's true and API needs + # to do explicitly check whether it's set, if it's set as false explicitly, it's + # false # Corresponds to the JSON property `canReschedule` # @return [Boolean] attr_accessor :can_reschedule @@ -306,9 +301,9 @@ module Google # @return [String] attr_accessor :end_time - # The rollout management policy this maintenance schedule is associated - # with. When doing reschedule update request, the reschedule should be - # against this given policy. + # The rollout management policy this maintenance schedule is associated with. + # When doing reschedule update request, the reschedule should be against this + # given policy. # Corresponds to the JSON property `rolloutManagementPolicy` # @return [String] attr_accessor :rollout_management_policy @@ -337,8 +332,7 @@ module Google include Google::Apis::Core::Hashable # Optional. Exclude instance from maintenance. When true, rollout service will - # not - # attempt maintenance on the instance. Rollout service will include the + # not attempt maintenance on the instance. Rollout service will include the # instance in reported rollout progress as not attempted. # Corresponds to the JSON property `exclude` # @return [Boolean] @@ -355,18 +349,17 @@ module Google end end - # Node information for custom per-node SLO implementations. - # SSA does not support per-node SLO, but producers can populate per-node - # information in SloMetadata for custom precomputations. - # SSA Eligibility Exporter will emit per-node metric based on this information. + # Node information for custom per-node SLO implementations. SSA does not support + # per-node SLO, but producers can populate per-node information in SloMetadata + # for custom precomputations. SSA Eligibility Exporter will emit per-node metric + # based on this information. class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata include Google::Apis::Core::Hashable - # By default node is eligible if instance is eligible. - # But individual node might be excluded from SLO by adding entry here. - # For semantic see SloMetadata.exclusions. - # If both instance and node level exclusions are present for time period, - # the node level's reason will be reported by Eligibility Exporter. + # By default node is eligible if instance is eligible. But individual node might + # be excluded from SLO by adding entry here. For semantic see SloMetadata. + # exclusions. If both instance and node level exclusions are present for time + # period, the node level's reason will be reported by Eligibility Exporter. # Corresponds to the JSON property `exclusions` # @return [Array] attr_accessor :exclusions @@ -376,8 +369,7 @@ module Google # @return [String] attr_accessor :location - # The id of the node. - # This should be equal to SaasInstanceNode.node_id. + # The id of the node. This should be equal to SaasInstanceNode.node_id. # Corresponds to the JSON property `nodeId` # @return [String] attr_accessor :node_id @@ -398,18 +390,17 @@ module Google class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource include Google::Apis::Core::Hashable - # Type of the resource. This can be either a GCP resource or a custom one - # (e.g. another cloud provider's VM). For GCP compute resources use singular - # form of the names listed in GCP compute API documentation - # (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with - # 'compute-', for example: 'compute-instance', 'compute-disk', - # 'compute-autoscaler'. + # Type of the resource. This can be either a GCP resource or a custom one (e.g. + # another cloud provider's VM). For GCP compute resources use singular form of + # the names listed in GCP compute API documentation (https://cloud.google.com/ + # compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: ' + # compute-instance', 'compute-disk', 'compute-autoscaler'. # Corresponds to the JSON property `resourceType` # @return [String] attr_accessor :resource_type - # URL identifying the resource, e.g. - # "https://www.googleapis.com/compute/v1/projects/...)". + # URL identifying the resource, e.g. "https://www.googleapis.com/compute/v1/ + # projects/...)". # Corresponds to the JSON property `resourceUrl` # @return [String] attr_accessor :resource_url @@ -425,9 +416,9 @@ module Google end end - # SloEligibility is a tuple containing eligibility value: true if an instance - # is eligible for SLO calculation or false if it should be excluded from all - # SLO-related calculations along with a user-defined reason. + # SloEligibility is a tuple containing eligibility value: true if an instance is + # eligible for SLO calculation or false if it should be excluded from all SLO- + # related calculations along with a user-defined reason. class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility include Google::Apis::Core::Hashable @@ -438,8 +429,7 @@ module Google alias_method :eligible?, :eligible # User-defined reason for the current value of instance eligibility. Usually, - # this can be directly mapped to the internal state. An empty reason is - # allowed. + # this can be directly mapped to the internal state. An empty reason is allowed. # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -459,28 +449,27 @@ module Google class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion include Google::Apis::Core::Hashable - # Exclusion duration. No restrictions on the possible values. - # When an ongoing operation is taking longer than initially expected, - # an existing entry in the exclusion list can be updated by extending the - # duration. This is supported by the subsystem exporting eligibility data - # as long as such extension is committed at least 10 minutes before the - # original exclusion expiration - otherwise it is possible that there will - # be "gaps" in the exclusion application in the exported timeseries. + # Exclusion duration. No restrictions on the possible values. When an ongoing + # operation is taking longer than initially expected, an existing entry in the + # exclusion list can be updated by extending the duration. This is supported by + # the subsystem exporting eligibility data as long as such extension is + # committed at least 10 minutes before the original exclusion expiration - + # otherwise it is possible that there will be "gaps" in the exclusion + # application in the exported timeseries. # Corresponds to the JSON property `duration` # @return [String] attr_accessor :duration - # Human-readable reason for the exclusion. - # This should be a static string (e.g. "Disruptive update in progress") - # and should not contain dynamically generated data (e.g. instance name). - # Can be left empty. + # Human-readable reason for the exclusion. This should be a static string (e.g. " + # Disruptive update in progress") and should not contain dynamically generated + # data (e.g. instance name). Can be left empty. # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason - # Name of an SLI that this exclusion applies to. Can be left empty, - # signaling that the instance should be excluded from all SLIs defined - # in the service SLO configuration. + # Name of an SLI that this exclusion applies to. Can be left empty, signaling + # that the instance should be excluded from all SLIs defined in the service SLO + # configuration. # Corresponds to the JSON property `sliName` # @return [String] attr_accessor :sli_name @@ -508,40 +497,38 @@ module Google class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata include Google::Apis::Core::Hashable - # SloEligibility is a tuple containing eligibility value: true if an instance - # is eligible for SLO calculation or false if it should be excluded from all - # SLO-related calculations along with a user-defined reason. + # SloEligibility is a tuple containing eligibility value: true if an instance is + # eligible for SLO calculation or false if it should be excluded from all SLO- + # related calculations along with a user-defined reason. # Corresponds to the JSON property `eligibility` # @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility] attr_accessor :eligibility - # List of SLO exclusion windows. When multiple entries in the list match - # (matching the exclusion time-window against current time point) - # the exclusion reason used in the first matching entry will be published. - # It is not needed to include expired exclusion in this list, as only the - # currently applicable exclusions are taken into account by the eligibility - # exporting subsystem (the historical state of exclusions will be reflected - # in the historically produced timeseries regardless of the current state). - # This field can be used to mark the instance as temporary ineligible - # for the purpose of SLO calculation. For permanent instance SLO exclusion, - # use of custom instance eligibility is recommended. See 'eligibility' field - # below. + # List of SLO exclusion windows. When multiple entries in the list match ( + # matching the exclusion time-window against current time point) the exclusion + # reason used in the first matching entry will be published. It is not needed to + # include expired exclusion in this list, as only the currently applicable + # exclusions are taken into account by the eligibility exporting subsystem (the + # historical state of exclusions will be reflected in the historically produced + # timeseries regardless of the current state). This field can be used to mark + # the instance as temporary ineligible for the purpose of SLO calculation. For + # permanent instance SLO exclusion, use of custom instance eligibility is + # recommended. See 'eligibility' field below. # Corresponds to the JSON property `exclusions` # @return [Array] attr_accessor :exclusions - # Optional. List of nodes. - # Some producers need to use per-node metadata to calculate SLO. - # This field allows such producers to publish per-node SLO meta data, - # which will be consumed by SSA Eligibility Exporter and published in the + # Optional. List of nodes. Some producers need to use per-node metadata to + # calculate SLO. This field allows such producers to publish per-node SLO meta + # data, which will be consumed by SSA Eligibility Exporter and published in the # form of per node metric to Monarch. # Corresponds to the JSON property `nodes` # @return [Array] attr_accessor :nodes # Name of the SLO tier the Instance belongs to. This name will be expected to - # match the tiers specified in the service SLO configuration. - # Field is mandatory and must not be empty. + # match the tiers specified in the service SLO configuration. Field is mandatory + # and must not be empty. # Corresponds to the JSON property `tier` # @return [String] attr_accessor :tier @@ -563,10 +550,9 @@ module Google class Instance include Google::Apis::Core::Hashable - # The full name of the Google Compute Engine - # [network](https://cloud.google.com/vpc/docs/vpc) to which the - # instance is connected. If left unspecified, the `default` network - # will be used. + # The full name of the Google Compute Engine [network](https://cloud.google.com/ + # vpc/docs/vpc) to which the instance is connected. If left unspecified, the ` + # default` network will be used. # Corresponds to the JSON property `authorizedNetwork` # @return [String] attr_accessor :authorized_network @@ -581,8 +567,8 @@ module Google # @return [String] attr_accessor :discovery_endpoint - # User provided name for the instance only used for display - # purposes. Cannot be more than 80 characters. + # User provided name for the instance only used for display purposes. Cannot be + # more than 80 characters. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name @@ -592,43 +578,40 @@ module Google # @return [Array] attr_accessor :instance_messages - # Resource labels to represent user-provided metadata. - # Refer to cloud documentation on labels for more details. - # https://cloud.google.com/compute/docs/labeling-resources + # Resource labels to represent user-provided metadata. Refer to cloud + # documentation on labels for more details. https://cloud.google.com/compute/ + # docs/labeling-resources # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels # Output only. The full version of memcached server running on this instance. # System automatically determines the full memcached version for an instance - # based on the input MemcacheVersion. - # The full version format will be "memcached-1.5.16". + # based on the input MemcacheVersion. The full version format will be "memcached- + # 1.5.16". # Corresponds to the JSON property `memcacheFullVersion` # @return [String] attr_accessor :memcache_full_version - # Output only. List of Memcached nodes. - # Refer to [Node] message for more details. + # Output only. List of Memcached nodes. Refer to [Node] message for more details. # Corresponds to the JSON property `memcacheNodes` # @return [Array] attr_accessor :memcache_nodes - # The major version of Memcached software. - # If not provided, latest supported version will be used. Currently the - # latest supported major version is MEMCACHE_1_5. - # The minor version will be automatically determined by our system based on - # the latest supported minor version. + # The major version of Memcached software. If not provided, latest supported + # version will be used. Currently the latest supported major version is + # MEMCACHE_1_5. The minor version will be automatically determined by our system + # based on the latest supported minor version. # Corresponds to the JSON property `memcacheVersion` # @return [String] attr_accessor :memcache_version # Required. Unique name of the resource in this scope including project and - # location using the form: - # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # Note: Memcached instances are managed and addressed at regional level so - # location_id here refers to a GCP region; however, users may choose which - # zones Memcached nodes within an instances should be provisioned in. - # Refer to [zones] field for more details. + # location using the form: `projects/`project_id`/locations/`location_id`/ + # instances/`instance_id`` Note: Memcached instances are managed and addressed + # at regional level so location_id here refers to a GCP region; however, users + # may choose which zones Memcached nodes within an instances should be + # provisioned in. Refer to [zones] field for more details. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -643,8 +626,8 @@ module Google # @return [Fixnum] attr_accessor :node_count - # Optional: User defined parameters to apply to the memcached process - # on each node. + # Optional: User defined parameters to apply to the memcached process on each + # node. # Corresponds to the JSON property `parameters` # @return [Google::Apis::MemcacheV1beta2::MemcacheParameters] attr_accessor :parameters @@ -659,10 +642,9 @@ module Google # @return [String] attr_accessor :update_time - # Zones where Memcached nodes should be provisioned in. - # Memcached nodes will be equally distributed across these zones. If not - # provided, the service will by default create nodes in all zones in the - # region for the instance. + # Zones where Memcached nodes should be provisioned in. Memcached nodes will be + # equally distributed across these zones. If not provided, the service will by + # default create nodes in all zones in the region for the instance. # Corresponds to the JSON property `zones` # @return [Array] attr_accessor :zones @@ -727,10 +709,10 @@ module Google # @return [String] attr_accessor :next_page_token - # A list of Memcached instances in the project in the specified location, - # or across all locations. - # If the `location_id` in the parent field of the request is "-", all regions - # available to the project are queried, and the results aggregated. + # A list of Memcached instances in the project in the specified location, or + # across all locations. If the `location_id` in the parent field of the request + # is "-", all regions available to the project are queried, and the results + # aggregated. # Corresponds to the JSON property `resources` # @return [Array] attr_accessor :resources @@ -806,14 +788,14 @@ module Google class Location include Google::Apis::Core::Hashable - # The friendly name for this location, typically a nearby city name. - # For example, "Tokyo". + # The friendly name for this location, typically a nearby city name. For example, + # "Tokyo". # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # Cross-service attributes for the location. For example - # `"cloud.googleapis.com/region": "us-east1"` + # Cross-service attributes for the location. For example `"cloud.googleapis.com/ + # region": "us-east1"` # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -829,8 +811,8 @@ module Google # @return [Hash] attr_accessor :metadata - # Resource name for the location, which may vary between implementations. - # For example: `"projects/example-project/locations/us-east1"` + # Resource name for the location, which may vary between implementations. For + # example: `"projects/example-project/locations/us-east1"` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -853,10 +835,10 @@ module Google class MemcacheParameters include Google::Apis::Core::Hashable - # Output only. The unique ID associated with this set of parameters. Users - # can use this id to determine if the parameters associated with the instance - # differ from the parameters associated with the nodes and any action needs - # to be taken to apply parameters on nodes. + # Output only. The unique ID associated with this set of parameters. Users can + # use this id to determine if the parameters associated with the instance differ + # from the parameters associated with the nodes and any action needs to be taken + # to apply parameters on nodes. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -881,14 +863,14 @@ module Google class Node include Google::Apis::Core::Hashable - # Output only. Hostname or IP address of the Memcached node used by the - # clients to connect to the Memcached server on this node. + # Output only. Hostname or IP address of the Memcached node used by the clients + # to connect to the Memcached server on this node. # Corresponds to the JSON property `host` # @return [String] attr_accessor :host - # Output only. Identifier of the Memcached node. The node id does not - # include project or location like the Memcached instance name. + # Output only. Identifier of the Memcached node. The node id does not include + # project or location like the Memcached instance name. # Corresponds to the JSON property `nodeId` # @return [String] attr_accessor :node_id @@ -958,47 +940,45 @@ module Google class Operation include Google::Apis::Core::Hashable - # If the value is `false`, it means the operation is still in progress. - # If `true`, the operation is completed, and either `error` or `response` is - # available. + # If the value is `false`, it means the operation is still in progress. If `true` + # , the operation is completed, and either `error` or `response` is available. # Corresponds to the JSON property `done` # @return [Boolean] attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). # Corresponds to the JSON property `error` # @return [Google::Apis::MemcacheV1beta2::Status] attr_accessor :error - # Service-specific metadata associated with the operation. It typically - # contains progress information and common metadata such as create time. - # Some services might not provide such metadata. Any method that returns a - # long-running operation should document the metadata type, if any. + # Service-specific metadata associated with the operation. It typically contains + # progress information and common metadata such as create time. Some services + # might not provide such metadata. Any method that returns a long-running + # operation should document the metadata type, if any. # Corresponds to the JSON property `metadata` # @return [Hash] attr_accessor :metadata # The server-assigned name, which is only unique within the same service that - # originally returns it. If you use the default HTTP mapping, the - # `name` should be a resource name ending with `operations/`unique_id``. + # originally returns it. If you use the default HTTP mapping, the `name` should + # be a resource name ending with `operations/`unique_id``. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The normal response of the operation in case of success. If the original - # method returns no data on success, such as `Delete`, the response is - # `google.protobuf.Empty`. If the original method is standard - # `Get`/`Create`/`Update`, the response should be the resource. For other - # methods, the response should have the type `XxxResponse`, where `Xxx` - # is the original method name. For example, if the original method name - # is `TakeSnapshot()`, the inferred response type is - # `TakeSnapshotResponse`. + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is `google. + # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, + # the response should be the resource. For other methods, the response should + # have the type `XxxResponse`, where `Xxx` is the original method name. For + # example, if the original method name is `TakeSnapshot()`, the inferred + # response type is `TakeSnapshotResponse`. # Corresponds to the JSON property `response` # @return [Hash] attr_accessor :response @@ -1026,10 +1006,10 @@ module Google # @return [String] attr_accessor :api_version - # Output only. Identifies whether the user has requested cancellation - # of the operation. Operations that have successfully been cancelled - # have Operation.error value with a google.rpc.Status.code of 1, - # corresponding to `Code.CANCELLED`. + # Output only. Identifies whether the user has requested cancellation of the + # operation. Operations that have successfully been cancelled have Operation. + # error value with a google.rpc.Status.code of 1, corresponding to `Code. + # CANCELLED`. # Corresponds to the JSON property `cancelRequested` # @return [Boolean] attr_accessor :cancel_requested @@ -1076,12 +1056,12 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). class Status include Google::Apis::Core::Hashable @@ -1090,15 +1070,15 @@ module Google # @return [Fixnum] attr_accessor :code - # A list of messages that carry the error details. There is a common set of + # A list of messages that carry the error details. There is a common set of # message types for APIs to use. # Corresponds to the JSON property `details` # @return [Array>] attr_accessor :details - # A developer-facing error message, which should be in English. Any - # user-facing error message should be localized and sent in the - # google.rpc.Status.details field, or localized by the client. + # A developer-facing error message, which should be in English. Any user-facing + # error message should be localized and sent in the google.rpc.Status.details + # field, or localized by the client. # Corresponds to the JSON property `message` # @return [String] attr_accessor :message diff --git a/generated/google/apis/memcache_v1beta2/service.rb b/generated/google/apis/memcache_v1beta2/service.rb index 9dffb6ed9..25fcd595e 100644 --- a/generated/google/apis/memcache_v1beta2/service.rb +++ b/generated/google/apis/memcache_v1beta2/service.rb @@ -117,12 +117,11 @@ module Google execute_or_queue_command(command, &block) end - # ApplyParameters will update current set of Parameters to the set of - # specified nodes of the Memcached Instance. + # ApplyParameters will update current set of Parameters to the set of specified + # nodes of the Memcached Instance. # @param [String] name # Required. Resource name of the Memcached instance for which parameter group - # updates - # should be applied. + # updates should be applied. # @param [Google::Apis::MemcacheV1beta2::ApplyParametersRequest] apply_parameters_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -155,18 +154,16 @@ module Google # Creates a new Instance in a given project and location. # @param [String] parent - # Required. The resource name of the instance location using the form: - # `projects/`project_id`/locations/`location_id`` - # where `location_id` refers to a GCP region + # Required. The resource name of the instance location using the form: `projects/ + # `project_id`/locations/`location_id`` where `location_id` refers to a GCP + # region # @param [Google::Apis::MemcacheV1beta2::Instance] instance_object # @param [String] instance_id - # Required. The logical name of the Memcached instance in the user - # project with the following restrictions: - # * Must contain only lowercase letters, numbers, and hyphens. - # * Must start with a letter. - # * Must be between 1-40 characters. - # * Must end with a number or a letter. - # * Must be unique within the user project / location + # Required. The logical name of the Memcached instance in the user project with + # the following restrictions: * Must contain only lowercase letters, numbers, + # and hyphens. * Must start with a letter. * Must be between 1-40 characters. * + # Must end with a number or a letter. * Must be unique within the user project / + # location # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -199,9 +196,9 @@ module Google # Deletes a single Instance. # @param [String] name - # Required. Memcached instance resource name in the format: - # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # where `location_id` refers to a GCP region + # Required. Memcached instance resource name in the format: `projects/` + # project_id`/locations/`location_id`/instances/`instance_id`` where ` + # location_id` refers to a GCP region # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -231,9 +228,9 @@ module Google # Gets details of a single Instance. # @param [String] name - # Required. Memcached instance resource name in the format: - # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # where `location_id` refers to a GCP region + # Required. Memcached instance resource name in the format: `projects/` + # project_id`/locations/`location_id`/instances/`instance_id`` where ` + # location_id` refers to a GCP region # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -263,24 +260,21 @@ module Google # Lists Instances in a given project and location. # @param [String] parent - # Required. The resource name of the instance location using the form: - # `projects/`project_id`/locations/`location_id`` - # where `location_id` refers to a GCP region + # Required. The resource name of the instance location using the form: `projects/ + # `project_id`/locations/`location_id`` where `location_id` refers to a GCP + # region # @param [String] filter - # List filter. For example, exclude all Memcached instances with name as - # my-instance by specifying "name != my-instance". + # List filter. For example, exclude all Memcached instances with name as my- + # instance by specifying "name != my-instance". # @param [String] order_by # Sort results. Supported values are "name", "name desc" or "" (unsorted). # @param [Fixnum] page_size - # The maximum number of items to return. - # If not specified, a default value of 1000 will be used by the service. - # Regardless of the page_size value, the response may include a partial list - # and a caller should only rely on response's - # next_page_token - # to determine if there are more instances left to be queried. + # The maximum number of items to return. If not specified, a default value of + # 1000 will be used by the service. Regardless of the page_size value, the + # response may include a partial list and a caller should only rely on response' + # s next_page_token to determine if there are more instances left to be queried. # @param [String] page_token - # The next_page_token value returned from a previous List request, - # if any. + # The next_page_token value returned from a previous List request, if any. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -315,16 +309,14 @@ module Google # Updates an existing Instance in a given project and location. # @param [String] name # Required. Unique name of the resource in this scope including project and - # location using the form: - # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # Note: Memcached instances are managed and addressed at regional level so - # location_id here refers to a GCP region; however, users may choose which - # zones Memcached nodes within an instances should be provisioned in. - # Refer to [zones] field for more details. + # location using the form: `projects/`project_id`/locations/`location_id`/ + # instances/`instance_id`` Note: Memcached instances are managed and addressed + # at regional level so location_id here refers to a GCP region; however, users + # may choose which zones Memcached nodes within an instances should be + # provisioned in. Refer to [zones] field for more details. # @param [Google::Apis::MemcacheV1beta2::Instance] instance_object # @param [String] update_mask - # Required. Mask of fields to update. - # * `displayName` + # Required. Mask of fields to update. * `displayName` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -355,13 +347,12 @@ module Google execute_or_queue_command(command, &block) end - # Updates the defined Memcached Parameters for an existing Instance. - # This method only stages the parameters, it must be followed by - # ApplyParameters to apply the parameters to nodes of the Memcached Instance. + # Updates the defined Memcached Parameters for an existing Instance. This method + # only stages the parameters, it must be followed by ApplyParameters to apply + # the parameters to nodes of the Memcached Instance. # @param [String] name # Required. Resource name of the Memcached instance for which the parameters - # should be - # updated. + # should be updated. # @param [Google::Apis::MemcacheV1beta2::UpdateParametersRequest] update_parameters_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -392,15 +383,13 @@ module Google execute_or_queue_command(command, &block) end - # Starts asynchronous cancellation on a long-running operation. The server - # makes a best effort to cancel the operation, but success is not - # guaranteed. If the server doesn't support this method, it returns - # `google.rpc.Code.UNIMPLEMENTED`. Clients can use - # Operations.GetOperation or - # other methods to check whether the cancellation succeeded or whether the - # operation completed despite cancellation. On successful cancellation, - # the operation is not deleted; instead, it becomes an operation with - # an Operation.error value with a google.rpc.Status.code of 1, + # Starts asynchronous cancellation on a long-running operation. The server makes + # a best effort to cancel the operation, but success is not guaranteed. If the + # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + # Clients can use Operations.GetOperation or other methods to check whether the + # cancellation succeeded or whether the operation completed despite cancellation. + # On successful cancellation, the operation is not deleted; instead, it becomes + # an operation with an Operation.error value with a google.rpc.Status.code of 1, # corresponding to `Code.CANCELLED`. # @param [String] name # The name of the operation resource to be cancelled. @@ -434,10 +423,10 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a long-running operation. This method indicates that the client is - # no longer interested in the operation result. It does not cancel the - # operation. If the server doesn't support this method, it returns - # `google.rpc.Code.UNIMPLEMENTED`. + # Deletes a long-running operation. This method indicates that the client is no + # longer interested in the operation result. It does not cancel the operation. + # If the server doesn't support this method, it returns `google.rpc.Code. + # UNIMPLEMENTED`. # @param [String] name # The name of the operation resource to be deleted. # @param [String] fields @@ -467,9 +456,8 @@ module Google execute_or_queue_command(command, &block) end - # Gets the latest state of a long-running operation. Clients can use this - # method to poll the operation result at intervals as recommended by the API - # service. + # Gets the latest state of a long-running operation. Clients can use this method + # to poll the operation result at intervals as recommended by the API service. # @param [String] name # The name of the operation resource. # @param [String] fields @@ -499,15 +487,14 @@ module Google execute_or_queue_command(command, &block) end - # Lists operations that match the specified filter in the request. If the - # server doesn't support this method, it returns `UNIMPLEMENTED`. - # NOTE: the `name` binding allows API services to override the binding - # to use different resource name schemes, such as `users/*/operations`. To - # override the binding, API services can add a binding such as - # `"/v1/`name=users/*`/operations"` to their service configuration. - # For backwards compatibility, the default name includes the operations - # collection id, however overriding users must ensure the name binding - # is the parent resource, without the operations collection id. + # Lists operations that match the specified filter in the request. If the server + # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` + # binding allows API services to override the binding to use different resource + # name schemes, such as `users/*/operations`. To override the binding, API + # services can add a binding such as `"/v1/`name=users/*`/operations"` to their + # service configuration. For backwards compatibility, the default name includes + # the operations collection id, however overriding users must ensure the name + # binding is the parent resource, without the operations collection id. # @param [String] name # The name of the operation's parent resource. # @param [String] filter