Autogenerated update (2018-03-24)

Update:
- container_v1
- datastore_v1
- datastore_v1beta1
- datastore_v1beta3
- firestore_v1beta1
- gmail_v1
This commit is contained in:
Google APIs 2018-03-24 00:35:25 +00:00
parent 4a402cf1bf
commit a7b3825916
19 changed files with 3797 additions and 117 deletions

View File

@ -30046,6 +30046,10 @@
"/container:v1/AutoUpgradeOptions/autoUpgradeStartTime": auto_upgrade_start_time
"/container:v1/AutoUpgradeOptions/description": description
"/container:v1/CancelOperationRequest": cancel_operation_request
"/container:v1/CancelOperationRequest/name": name
"/container:v1/CancelOperationRequest/operationId": operation_id
"/container:v1/CancelOperationRequest/projectId": project_id
"/container:v1/CancelOperationRequest/zone": zone
"/container:v1/CidrBlock": cidr_block
"/container:v1/CidrBlock/cidrBlock": cidr_block
"/container:v1/CidrBlock/displayName": display_name
@ -30069,6 +30073,7 @@
"/container:v1/Cluster/ipAllocationPolicy": ip_allocation_policy
"/container:v1/Cluster/labelFingerprint": label_fingerprint
"/container:v1/Cluster/legacyAbac": legacy_abac
"/container:v1/Cluster/location": location
"/container:v1/Cluster/locations": locations
"/container:v1/Cluster/locations/location": location
"/container:v1/Cluster/loggingService": logging_service
@ -30103,10 +30108,21 @@
"/container:v1/ClusterUpdate/desiredNodePoolId": desired_node_pool_id
"/container:v1/ClusterUpdate/desiredNodeVersion": desired_node_version
"/container:v1/CompleteIPRotationRequest": complete_ip_rotation_request
"/container:v1/CompleteIPRotationRequest/clusterId": cluster_id
"/container:v1/CompleteIPRotationRequest/name": name
"/container:v1/CompleteIPRotationRequest/projectId": project_id
"/container:v1/CompleteIPRotationRequest/zone": zone
"/container:v1/CreateClusterRequest": create_cluster_request
"/container:v1/CreateClusterRequest/cluster": cluster
"/container:v1/CreateClusterRequest/parent": parent
"/container:v1/CreateClusterRequest/projectId": project_id
"/container:v1/CreateClusterRequest/zone": zone
"/container:v1/CreateNodePoolRequest": create_node_pool_request
"/container:v1/CreateNodePoolRequest/clusterId": cluster_id
"/container:v1/CreateNodePoolRequest/nodePool": node_pool
"/container:v1/CreateNodePoolRequest/parent": parent
"/container:v1/CreateNodePoolRequest/projectId": project_id
"/container:v1/CreateNodePoolRequest/zone": zone
"/container:v1/DailyMaintenanceWindow": daily_maintenance_window
"/container:v1/DailyMaintenanceWindow/duration": duration
"/container:v1/DailyMaintenanceWindow/startTime": start_time
@ -30205,6 +30221,7 @@
"/container:v1/Operation": operation
"/container:v1/Operation/detail": detail
"/container:v1/Operation/endTime": end_time
"/container:v1/Operation/location": location
"/container:v1/Operation/name": name
"/container:v1/Operation/operationType": operation_type
"/container:v1/Operation/selfLink": self_link
@ -30214,6 +30231,11 @@
"/container:v1/Operation/targetLink": target_link
"/container:v1/Operation/zone": zone
"/container:v1/RollbackNodePoolUpgradeRequest": rollback_node_pool_upgrade_request
"/container:v1/RollbackNodePoolUpgradeRequest/clusterId": cluster_id
"/container:v1/RollbackNodePoolUpgradeRequest/name": name
"/container:v1/RollbackNodePoolUpgradeRequest/nodePoolId": node_pool_id
"/container:v1/RollbackNodePoolUpgradeRequest/projectId": project_id
"/container:v1/RollbackNodePoolUpgradeRequest/zone": zone
"/container:v1/ServerConfig": server_config
"/container:v1/ServerConfig/defaultClusterVersion": default_cluster_version
"/container:v1/ServerConfig/defaultImageType": default_image_type
@ -30225,41 +30247,195 @@
"/container:v1/ServerConfig/validNodeVersions/valid_node_version": valid_node_version
"/container:v1/SetAddonsConfigRequest": set_addons_config_request
"/container:v1/SetAddonsConfigRequest/addonsConfig": addons_config
"/container:v1/SetAddonsConfigRequest/clusterId": cluster_id
"/container:v1/SetAddonsConfigRequest/name": name
"/container:v1/SetAddonsConfigRequest/projectId": project_id
"/container:v1/SetAddonsConfigRequest/zone": zone
"/container:v1/SetLabelsRequest": set_labels_request
"/container:v1/SetLabelsRequest/clusterId": cluster_id
"/container:v1/SetLabelsRequest/labelFingerprint": label_fingerprint
"/container:v1/SetLabelsRequest/name": name
"/container:v1/SetLabelsRequest/projectId": project_id
"/container:v1/SetLabelsRequest/resourceLabels": resource_labels
"/container:v1/SetLabelsRequest/resourceLabels/resource_label": resource_label
"/container:v1/SetLabelsRequest/zone": zone
"/container:v1/SetLegacyAbacRequest": set_legacy_abac_request
"/container:v1/SetLegacyAbacRequest/clusterId": cluster_id
"/container:v1/SetLegacyAbacRequest/enabled": enabled
"/container:v1/SetLegacyAbacRequest/name": name
"/container:v1/SetLegacyAbacRequest/projectId": project_id
"/container:v1/SetLegacyAbacRequest/zone": zone
"/container:v1/SetLocationsRequest": set_locations_request
"/container:v1/SetLocationsRequest/clusterId": cluster_id
"/container:v1/SetLocationsRequest/locations": locations
"/container:v1/SetLocationsRequest/locations/location": location
"/container:v1/SetLocationsRequest/name": name
"/container:v1/SetLocationsRequest/projectId": project_id
"/container:v1/SetLocationsRequest/zone": zone
"/container:v1/SetLoggingServiceRequest": set_logging_service_request
"/container:v1/SetLoggingServiceRequest/clusterId": cluster_id
"/container:v1/SetLoggingServiceRequest/loggingService": logging_service
"/container:v1/SetLoggingServiceRequest/name": name
"/container:v1/SetLoggingServiceRequest/projectId": project_id
"/container:v1/SetLoggingServiceRequest/zone": zone
"/container:v1/SetMaintenancePolicyRequest": set_maintenance_policy_request
"/container:v1/SetMaintenancePolicyRequest/clusterId": cluster_id
"/container:v1/SetMaintenancePolicyRequest/maintenancePolicy": maintenance_policy
"/container:v1/SetMaintenancePolicyRequest/name": name
"/container:v1/SetMaintenancePolicyRequest/projectId": project_id
"/container:v1/SetMaintenancePolicyRequest/zone": zone
"/container:v1/SetMasterAuthRequest": set_master_auth_request
"/container:v1/SetMasterAuthRequest/action": action
"/container:v1/SetMasterAuthRequest/clusterId": cluster_id
"/container:v1/SetMasterAuthRequest/name": name
"/container:v1/SetMasterAuthRequest/projectId": project_id
"/container:v1/SetMasterAuthRequest/update": update
"/container:v1/SetMasterAuthRequest/zone": zone
"/container:v1/SetMonitoringServiceRequest": set_monitoring_service_request
"/container:v1/SetMonitoringServiceRequest/clusterId": cluster_id
"/container:v1/SetMonitoringServiceRequest/monitoringService": monitoring_service
"/container:v1/SetMonitoringServiceRequest/name": name
"/container:v1/SetMonitoringServiceRequest/projectId": project_id
"/container:v1/SetMonitoringServiceRequest/zone": zone
"/container:v1/SetNetworkPolicyRequest": set_network_policy_request
"/container:v1/SetNetworkPolicyRequest/clusterId": cluster_id
"/container:v1/SetNetworkPolicyRequest/name": name
"/container:v1/SetNetworkPolicyRequest/networkPolicy": network_policy
"/container:v1/SetNetworkPolicyRequest/projectId": project_id
"/container:v1/SetNetworkPolicyRequest/zone": zone
"/container:v1/SetNodePoolAutoscalingRequest": set_node_pool_autoscaling_request
"/container:v1/SetNodePoolAutoscalingRequest/autoscaling": autoscaling
"/container:v1/SetNodePoolAutoscalingRequest/clusterId": cluster_id
"/container:v1/SetNodePoolAutoscalingRequest/name": name
"/container:v1/SetNodePoolAutoscalingRequest/nodePoolId": node_pool_id
"/container:v1/SetNodePoolAutoscalingRequest/projectId": project_id
"/container:v1/SetNodePoolAutoscalingRequest/zone": zone
"/container:v1/SetNodePoolManagementRequest": set_node_pool_management_request
"/container:v1/SetNodePoolManagementRequest/clusterId": cluster_id
"/container:v1/SetNodePoolManagementRequest/management": management
"/container:v1/SetNodePoolManagementRequest/name": name
"/container:v1/SetNodePoolManagementRequest/nodePoolId": node_pool_id
"/container:v1/SetNodePoolManagementRequest/projectId": project_id
"/container:v1/SetNodePoolManagementRequest/zone": zone
"/container:v1/SetNodePoolSizeRequest": set_node_pool_size_request
"/container:v1/SetNodePoolSizeRequest/clusterId": cluster_id
"/container:v1/SetNodePoolSizeRequest/name": name
"/container:v1/SetNodePoolSizeRequest/nodeCount": node_count
"/container:v1/SetNodePoolSizeRequest/nodePoolId": node_pool_id
"/container:v1/SetNodePoolSizeRequest/projectId": project_id
"/container:v1/SetNodePoolSizeRequest/zone": zone
"/container:v1/StartIPRotationRequest": start_ip_rotation_request
"/container:v1/StartIPRotationRequest/clusterId": cluster_id
"/container:v1/StartIPRotationRequest/name": name
"/container:v1/StartIPRotationRequest/projectId": project_id
"/container:v1/StartIPRotationRequest/zone": zone
"/container:v1/UpdateClusterRequest": update_cluster_request
"/container:v1/UpdateClusterRequest/clusterId": cluster_id
"/container:v1/UpdateClusterRequest/name": name
"/container:v1/UpdateClusterRequest/projectId": project_id
"/container:v1/UpdateClusterRequest/update": update
"/container:v1/UpdateClusterRequest/zone": zone
"/container:v1/UpdateMasterRequest": update_master_request
"/container:v1/UpdateMasterRequest/clusterId": cluster_id
"/container:v1/UpdateMasterRequest/masterVersion": master_version
"/container:v1/UpdateMasterRequest/name": name
"/container:v1/UpdateMasterRequest/projectId": project_id
"/container:v1/UpdateMasterRequest/zone": zone
"/container:v1/UpdateNodePoolRequest": update_node_pool_request
"/container:v1/UpdateNodePoolRequest/clusterId": cluster_id
"/container:v1/UpdateNodePoolRequest/imageType": image_type
"/container:v1/UpdateNodePoolRequest/name": name
"/container:v1/UpdateNodePoolRequest/nodePoolId": node_pool_id
"/container:v1/UpdateNodePoolRequest/nodeVersion": node_version
"/container:v1/UpdateNodePoolRequest/projectId": project_id
"/container:v1/UpdateNodePoolRequest/zone": zone
"/container:v1/container.projects.clusters.list": list_clusters
"/container:v1/container.projects.locations.clusters.completeIpRotation": complete_project_location_cluster_ip_rotation
"/container:v1/container.projects.locations.clusters.completeIpRotation/name": name
"/container:v1/container.projects.locations.clusters.create": create_project_location_cluster
"/container:v1/container.projects.locations.clusters.create/parent": parent
"/container:v1/container.projects.locations.clusters.delete": delete_project_location_cluster
"/container:v1/container.projects.locations.clusters.delete/clusterId": cluster_id
"/container:v1/container.projects.locations.clusters.delete/name": name
"/container:v1/container.projects.locations.clusters.delete/projectId": project_id
"/container:v1/container.projects.locations.clusters.delete/zone": zone
"/container:v1/container.projects.locations.clusters.get": get_project_location_cluster
"/container:v1/container.projects.locations.clusters.get/clusterId": cluster_id
"/container:v1/container.projects.locations.clusters.get/name": name
"/container:v1/container.projects.locations.clusters.get/projectId": project_id
"/container:v1/container.projects.locations.clusters.get/zone": zone
"/container:v1/container.projects.locations.clusters.list": list_project_location_clusters
"/container:v1/container.projects.locations.clusters.list/parent": parent
"/container:v1/container.projects.locations.clusters.list/projectId": project_id
"/container:v1/container.projects.locations.clusters.list/zone": zone
"/container:v1/container.projects.locations.clusters.nodePools.create": create_project_location_cluster_node_pool
"/container:v1/container.projects.locations.clusters.nodePools.create/parent": parent
"/container:v1/container.projects.locations.clusters.nodePools.delete": delete_project_location_cluster_node_pool
"/container:v1/container.projects.locations.clusters.nodePools.delete/clusterId": cluster_id
"/container:v1/container.projects.locations.clusters.nodePools.delete/name": name
"/container:v1/container.projects.locations.clusters.nodePools.delete/nodePoolId": node_pool_id
"/container:v1/container.projects.locations.clusters.nodePools.delete/projectId": project_id
"/container:v1/container.projects.locations.clusters.nodePools.delete/zone": zone
"/container:v1/container.projects.locations.clusters.nodePools.get": get_project_location_cluster_node_pool
"/container:v1/container.projects.locations.clusters.nodePools.get/clusterId": cluster_id
"/container:v1/container.projects.locations.clusters.nodePools.get/name": name
"/container:v1/container.projects.locations.clusters.nodePools.get/nodePoolId": node_pool_id
"/container:v1/container.projects.locations.clusters.nodePools.get/projectId": project_id
"/container:v1/container.projects.locations.clusters.nodePools.get/zone": zone
"/container:v1/container.projects.locations.clusters.nodePools.list": list_project_location_cluster_node_pools
"/container:v1/container.projects.locations.clusters.nodePools.list/clusterId": cluster_id
"/container:v1/container.projects.locations.clusters.nodePools.list/parent": parent
"/container:v1/container.projects.locations.clusters.nodePools.list/projectId": project_id
"/container:v1/container.projects.locations.clusters.nodePools.list/zone": zone
"/container:v1/container.projects.locations.clusters.nodePools.rollback": rollback_project_location_cluster_node_pool
"/container:v1/container.projects.locations.clusters.nodePools.rollback/name": name
"/container:v1/container.projects.locations.clusters.nodePools.setAutoscaling": set_project_location_cluster_node_pool_autoscaling
"/container:v1/container.projects.locations.clusters.nodePools.setAutoscaling/name": name
"/container:v1/container.projects.locations.clusters.nodePools.setManagement": set_project_location_cluster_node_pool_management
"/container:v1/container.projects.locations.clusters.nodePools.setManagement/name": name
"/container:v1/container.projects.locations.clusters.nodePools.setSize": set_project_location_cluster_node_pool_size
"/container:v1/container.projects.locations.clusters.nodePools.setSize/name": name
"/container:v1/container.projects.locations.clusters.nodePools.update": update_project_location_cluster_node_pool
"/container:v1/container.projects.locations.clusters.nodePools.update/name": name
"/container:v1/container.projects.locations.clusters.setAddons": set_cluster_addons_config
"/container:v1/container.projects.locations.clusters.setAddons/name": name
"/container:v1/container.projects.locations.clusters.setLegacyAbac": set_cluster_legacy_abac
"/container:v1/container.projects.locations.clusters.setLegacyAbac/name": name
"/container:v1/container.projects.locations.clusters.setLocations": set_cluster_locations
"/container:v1/container.projects.locations.clusters.setLocations/name": name
"/container:v1/container.projects.locations.clusters.setLogging": set_cluster_logging_service
"/container:v1/container.projects.locations.clusters.setLogging/name": name
"/container:v1/container.projects.locations.clusters.setMaintenancePolicy": set_project_location_cluster_maintenance_policy
"/container:v1/container.projects.locations.clusters.setMaintenancePolicy/name": name
"/container:v1/container.projects.locations.clusters.setMasterAuth": set_project_location_cluster_master_auth
"/container:v1/container.projects.locations.clusters.setMasterAuth/name": name
"/container:v1/container.projects.locations.clusters.setMonitoring": set_cluster_monitoring_service
"/container:v1/container.projects.locations.clusters.setMonitoring/name": name
"/container:v1/container.projects.locations.clusters.setNetworkPolicy": set_project_location_cluster_network_policy
"/container:v1/container.projects.locations.clusters.setNetworkPolicy/name": name
"/container:v1/container.projects.locations.clusters.setResourceLabels": set_project_location_cluster_resource_labels
"/container:v1/container.projects.locations.clusters.setResourceLabels/name": name
"/container:v1/container.projects.locations.clusters.startIpRotation": start_project_location_cluster_ip_rotation
"/container:v1/container.projects.locations.clusters.startIpRotation/name": name
"/container:v1/container.projects.locations.clusters.update": update_project_location_cluster
"/container:v1/container.projects.locations.clusters.update/name": name
"/container:v1/container.projects.locations.clusters.updateMaster": update_cluster_master
"/container:v1/container.projects.locations.clusters.updateMaster/name": name
"/container:v1/container.projects.locations.getServerConfig": get_project_location_server_config
"/container:v1/container.projects.locations.getServerConfig/name": name
"/container:v1/container.projects.locations.getServerConfig/projectId": project_id
"/container:v1/container.projects.locations.getServerConfig/zone": zone
"/container:v1/container.projects.locations.operations.cancel": cancel_project_location_operation
"/container:v1/container.projects.locations.operations.cancel/name": name
"/container:v1/container.projects.locations.operations.get": get_project_location_operation
"/container:v1/container.projects.locations.operations.get/name": name
"/container:v1/container.projects.locations.operations.get/operationId": operation_id
"/container:v1/container.projects.locations.operations.get/projectId": project_id
"/container:v1/container.projects.locations.operations.get/zone": zone
"/container:v1/container.projects.locations.operations.list": list_project_location_operations
"/container:v1/container.projects.locations.operations.list/parent": parent
"/container:v1/container.projects.locations.operations.list/projectId": project_id
"/container:v1/container.projects.locations.operations.list/zone": zone
"/container:v1/container.projects.operations.list": list_operations
"/container:v1/container.projects.zones.clusters.addons": addons_project_zone_cluster
"/container:v1/container.projects.zones.clusters.addons/clusterId": cluster_id
@ -30274,10 +30450,12 @@
"/container:v1/container.projects.zones.clusters.create/zone": zone
"/container:v1/container.projects.zones.clusters.delete": delete_zone_cluster
"/container:v1/container.projects.zones.clusters.delete/clusterId": cluster_id
"/container:v1/container.projects.zones.clusters.delete/name": name
"/container:v1/container.projects.zones.clusters.delete/projectId": project_id
"/container:v1/container.projects.zones.clusters.delete/zone": zone
"/container:v1/container.projects.zones.clusters.get": get_zone_cluster
"/container:v1/container.projects.zones.clusters.get/clusterId": cluster_id
"/container:v1/container.projects.zones.clusters.get/name": name
"/container:v1/container.projects.zones.clusters.get/projectId": project_id
"/container:v1/container.projects.zones.clusters.get/zone": zone
"/container:v1/container.projects.zones.clusters.legacyAbac": legacy_project_zone_cluster_abac
@ -30285,6 +30463,7 @@
"/container:v1/container.projects.zones.clusters.legacyAbac/projectId": project_id
"/container:v1/container.projects.zones.clusters.legacyAbac/zone": zone
"/container:v1/container.projects.zones.clusters.list": list_zone_clusters
"/container:v1/container.projects.zones.clusters.list/parent": parent
"/container:v1/container.projects.zones.clusters.list/projectId": project_id
"/container:v1/container.projects.zones.clusters.list/zone": zone
"/container:v1/container.projects.zones.clusters.locations": locations_project_zone_cluster
@ -30314,16 +30493,19 @@
"/container:v1/container.projects.zones.clusters.nodePools.create/zone": zone
"/container:v1/container.projects.zones.clusters.nodePools.delete": delete_project_zone_cluster_node_pool
"/container:v1/container.projects.zones.clusters.nodePools.delete/clusterId": cluster_id
"/container:v1/container.projects.zones.clusters.nodePools.delete/name": name
"/container:v1/container.projects.zones.clusters.nodePools.delete/nodePoolId": node_pool_id
"/container:v1/container.projects.zones.clusters.nodePools.delete/projectId": project_id
"/container:v1/container.projects.zones.clusters.nodePools.delete/zone": zone
"/container:v1/container.projects.zones.clusters.nodePools.get": get_project_zone_cluster_node_pool
"/container:v1/container.projects.zones.clusters.nodePools.get/clusterId": cluster_id
"/container:v1/container.projects.zones.clusters.nodePools.get/name": name
"/container:v1/container.projects.zones.clusters.nodePools.get/nodePoolId": node_pool_id
"/container:v1/container.projects.zones.clusters.nodePools.get/projectId": project_id
"/container:v1/container.projects.zones.clusters.nodePools.get/zone": zone
"/container:v1/container.projects.zones.clusters.nodePools.list": list_project_zone_cluster_node_pools
"/container:v1/container.projects.zones.clusters.nodePools.list/clusterId": cluster_id
"/container:v1/container.projects.zones.clusters.nodePools.list/parent": parent
"/container:v1/container.projects.zones.clusters.nodePools.list/projectId": project_id
"/container:v1/container.projects.zones.clusters.nodePools.list/zone": zone
"/container:v1/container.projects.zones.clusters.nodePools.rollback": rollback_node_pool_upgrade
@ -30371,6 +30553,7 @@
"/container:v1/container.projects.zones.clusters.update/projectId": project_id
"/container:v1/container.projects.zones.clusters.update/zone": zone
"/container:v1/container.projects.zones.getServerconfig": get_project_zone_serverconfig
"/container:v1/container.projects.zones.getServerconfig/name": name
"/container:v1/container.projects.zones.getServerconfig/projectId": project_id
"/container:v1/container.projects.zones.getServerconfig/zone": zone
"/container:v1/container.projects.zones.operations.cancel": cancel_operation
@ -30378,10 +30561,12 @@
"/container:v1/container.projects.zones.operations.cancel/projectId": project_id
"/container:v1/container.projects.zones.operations.cancel/zone": zone
"/container:v1/container.projects.zones.operations.get": get_zone_operation
"/container:v1/container.projects.zones.operations.get/name": name
"/container:v1/container.projects.zones.operations.get/operationId": operation_id
"/container:v1/container.projects.zones.operations.get/projectId": project_id
"/container:v1/container.projects.zones.operations.get/zone": zone
"/container:v1/container.projects.zones.operations.list": list_zone_operations
"/container:v1/container.projects.zones.operations.list/parent": parent
"/container:v1/container.projects.zones.operations.list/projectId": project_id
"/container:v1/container.projects.zones.operations.list/zone": zone
"/container:v1/container.projects.zones.tokens.get": get_zone_token
@ -34885,6 +35070,45 @@
"/datastore:v1/Filter": filter
"/datastore:v1/Filter/compositeFilter": composite_filter
"/datastore:v1/Filter/propertyFilter": property_filter
"/datastore:v1/GoogleDatastoreAdminV1CommonMetadata": google_datastore_admin_v1_common_metadata
"/datastore:v1/GoogleDatastoreAdminV1CommonMetadata/endTime": end_time
"/datastore:v1/GoogleDatastoreAdminV1CommonMetadata/labels": labels
"/datastore:v1/GoogleDatastoreAdminV1CommonMetadata/labels/label": label
"/datastore:v1/GoogleDatastoreAdminV1CommonMetadata/operationType": operation_type
"/datastore:v1/GoogleDatastoreAdminV1CommonMetadata/startTime": start_time
"/datastore:v1/GoogleDatastoreAdminV1CommonMetadata/state": state
"/datastore:v1/GoogleDatastoreAdminV1EntityFilter": google_datastore_admin_v1_entity_filter
"/datastore:v1/GoogleDatastoreAdminV1EntityFilter/kinds": kinds
"/datastore:v1/GoogleDatastoreAdminV1EntityFilter/kinds/kind": kind
"/datastore:v1/GoogleDatastoreAdminV1EntityFilter/namespaceIds": namespace_ids
"/datastore:v1/GoogleDatastoreAdminV1EntityFilter/namespaceIds/namespace_id": namespace_id
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesMetadata": google_datastore_admin_v1_export_entities_metadata
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesMetadata/common": common
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesMetadata/entityFilter": entity_filter
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesMetadata/outputUrlPrefix": output_url_prefix
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesMetadata/progressBytes": progress_bytes
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesMetadata/progressEntities": progress_entities
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesRequest": google_datastore_admin_v1_export_entities_request
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesRequest/entityFilter": entity_filter
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesRequest/labels": labels
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesRequest/labels/label": label
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesRequest/outputUrlPrefix": output_url_prefix
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesResponse": google_datastore_admin_v1_export_entities_response
"/datastore:v1/GoogleDatastoreAdminV1ExportEntitiesResponse/outputUrl": output_url
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesMetadata": google_datastore_admin_v1_import_entities_metadata
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesMetadata/common": common
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesMetadata/entityFilter": entity_filter
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesMetadata/inputUrl": input_url
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesMetadata/progressBytes": progress_bytes
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesMetadata/progressEntities": progress_entities
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesRequest": google_datastore_admin_v1_import_entities_request
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesRequest/entityFilter": entity_filter
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesRequest/inputUrl": input_url
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesRequest/labels": labels
"/datastore:v1/GoogleDatastoreAdminV1ImportEntitiesRequest/labels/label": label
"/datastore:v1/GoogleDatastoreAdminV1Progress": google_datastore_admin_v1_progress
"/datastore:v1/GoogleDatastoreAdminV1Progress/workCompleted": work_completed
"/datastore:v1/GoogleDatastoreAdminV1Progress/workEstimated": work_estimated
"/datastore:v1/GoogleDatastoreAdminV1beta1CommonMetadata": google_datastore_admin_v1beta1_common_metadata
"/datastore:v1/GoogleDatastoreAdminV1beta1CommonMetadata/endTime": end_time
"/datastore:v1/GoogleDatastoreAdminV1beta1CommonMetadata/labels": labels
@ -35058,6 +35282,10 @@
"/datastore:v1/datastore.projects.beginTransaction/projectId": project_id
"/datastore:v1/datastore.projects.commit": commit_project
"/datastore:v1/datastore.projects.commit/projectId": project_id
"/datastore:v1/datastore.projects.export": export_project
"/datastore:v1/datastore.projects.export/projectId": project_id
"/datastore:v1/datastore.projects.import": import_project
"/datastore:v1/datastore.projects.import/projectId": project_id
"/datastore:v1/datastore.projects.lookup": lookup_project
"/datastore:v1/datastore.projects.lookup/projectId": project_id
"/datastore:v1/datastore.projects.operations.cancel": cancel_project_operation
@ -35080,6 +35308,35 @@
"/datastore:v1/fields": fields
"/datastore:v1/key": key
"/datastore:v1/quotaUser": quota_user
"/datastore:v1beta1/GoogleDatastoreAdminV1CommonMetadata": google_datastore_admin_v1_common_metadata
"/datastore:v1beta1/GoogleDatastoreAdminV1CommonMetadata/endTime": end_time
"/datastore:v1beta1/GoogleDatastoreAdminV1CommonMetadata/labels": labels
"/datastore:v1beta1/GoogleDatastoreAdminV1CommonMetadata/labels/label": label
"/datastore:v1beta1/GoogleDatastoreAdminV1CommonMetadata/operationType": operation_type
"/datastore:v1beta1/GoogleDatastoreAdminV1CommonMetadata/startTime": start_time
"/datastore:v1beta1/GoogleDatastoreAdminV1CommonMetadata/state": state
"/datastore:v1beta1/GoogleDatastoreAdminV1EntityFilter": google_datastore_admin_v1_entity_filter
"/datastore:v1beta1/GoogleDatastoreAdminV1EntityFilter/kinds": kinds
"/datastore:v1beta1/GoogleDatastoreAdminV1EntityFilter/kinds/kind": kind
"/datastore:v1beta1/GoogleDatastoreAdminV1EntityFilter/namespaceIds": namespace_ids
"/datastore:v1beta1/GoogleDatastoreAdminV1EntityFilter/namespaceIds/namespace_id": namespace_id
"/datastore:v1beta1/GoogleDatastoreAdminV1ExportEntitiesMetadata": google_datastore_admin_v1_export_entities_metadata
"/datastore:v1beta1/GoogleDatastoreAdminV1ExportEntitiesMetadata/common": common
"/datastore:v1beta1/GoogleDatastoreAdminV1ExportEntitiesMetadata/entityFilter": entity_filter
"/datastore:v1beta1/GoogleDatastoreAdminV1ExportEntitiesMetadata/outputUrlPrefix": output_url_prefix
"/datastore:v1beta1/GoogleDatastoreAdminV1ExportEntitiesMetadata/progressBytes": progress_bytes
"/datastore:v1beta1/GoogleDatastoreAdminV1ExportEntitiesMetadata/progressEntities": progress_entities
"/datastore:v1beta1/GoogleDatastoreAdminV1ExportEntitiesResponse": google_datastore_admin_v1_export_entities_response
"/datastore:v1beta1/GoogleDatastoreAdminV1ExportEntitiesResponse/outputUrl": output_url
"/datastore:v1beta1/GoogleDatastoreAdminV1ImportEntitiesMetadata": google_datastore_admin_v1_import_entities_metadata
"/datastore:v1beta1/GoogleDatastoreAdminV1ImportEntitiesMetadata/common": common
"/datastore:v1beta1/GoogleDatastoreAdminV1ImportEntitiesMetadata/entityFilter": entity_filter
"/datastore:v1beta1/GoogleDatastoreAdminV1ImportEntitiesMetadata/inputUrl": input_url
"/datastore:v1beta1/GoogleDatastoreAdminV1ImportEntitiesMetadata/progressBytes": progress_bytes
"/datastore:v1beta1/GoogleDatastoreAdminV1ImportEntitiesMetadata/progressEntities": progress_entities
"/datastore:v1beta1/GoogleDatastoreAdminV1Progress": google_datastore_admin_v1_progress
"/datastore:v1beta1/GoogleDatastoreAdminV1Progress/workCompleted": work_completed
"/datastore:v1beta1/GoogleDatastoreAdminV1Progress/workEstimated": work_estimated
"/datastore:v1beta1/GoogleDatastoreAdminV1beta1CommonMetadata": google_datastore_admin_v1beta1_common_metadata
"/datastore:v1beta1/GoogleDatastoreAdminV1beta1CommonMetadata/endTime": end_time
"/datastore:v1beta1/GoogleDatastoreAdminV1beta1CommonMetadata/labels": labels
@ -35181,6 +35438,35 @@
"/datastore:v1beta3/Filter": filter
"/datastore:v1beta3/Filter/compositeFilter": composite_filter
"/datastore:v1beta3/Filter/propertyFilter": property_filter
"/datastore:v1beta3/GoogleDatastoreAdminV1CommonMetadata": google_datastore_admin_v1_common_metadata
"/datastore:v1beta3/GoogleDatastoreAdminV1CommonMetadata/endTime": end_time
"/datastore:v1beta3/GoogleDatastoreAdminV1CommonMetadata/labels": labels
"/datastore:v1beta3/GoogleDatastoreAdminV1CommonMetadata/labels/label": label
"/datastore:v1beta3/GoogleDatastoreAdminV1CommonMetadata/operationType": operation_type
"/datastore:v1beta3/GoogleDatastoreAdminV1CommonMetadata/startTime": start_time
"/datastore:v1beta3/GoogleDatastoreAdminV1CommonMetadata/state": state
"/datastore:v1beta3/GoogleDatastoreAdminV1EntityFilter": google_datastore_admin_v1_entity_filter
"/datastore:v1beta3/GoogleDatastoreAdminV1EntityFilter/kinds": kinds
"/datastore:v1beta3/GoogleDatastoreAdminV1EntityFilter/kinds/kind": kind
"/datastore:v1beta3/GoogleDatastoreAdminV1EntityFilter/namespaceIds": namespace_ids
"/datastore:v1beta3/GoogleDatastoreAdminV1EntityFilter/namespaceIds/namespace_id": namespace_id
"/datastore:v1beta3/GoogleDatastoreAdminV1ExportEntitiesMetadata": google_datastore_admin_v1_export_entities_metadata
"/datastore:v1beta3/GoogleDatastoreAdminV1ExportEntitiesMetadata/common": common
"/datastore:v1beta3/GoogleDatastoreAdminV1ExportEntitiesMetadata/entityFilter": entity_filter
"/datastore:v1beta3/GoogleDatastoreAdminV1ExportEntitiesMetadata/outputUrlPrefix": output_url_prefix
"/datastore:v1beta3/GoogleDatastoreAdminV1ExportEntitiesMetadata/progressBytes": progress_bytes
"/datastore:v1beta3/GoogleDatastoreAdminV1ExportEntitiesMetadata/progressEntities": progress_entities
"/datastore:v1beta3/GoogleDatastoreAdminV1ExportEntitiesResponse": google_datastore_admin_v1_export_entities_response
"/datastore:v1beta3/GoogleDatastoreAdminV1ExportEntitiesResponse/outputUrl": output_url
"/datastore:v1beta3/GoogleDatastoreAdminV1ImportEntitiesMetadata": google_datastore_admin_v1_import_entities_metadata
"/datastore:v1beta3/GoogleDatastoreAdminV1ImportEntitiesMetadata/common": common
"/datastore:v1beta3/GoogleDatastoreAdminV1ImportEntitiesMetadata/entityFilter": entity_filter
"/datastore:v1beta3/GoogleDatastoreAdminV1ImportEntitiesMetadata/inputUrl": input_url
"/datastore:v1beta3/GoogleDatastoreAdminV1ImportEntitiesMetadata/progressBytes": progress_bytes
"/datastore:v1beta3/GoogleDatastoreAdminV1ImportEntitiesMetadata/progressEntities": progress_entities
"/datastore:v1beta3/GoogleDatastoreAdminV1Progress": google_datastore_admin_v1_progress
"/datastore:v1beta3/GoogleDatastoreAdminV1Progress/workCompleted": work_completed
"/datastore:v1beta3/GoogleDatastoreAdminV1Progress/workEstimated": work_estimated
"/datastore:v1beta3/GoogleDatastoreAdminV1beta1CommonMetadata": google_datastore_admin_v1beta1_common_metadata
"/datastore:v1beta3/GoogleDatastoreAdminV1beta1CommonMetadata/endTime": end_time
"/datastore:v1beta3/GoogleDatastoreAdminV1beta1CommonMetadata/labels": labels

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1
VERSION = 'V1'
REVISION = '20180223'
REVISION = '20180308'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

File diff suppressed because it is too large Load Diff

View File

@ -355,6 +355,10 @@ module Google
class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :operation_id, as: 'operationId'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
@ -395,6 +399,7 @@ module Google
property :label_fingerprint, as: 'labelFingerprint'
property :legacy_abac, as: 'legacyAbac', class: Google::Apis::ContainerV1::LegacyAbac, decorator: Google::Apis::ContainerV1::LegacyAbac::Representation
property :location, as: 'location'
collection :locations, as: 'locations'
property :logging_service, as: 'loggingService'
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
@ -444,6 +449,10 @@ module Google
class CompleteIpRotationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
@ -452,14 +461,21 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster, as: 'cluster', class: Google::Apis::ContainerV1::Cluster, decorator: Google::Apis::ContainerV1::Cluster::Representation
property :parent, as: 'parent'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class CreateNodePoolRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :node_pool, as: 'nodePool', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
property :parent, as: 'parent'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
@ -663,6 +679,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :detail, as: 'detail'
property :end_time, as: 'endTime'
property :location, as: 'location'
property :name, as: 'name'
property :operation_type, as: 'operationType'
property :self_link, as: 'selfLink'
@ -677,6 +694,11 @@ module Google
class RollbackNodePoolUpgradeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :node_pool_id, as: 'nodePoolId'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
@ -696,43 +718,67 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetLabelsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :label_fingerprint, as: 'labelFingerprint'
property :name, as: 'name'
property :project_id, as: 'projectId'
hash :resource_labels, as: 'resourceLabels'
property :zone, as: 'zone'
end
end
class SetLegacyAbacRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :enabled, as: 'enabled'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetLocationsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
collection :locations, as: 'locations'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetLoggingServiceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :logging_service, as: 'loggingService'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetMaintenancePolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
@ -740,23 +786,35 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action'
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :update, as: 'update', class: Google::Apis::ContainerV1::MasterAuth, decorator: Google::Apis::ContainerV1::MasterAuth::Representation
property :zone, as: 'zone'
end
end
class SetMonitoringServiceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :monitoring_service, as: 'monitoringService'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetNetworkPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1::NetworkPolicy, decorator: Google::Apis::ContainerV1::NetworkPolicy::Representation
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
@ -765,50 +823,82 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :node_pool_id, as: 'nodePoolId'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetNodePoolManagementRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation
property :name, as: 'name'
property :node_pool_id, as: 'nodePoolId'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetNodePoolSizeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :node_count, as: 'nodeCount'
property :node_pool_id, as: 'nodePoolId'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class StartIpRotationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class UpdateClusterRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :update, as: 'update', class: Google::Apis::ContainerV1::ClusterUpdate, decorator: Google::Apis::ContainerV1::ClusterUpdate::Representation
property :zone, as: 'zone'
end
end
class UpdateMasterRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :master_version, as: 'masterVersion'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class UpdateNodePoolRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :image_type, as: 'imageType'
property :name, as: 'name'
property :node_pool_id, as: 'nodePoolId'
property :node_version, as: 'nodeVersion'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
end

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -343,6 +343,378 @@ module Google
end
end
# Metadata common to all Datastore Admin operations.
class GoogleDatastoreAdminV1CommonMetadata
include Google::Apis::Core::Hashable
# The time the operation ended, either successfully or otherwise.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The client-assigned labels which were provided when the operation was
# created. May also include additional labels.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The type of the operation. Can be used as a filter in
# ListOperationsRequest.
# Corresponds to the JSON property `operationType`
# @return [String]
attr_accessor :operation_type
# The time that work began on the operation.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# The current state of the Operation.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@end_time = args[:end_time] if args.key?(:end_time)
@labels = args[:labels] if args.key?(:labels)
@operation_type = args[:operation_type] if args.key?(:operation_type)
@start_time = args[:start_time] if args.key?(:start_time)
@state = args[:state] if args.key?(:state)
end
end
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
class GoogleDatastoreAdminV1EntityFilter
include Google::Apis::Core::Hashable
# If empty, then this represents all kinds.
# Corresponds to the JSON property `kinds`
# @return [Array<String>]
attr_accessor :kinds
# An empty list represents all namespaces. This is the preferred
# usage for projects that don't use namespaces.
# An empty string element represents the default namespace. This should be
# used if the project has data in non-default namespaces, but doesn't want to
# include them.
# Each namespace in this list must be unique.
# Corresponds to the JSON property `namespaceIds`
# @return [Array<String>]
attr_accessor :namespace_ids
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kinds = args[:kinds] if args.key?(:kinds)
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
end
end
# Metadata for ExportEntities operations.
class GoogleDatastoreAdminV1ExportEntitiesMetadata
include Google::Apis::Core::Hashable
# Metadata common to all Datastore Admin operations.
# Corresponds to the JSON property `common`
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
# Corresponds to the JSON property `entityFilter`
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter]
attr_accessor :entity_filter
# Location for the export metadata and data files. This will be the same
# value as the
# google.datastore.admin.v1.ExportEntitiesRequest.output_url_prefix
# field. The final output location is provided in
# google.datastore.admin.v1.ExportEntitiesResponse.output_url.
# Corresponds to the JSON property `outputUrlPrefix`
# @return [String]
attr_accessor :output_url_prefix
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressBytes`
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_bytes
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressEntities`
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_entities
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@common = args[:common] if args.key?(:common)
@entity_filter = args[:entity_filter] if args.key?(:entity_filter)
@output_url_prefix = args[:output_url_prefix] if args.key?(:output_url_prefix)
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
@progress_entities = args[:progress_entities] if args.key?(:progress_entities)
end
end
# The request for
# google.datastore.admin.v1.DatastoreAdmin.ExportEntities.
class GoogleDatastoreAdminV1ExportEntitiesRequest
include Google::Apis::Core::Hashable
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
# Corresponds to the JSON property `entityFilter`
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter]
attr_accessor :entity_filter
# Client-assigned labels.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# Location for the export metadata and data files.
# The full resource URL of the external storage location. Currently, only
# Google Cloud Storage is supported. So output_url_prefix should be of the
# form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the
# name of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud
# Storage namespace path (this is not a Cloud Datastore namespace). For more
# information about Cloud Storage namespace paths, see
# [Object name
# considerations](https://cloud.google.com/storage/docs/naming#object-
# considerations).
# The resulting files will be nested deeper than the specified URL prefix.
# The final output URL will be provided in the
# google.datastore.admin.v1.ExportEntitiesResponse.output_url field. That
# value should be used for subsequent ImportEntities operations.
# By nesting the data files deeper, the same Cloud Storage bucket can be used
# in multiple ExportEntities operations without conflict.
# Corresponds to the JSON property `outputUrlPrefix`
# @return [String]
attr_accessor :output_url_prefix
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@entity_filter = args[:entity_filter] if args.key?(:entity_filter)
@labels = args[:labels] if args.key?(:labels)
@output_url_prefix = args[:output_url_prefix] if args.key?(:output_url_prefix)
end
end
# The response for
# google.datastore.admin.v1.DatastoreAdmin.ExportEntities.
class GoogleDatastoreAdminV1ExportEntitiesResponse
include Google::Apis::Core::Hashable
# Location of the output metadata file. This can be used to begin an import
# into Cloud Datastore (this project or another project). See
# google.datastore.admin.v1.ImportEntitiesRequest.input_url.
# Only present if the operation completed successfully.
# Corresponds to the JSON property `outputUrl`
# @return [String]
attr_accessor :output_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@output_url = args[:output_url] if args.key?(:output_url)
end
end
# Metadata for ImportEntities operations.
class GoogleDatastoreAdminV1ImportEntitiesMetadata
include Google::Apis::Core::Hashable
# Metadata common to all Datastore Admin operations.
# Corresponds to the JSON property `common`
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
# Corresponds to the JSON property `entityFilter`
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter]
attr_accessor :entity_filter
# The location of the import metadata file. This will be the same value as
# the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.
# Corresponds to the JSON property `inputUrl`
# @return [String]
attr_accessor :input_url
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressBytes`
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_bytes
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressEntities`
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_entities
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@common = args[:common] if args.key?(:common)
@entity_filter = args[:entity_filter] if args.key?(:entity_filter)
@input_url = args[:input_url] if args.key?(:input_url)
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
@progress_entities = args[:progress_entities] if args.key?(:progress_entities)
end
end
# The request for
# google.datastore.admin.v1.DatastoreAdmin.ImportEntities.
class GoogleDatastoreAdminV1ImportEntitiesRequest
include Google::Apis::Core::Hashable
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
# Corresponds to the JSON property `entityFilter`
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter]
attr_accessor :entity_filter
# The full resource URL of the external storage location. Currently, only
# Google Cloud Storage is supported. So input_url should be of the form:
# `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where
# `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is
# an optional Cloud Storage namespace path (this is not a Cloud Datastore
# namespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written
# by the ExportEntities operation. For more information about Cloud Storage
# namespace paths, see
# [Object name
# considerations](https://cloud.google.com/storage/docs/naming#object-
# considerations).
# For more information, see
# google.datastore.admin.v1.ExportEntitiesResponse.output_url.
# Corresponds to the JSON property `inputUrl`
# @return [String]
attr_accessor :input_url
# Client-assigned labels.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@entity_filter = args[:entity_filter] if args.key?(:entity_filter)
@input_url = args[:input_url] if args.key?(:input_url)
@labels = args[:labels] if args.key?(:labels)
end
end
# Measures the progress of a particular metric.
class GoogleDatastoreAdminV1Progress
include Google::Apis::Core::Hashable
# The amount of work that has been completed. Note that this may be greater
# than work_estimated.
# Corresponds to the JSON property `workCompleted`
# @return [Fixnum]
attr_accessor :work_completed
# An estimate of how much work needs to be performed. May be zero if the
# work estimate is unavailable.
# Corresponds to the JSON property `workEstimated`
# @return [Fixnum]
attr_accessor :work_estimated
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@work_completed = args[:work_completed] if args.key?(:work_completed)
@work_estimated = args[:work_estimated] if args.key?(:work_estimated)
end
end
# Metadata common to all Datastore Admin operations.
class GoogleDatastoreAdminV1beta1CommonMetadata
include Google::Apis::Core::Hashable

View File

@ -94,6 +94,54 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1CommonMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1EntityFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ExportEntitiesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ExportEntitiesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ExportEntitiesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ImportEntitiesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ImportEntitiesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1Progress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1beta1CommonMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -419,6 +467,90 @@ module Google
end
end
class GoogleDatastoreAdminV1CommonMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
hash :labels, as: 'labels'
property :operation_type, as: 'operationType'
property :start_time, as: 'startTime'
property :state, as: 'state'
end
end
class GoogleDatastoreAdminV1EntityFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :kinds, as: 'kinds'
collection :namespace_ids, as: 'namespaceIds'
end
end
class GoogleDatastoreAdminV1ExportEntitiesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common, as: 'common', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata::Representation
property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter::Representation
property :output_url_prefix, as: 'outputUrlPrefix'
property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress::Representation
property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress::Representation
end
end
class GoogleDatastoreAdminV1ExportEntitiesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter::Representation
hash :labels, as: 'labels'
property :output_url_prefix, as: 'outputUrlPrefix'
end
end
class GoogleDatastoreAdminV1ExportEntitiesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_url, as: 'outputUrl'
end
end
class GoogleDatastoreAdminV1ImportEntitiesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common, as: 'common', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata::Representation
property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter::Representation
property :input_url, as: 'inputUrl'
property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress::Representation
property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress::Representation
end
end
class GoogleDatastoreAdminV1ImportEntitiesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter::Representation
property :input_url, as: 'inputUrl'
hash :labels, as: 'labels'
end
end
class GoogleDatastoreAdminV1Progress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :work_completed, :numeric_string => true, as: 'workCompleted'
property :work_estimated, :numeric_string => true, as: 'workEstimated'
end
end
class GoogleDatastoreAdminV1beta1CommonMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -149,6 +149,83 @@ module Google
execute_or_queue_command(command, &block)
end
# Exports a copy of all or a subset of entities from Google Cloud Datastore
# to another storage system, such as Google Cloud Storage. Recent updates to
# entities may not be reflected in the export. The export occurs in the
# background and its progress can be monitored and managed via the
# Operation resource that is created. The output of an export may only be
# used once the associated operation is done. If an export operation is
# cancelled before completion it may leave partial data behind in Google
# Cloud Storage.
# @param [String] project_id
# Project ID against which to make the request.
# @param [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1ExportEntitiesRequest] google_datastore_admin_v1_export_entities_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatastoreV1::GoogleLongrunningOperation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatastoreV1::GoogleLongrunningOperation]
#
# @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 export_project(project_id, google_datastore_admin_v1_export_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}:export', options)
command.request_representation = Google::Apis::DatastoreV1::GoogleDatastoreAdminV1ExportEntitiesRequest::Representation
command.request_object = google_datastore_admin_v1_export_entities_request_object
command.response_representation = Google::Apis::DatastoreV1::GoogleLongrunningOperation::Representation
command.response_class = Google::Apis::DatastoreV1::GoogleLongrunningOperation
command.params['projectId'] = project_id unless project_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Imports entities into Google Cloud Datastore. Existing entities with the
# same key are overwritten. The import occurs in the background and its
# progress can be monitored and managed via the Operation resource that is
# created. If an ImportEntities operation is cancelled, it is possible
# that a subset of the data has already been imported to Cloud Datastore.
# @param [String] project_id
# Project ID against which to make the request.
# @param [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1ImportEntitiesRequest] google_datastore_admin_v1_import_entities_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatastoreV1::GoogleLongrunningOperation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatastoreV1::GoogleLongrunningOperation]
#
# @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 import_project(project_id, google_datastore_admin_v1_import_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}:import', options)
command.request_representation = Google::Apis::DatastoreV1::GoogleDatastoreAdminV1ImportEntitiesRequest::Representation
command.request_object = google_datastore_admin_v1_import_entities_request_object
command.response_representation = Google::Apis::DatastoreV1::GoogleLongrunningOperation::Representation
command.response_class = Google::Apis::DatastoreV1::GoogleLongrunningOperation
command.params['projectId'] = project_id unless project_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Looks up entities by key.
# @param [String] project_id
# The ID of the project against which to make the request.

View File

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

View File

@ -22,6 +22,261 @@ module Google
module Apis
module DatastoreV1beta1
# Metadata common to all Datastore Admin operations.
class GoogleDatastoreAdminV1CommonMetadata
include Google::Apis::Core::Hashable
# The time the operation ended, either successfully or otherwise.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The client-assigned labels which were provided when the operation was
# created. May also include additional labels.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The type of the operation. Can be used as a filter in
# ListOperationsRequest.
# Corresponds to the JSON property `operationType`
# @return [String]
attr_accessor :operation_type
# The time that work began on the operation.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# The current state of the Operation.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@end_time = args[:end_time] if args.key?(:end_time)
@labels = args[:labels] if args.key?(:labels)
@operation_type = args[:operation_type] if args.key?(:operation_type)
@start_time = args[:start_time] if args.key?(:start_time)
@state = args[:state] if args.key?(:state)
end
end
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
class GoogleDatastoreAdminV1EntityFilter
include Google::Apis::Core::Hashable
# If empty, then this represents all kinds.
# Corresponds to the JSON property `kinds`
# @return [Array<String>]
attr_accessor :kinds
# An empty list represents all namespaces. This is the preferred
# usage for projects that don't use namespaces.
# An empty string element represents the default namespace. This should be
# used if the project has data in non-default namespaces, but doesn't want to
# include them.
# Each namespace in this list must be unique.
# Corresponds to the JSON property `namespaceIds`
# @return [Array<String>]
attr_accessor :namespace_ids
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kinds = args[:kinds] if args.key?(:kinds)
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
end
end
# Metadata for ExportEntities operations.
class GoogleDatastoreAdminV1ExportEntitiesMetadata
include Google::Apis::Core::Hashable
# Metadata common to all Datastore Admin operations.
# Corresponds to the JSON property `common`
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
# Corresponds to the JSON property `entityFilter`
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1EntityFilter]
attr_accessor :entity_filter
# Location for the export metadata and data files. This will be the same
# value as the
# google.datastore.admin.v1.ExportEntitiesRequest.output_url_prefix
# field. The final output location is provided in
# google.datastore.admin.v1.ExportEntitiesResponse.output_url.
# Corresponds to the JSON property `outputUrlPrefix`
# @return [String]
attr_accessor :output_url_prefix
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressBytes`
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_bytes
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressEntities`
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_entities
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@common = args[:common] if args.key?(:common)
@entity_filter = args[:entity_filter] if args.key?(:entity_filter)
@output_url_prefix = args[:output_url_prefix] if args.key?(:output_url_prefix)
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
@progress_entities = args[:progress_entities] if args.key?(:progress_entities)
end
end
# The response for
# google.datastore.admin.v1.DatastoreAdmin.ExportEntities.
class GoogleDatastoreAdminV1ExportEntitiesResponse
include Google::Apis::Core::Hashable
# Location of the output metadata file. This can be used to begin an import
# into Cloud Datastore (this project or another project). See
# google.datastore.admin.v1.ImportEntitiesRequest.input_url.
# Only present if the operation completed successfully.
# Corresponds to the JSON property `outputUrl`
# @return [String]
attr_accessor :output_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@output_url = args[:output_url] if args.key?(:output_url)
end
end
# Metadata for ImportEntities operations.
class GoogleDatastoreAdminV1ImportEntitiesMetadata
include Google::Apis::Core::Hashable
# Metadata common to all Datastore Admin operations.
# Corresponds to the JSON property `common`
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
# Corresponds to the JSON property `entityFilter`
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1EntityFilter]
attr_accessor :entity_filter
# The location of the import metadata file. This will be the same value as
# the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.
# Corresponds to the JSON property `inputUrl`
# @return [String]
attr_accessor :input_url
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressBytes`
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_bytes
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressEntities`
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_entities
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@common = args[:common] if args.key?(:common)
@entity_filter = args[:entity_filter] if args.key?(:entity_filter)
@input_url = args[:input_url] if args.key?(:input_url)
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
@progress_entities = args[:progress_entities] if args.key?(:progress_entities)
end
end
# Measures the progress of a particular metric.
class GoogleDatastoreAdminV1Progress
include Google::Apis::Core::Hashable
# The amount of work that has been completed. Note that this may be greater
# than work_estimated.
# Corresponds to the JSON property `workCompleted`
# @return [Fixnum]
attr_accessor :work_completed
# An estimate of how much work needs to be performed. May be zero if the
# work estimate is unavailable.
# Corresponds to the JSON property `workEstimated`
# @return [Fixnum]
attr_accessor :work_estimated
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@work_completed = args[:work_completed] if args.key?(:work_completed)
@work_estimated = args[:work_estimated] if args.key?(:work_estimated)
end
end
# Metadata common to all Datastore Admin operations.
class GoogleDatastoreAdminV1beta1CommonMetadata
include Google::Apis::Core::Hashable

View File

@ -22,6 +22,42 @@ module Google
module Apis
module DatastoreV1beta1
class GoogleDatastoreAdminV1CommonMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1EntityFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ExportEntitiesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ExportEntitiesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ImportEntitiesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1Progress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1beta1CommonMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -82,6 +118,70 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1CommonMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
hash :labels, as: 'labels'
property :operation_type, as: 'operationType'
property :start_time, as: 'startTime'
property :state, as: 'state'
end
end
class GoogleDatastoreAdminV1EntityFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :kinds, as: 'kinds'
collection :namespace_ids, as: 'namespaceIds'
end
end
class GoogleDatastoreAdminV1ExportEntitiesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common, as: 'common', class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1CommonMetadata::Representation
property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1EntityFilter::Representation
property :output_url_prefix, as: 'outputUrlPrefix'
property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress::Representation
property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress::Representation
end
end
class GoogleDatastoreAdminV1ExportEntitiesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_url, as: 'outputUrl'
end
end
class GoogleDatastoreAdminV1ImportEntitiesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common, as: 'common', class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1CommonMetadata::Representation
property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1EntityFilter::Representation
property :input_url, as: 'inputUrl'
property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress::Representation
property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress::Representation
end
end
class GoogleDatastoreAdminV1Progress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :work_completed, :numeric_string => true, as: 'workCompleted'
property :work_estimated, :numeric_string => true, as: 'workEstimated'
end
end
class GoogleDatastoreAdminV1beta1CommonMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/
module DatastoreV1beta3
VERSION = 'V1beta3'
REVISION = '20171024'
REVISION = '20180321'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -324,6 +324,261 @@ module Google
end
end
# Metadata common to all Datastore Admin operations.
class GoogleDatastoreAdminV1CommonMetadata
include Google::Apis::Core::Hashable
# The time the operation ended, either successfully or otherwise.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The client-assigned labels which were provided when the operation was
# created. May also include additional labels.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The type of the operation. Can be used as a filter in
# ListOperationsRequest.
# Corresponds to the JSON property `operationType`
# @return [String]
attr_accessor :operation_type
# The time that work began on the operation.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# The current state of the Operation.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@end_time = args[:end_time] if args.key?(:end_time)
@labels = args[:labels] if args.key?(:labels)
@operation_type = args[:operation_type] if args.key?(:operation_type)
@start_time = args[:start_time] if args.key?(:start_time)
@state = args[:state] if args.key?(:state)
end
end
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
class GoogleDatastoreAdminV1EntityFilter
include Google::Apis::Core::Hashable
# If empty, then this represents all kinds.
# Corresponds to the JSON property `kinds`
# @return [Array<String>]
attr_accessor :kinds
# An empty list represents all namespaces. This is the preferred
# usage for projects that don't use namespaces.
# An empty string element represents the default namespace. This should be
# used if the project has data in non-default namespaces, but doesn't want to
# include them.
# Each namespace in this list must be unique.
# Corresponds to the JSON property `namespaceIds`
# @return [Array<String>]
attr_accessor :namespace_ids
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kinds = args[:kinds] if args.key?(:kinds)
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
end
end
# Metadata for ExportEntities operations.
class GoogleDatastoreAdminV1ExportEntitiesMetadata
include Google::Apis::Core::Hashable
# Metadata common to all Datastore Admin operations.
# Corresponds to the JSON property `common`
# @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
# Corresponds to the JSON property `entityFilter`
# @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1EntityFilter]
attr_accessor :entity_filter
# Location for the export metadata and data files. This will be the same
# value as the
# google.datastore.admin.v1.ExportEntitiesRequest.output_url_prefix
# field. The final output location is provided in
# google.datastore.admin.v1.ExportEntitiesResponse.output_url.
# Corresponds to the JSON property `outputUrlPrefix`
# @return [String]
attr_accessor :output_url_prefix
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressBytes`
# @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_bytes
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressEntities`
# @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_entities
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@common = args[:common] if args.key?(:common)
@entity_filter = args[:entity_filter] if args.key?(:entity_filter)
@output_url_prefix = args[:output_url_prefix] if args.key?(:output_url_prefix)
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
@progress_entities = args[:progress_entities] if args.key?(:progress_entities)
end
end
# The response for
# google.datastore.admin.v1.DatastoreAdmin.ExportEntities.
class GoogleDatastoreAdminV1ExportEntitiesResponse
include Google::Apis::Core::Hashable
# Location of the output metadata file. This can be used to begin an import
# into Cloud Datastore (this project or another project). See
# google.datastore.admin.v1.ImportEntitiesRequest.input_url.
# Only present if the operation completed successfully.
# Corresponds to the JSON property `outputUrl`
# @return [String]
attr_accessor :output_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@output_url = args[:output_url] if args.key?(:output_url)
end
end
# Metadata for ImportEntities operations.
class GoogleDatastoreAdminV1ImportEntitiesMetadata
include Google::Apis::Core::Hashable
# Metadata common to all Datastore Admin operations.
# Corresponds to the JSON property `common`
# @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
# kinds=[], namespace_ids=[]
# Kinds Foo and Bar in all namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=[]
# Kinds Foo and Bar only in the default namespace:
# kinds=['Foo', 'Bar'], namespace_ids=['']
# Kinds Foo and Bar in both the default and Baz namespaces:
# kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
# The entire Baz namespace:
# kinds=[], namespace_ids=['Baz']
# Corresponds to the JSON property `entityFilter`
# @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1EntityFilter]
attr_accessor :entity_filter
# The location of the import metadata file. This will be the same value as
# the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.
# Corresponds to the JSON property `inputUrl`
# @return [String]
attr_accessor :input_url
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressBytes`
# @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_bytes
# Measures the progress of a particular metric.
# Corresponds to the JSON property `progressEntities`
# @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress]
attr_accessor :progress_entities
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@common = args[:common] if args.key?(:common)
@entity_filter = args[:entity_filter] if args.key?(:entity_filter)
@input_url = args[:input_url] if args.key?(:input_url)
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
@progress_entities = args[:progress_entities] if args.key?(:progress_entities)
end
end
# Measures the progress of a particular metric.
class GoogleDatastoreAdminV1Progress
include Google::Apis::Core::Hashable
# The amount of work that has been completed. Note that this may be greater
# than work_estimated.
# Corresponds to the JSON property `workCompleted`
# @return [Fixnum]
attr_accessor :work_completed
# An estimate of how much work needs to be performed. May be zero if the
# work estimate is unavailable.
# Corresponds to the JSON property `workEstimated`
# @return [Fixnum]
attr_accessor :work_estimated
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@work_completed = args[:work_completed] if args.key?(:work_completed)
@work_estimated = args[:work_estimated] if args.key?(:work_estimated)
end
end
# Metadata common to all Datastore Admin operations.
class GoogleDatastoreAdminV1beta1CommonMetadata
include Google::Apis::Core::Hashable

View File

@ -88,6 +88,42 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1CommonMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1EntityFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ExportEntitiesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ExportEntitiesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1ImportEntitiesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1Progress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleDatastoreAdminV1beta1CommonMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -389,6 +425,70 @@ module Google
end
end
class GoogleDatastoreAdminV1CommonMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
hash :labels, as: 'labels'
property :operation_type, as: 'operationType'
property :start_time, as: 'startTime'
property :state, as: 'state'
end
end
class GoogleDatastoreAdminV1EntityFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :kinds, as: 'kinds'
collection :namespace_ids, as: 'namespaceIds'
end
end
class GoogleDatastoreAdminV1ExportEntitiesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common, as: 'common', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata::Representation
property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1EntityFilter::Representation
property :output_url_prefix, as: 'outputUrlPrefix'
property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress::Representation
property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress::Representation
end
end
class GoogleDatastoreAdminV1ExportEntitiesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_url, as: 'outputUrl'
end
end
class GoogleDatastoreAdminV1ImportEntitiesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common, as: 'common', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata::Representation
property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1EntityFilter::Representation
property :input_url, as: 'inputUrl'
property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress::Representation
property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress::Representation
end
end
class GoogleDatastoreAdminV1Progress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :work_completed, :numeric_string => true, as: 'workCompleted'
property :work_estimated, :numeric_string => true, as: 'workEstimated'
end
end
class GoogleDatastoreAdminV1beta1CommonMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/firestore
module FirestoreV1beta1
VERSION = 'V1beta1'
REVISION = '20180124'
REVISION = '20180321'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -358,7 +358,7 @@ module Google
attr_accessor :name
# Output only. The time at which the document was last changed.
# This value is initally set to the `create_time` then increases
# This value is initially set to the `create_time` then increases
# monotonically with each change to the document. It can also be
# compared to values from other documents and the `read_time` of a query.
# Corresponds to the JSON property `updateTime`

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/gmail/api/
module GmailV1
VERSION = 'V1'
REVISION = '20180131'
REVISION = '20180319'
# Read, send, delete, and manage your email
AUTH_SCOPE = 'https://mail.google.com/'

View File

@ -1147,7 +1147,8 @@ module Google
# A name that appears in the "From:" header for mail sent using this alias. For
# custom "from" addresses, when this is empty, Gmail will populate the "From:"
# header with the name that is used for the primary address associated with the
# account.
# account. If the admin has disabled the ability for users to update their name
# format, requests to update this field for the primary login will silently fail.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name