Google Cloud SDK version 205.0.0 introduces new flags for Cloud Bigtable, Datastore index management commands, and promotes several Cloud Interconnect and Compute Engine features to GA. A significant security update enhances SSH key validation for Compute Engine metadata. The release also includes extensive Python 2/3 compatibility refactoring, new API clients for Cloud File and Source Repositories, and foundational improvements to Calliope’s argument parsing.
Jump to: Annotated Release Notes | Unannounced Changes π΅οΈ | Stats π
Breaking Changes
- Removed explicit Python 2.7 requirement check in the
install.shscript, which changes the SDK’s Python version preference and may affect environments relying on its previous strict enforcement.- File: install.sh:61
- The
--admin-enabledflag for Compute Interconnect Attachments is deprecated and hidden. Users should now use--enable-admininstead.- File: flags.py:93
- The
AddTemplateFlaghelper for Dataproc workflow templates has been removed, replaced by concept-based resource arguments. Direct callers of this helper function will experience breakage.- File: flags.py:37
- The
AddFunctionNameArghelper utility was removed. Commands using this utility will need to adapt to the new concept-based resource argument parsing.- File: flags.py:31
- The default value for
--message-formatin Cloud Source Repositories topic flags has been removed. Commands that relied on ‘json’ being the default might now need to explicitly specify it if the API default is different or no longer implicitly ‘json’.- File: flags.py:52
- The entire Google Cloud IoT Core v1 API definition, including its client, message definitions, and resource definitions, has been removed from the SDK. This change will prevent any interactions with
cloudiot_v1endpoints via this SDK version. - The standard query parameters
bearer_tokenandpp(pretty-print) have been removed from the API definitions of multiple services. If client code explicitly used these parameters, this constitutes a breaking change. This affects: Bigtable Admin (v2), Bio (v1), Category Manager (v1alpha1, v1alpha2), Cloud Billing (v1), Cloud Build (v1), Cloud Debugger (v2), Cloud Error Reporting (v1beta1), and Cloud Functions (v1). TheprettyPrintparameter (camelCase) remains available. - Removed
bearer_tokenandppfields fromStandardQueryParameters. This may impact clients directly using these parameters for OAuth authentication or pretty-printing.- File: cloudiot_v1.json:44
- Removed the entire
groupsresource, including its IAM methods (setIamPolicy,getIamPolicy,testIamPermissions) and all device management functionality (devices.get,devices.patch,devices.delete,devices.modifyCloudToDeviceConfig,devices.configVersions.list,devices.states.list) under thecloudiot.projects.locations.registries.groupshierarchy from the Cloud IoT v1 API. This is a significant breaking change for any automation or tools interacting with device groups.- File: cloudiot_v1.json:1211
- Removed
bearer_tokenandppfields fromStandardQueryParametersin Cloud KMS v1 messages and API definition. This may impact clients directly using these parameters. - Removed
bearer_tokenandppfields fromStandardQueryParametersin Cloud Resource Search v1 messages and API definition. This may impact clients directly using these parameters. - Removed
bearer_tokenandppfields fromStandardQueryParametersin Cloud Scheduler v1alpha1 messages and API definition. This may impact clients directly using these parameters. - Removed
bearer_tokenandppfields fromStandardQueryParametersin Cloud Shell v1 messages and API definition. This may impact clients directly using these parameters. - Removed
bearer_tokenandppfields fromStandardQueryParametersin Cloud Shell v1alpha1 messages and API definition. This may impact clients directly using these parameters. - Removed
bearer_tokenandppfields fromStandardQueryParametersin Cloud Tasks v2beta2 messages and API definition. This may impact clients directly using these parameters. - Removed
bearer_tokenandppfields fromStandardQueryParametersin Cloud Composer v1beta1 messages and API definition. This may impact clients directly using these parameters. - In Compute Engine Beta API, the ’type’ enum and field within the
NetworkEndpointGroupmessage have been removed. Previously, only ‘LOAD_BALANCING’ was a valid value for this field. - In Compute Engine Beta API, a new
NETWORK_ENDPOINT_GROUPSmetric has been added to theQuotamessage’sMetricValueValuesEnum, which has shifted the integer values of subsequent enum members. Code relying on explicit integer values for these enums may be affected. - The
typefield, which specified the type of the network endpoint group (only ‘LOAD_BALANCING’ was valid), has been removed from theNetworkEndpointGroupmessage.- File: compute_beta.json:10545
- The
bearer_tokenandpp(pretty-print) fields have been removed from theStandardQueryParametersmessage across multiple APIs (Container, Container Analysis, Dataflow). This affects internal API message structures. - The
bearer_tokenandpp(pretty-print) fields have been removed from theStandardQueryParametersmessage across multiple APIs (Container, Container Analysis, Dataflow). This affects internal API message structures.- File: container_v1.json:43
- Removed
bearer_tokenandpp(pretty-print) parameters fromStandardQueryParametersin the DLP v2 API. This may affect custom API calls relying on these parameters.- File: dlp_v2_messages.py:3697
- Removed
bearer_tokenandpp(pretty-print) parameters from thedlp_v2.jsonAPI definition. This may affect clients generated from this definition.- File: dlp_v2.json:44
- The
bearer_tokenandpp(pretty-print) fields have been removed from theStandardQueryParametersacross several API versions, including Genomics v1, v1alpha2, v2alpha1, IAM v1, Language v1, Logging v2, ML v1, OS Login v1, and v1alpha. Clients explicitly using these parameters may experience breakage. - Removed
bearer_tokenandpp(pretty-print) fields fromStandardQueryParametersacross multiple APIs. Clients directly using these query parameters for authentication or response formatting might be affected. - Removed ‘bearer_token’ and ‘pp’ (pretty-print) standard query parameters from the Video Intelligence v1 API definition and its Python client messages. Clients relying on these specific parameters may be affected.
- Removed ‘bearer_token’ and ‘pp’ (pretty-print) standard query parameters from the Video Intelligence v1 API definition. Clients relying on these specific parameters may be affected.
- Removed ‘bearer_token’ and ‘pp’ (pretty-print) standard query parameters from the Vision v1 API definition and its Python client messages. Clients relying on these specific parameters may be affected.
- Removed ‘bearer_token’ and ‘pp’ (pretty-print) standard query parameters from the Vision v1 API definition. Clients relying on these specific parameters may be affected.
- File: vision_v1.json:44
- Removal of ‘bearer_token’ query parameter from Vision API v1 discovery document. Clients explicitly using this parameter for OAuth bearer token might be affected.
- File: vision_v1.json:44
- Removal of ‘pp’ (pretty-print) query parameter from Vision API v1 discovery document. Clients relying on this specific parameter for response formatting might be affected, though ‘prettyPrint’ remains available.
- File: vision_v1.json:69
Security Updates
- Added validation for SSH keys in Compute Engine metadata to prevent private keys from being uploaded and to ensure public keys adhere to the expected ‘username:key’ format. [MEDIUM]
- File: metadata_utils.py:20
- New capabilities to manage signed URL keys for Cloud CDN on Backend Buckets and Backend Services have been introduced, allowing for more granular control over content access and security for CDN-served assets. [MEDIUM]
- File: compute_v1_client.py:520
- Introduced the
Secretmessage withcipherTextandkeyNamein Genomics v1alpha2 and v2alpha1 APIs. This new message is used by theAction.credentialsfield to securely specify encrypted credentials for pulling private container images, enhancing credential management. [MEDIUM]
New Features by Service
Cloud Bigtable
- Added new flags to the
cbtcommand-line tool for specifying a custom User Agent, columns to read, and limiting cells per column.- Flags:
-user-agent,-columns,-cells-per-column - File: arguments.py
- Flags:
Cloud Datastore
- Added
gcloud datastore indexescommand group to beta, includingcleanupandcreatecommands for managing Datastore indexes.- Flags:
gcloud datastore indexes cleanup,gcloud datastore indexes create
- Flags:
Cloud Interconnect
- Promoted interconnects attachments partner related commands to General Availability (GA).
- File: flags.py
Cloud Storage
- Updated the gsutil component to version 4.32.
Cloud TPU
- Added the
--preemptibleflag togcloud beta compute tpus createto allow creation of preemptible TPUs.- Flags:
--preemptible - File: util.py
- Flags:
- Introduced ’tpu:v1’ API version and removed ’tpu:v1beta1’, with ’tpu:v1alpha1’ becoming the default.
- File: apis_map.py:673
- The Cloud TPU v1 API has been introduced, providing programmatic access to manage Cloud TPU resources. This includes capabilities to list and retrieve information about accelerator types and supported TensorFlow versions, as well as perform CRUD operations (create, delete, get, list) on TPU nodes. Furthermore, it adds functionality to reimage, reset, start, and stop TPU nodes, and to manage long-running operations associated with these actions.
- File: tpu_v1_client.py
- Introduces the Cloud TPU v1 API, providing full lifecycle management for TPU nodes (create, get, list, delete, reimage, reset, stop, start), along with listing available TensorFlow versions and accelerator types.
- File: tpu_v1.json
- The SDK’s API generation configuration for the Cloud TPU API has been updated to include a ‘v1’ stable version, replacing a previously listed ‘v1beta1’ entry.
Compute Engine
- Added the
--networkflag togcloud compute images exportto enable specifying a network other than ‘default’ for the export process.- Flags:
--network - File: flags.py
- Flags:
- Promoted the
--quic-overrideflag forcompute target-https-proxies createandupdatecommands to General Availability (GA).- Flags:
--quic-override
- Flags:
- New flags
--plan(for commitment duration) and--resources(for VCPU and MEMORY commitments) are added for creating Compute Commitments. A new--typeflag is also introduced for commitment types likememory-optimized.- Flags:
--plan,--resources,--type - File: flags.py:79
- Flags:
- New bandwidth options (‘50m’, ‘100m’, ‘200m’, ‘300m’, ‘400m’, ‘500m’, ‘1g’, ‘2g’, ‘5g’, ‘10g’) are available for Interconnect Attachments.
- Flags:
--bandwidth - File: flags.py:27
- Flags:
- Added new fields and methods to support Cloud CDN Signed URLs for Backend Buckets. This includes the
BackendBucketCdnPolicymessage, thecdnPolicyfield inBackendBucket, andaddSignedUrlKey/deleteSignedUrlKeymethods for backend buckets.- File: compute_v1.json:1672
- Added new fields to support Cloud CDN Signed URLs for Backend Services. This includes
signedUrlCacheMaxAgeSecandsignedUrlKeyNamesinCdnPolicy, andaddSignedUrlKey/deleteSignedUrlKeymethods for backend services.- File: compute_v1.json:2078
- Introduced
DistributionPolicyandDistributionPolicyZoneConfigurationmessage types in v1, and added adistributionPolicyfield toInstanceGroupManager, indicating expanded support for configuring instance distribution in regional managed instance groups.- File: compute_v1.json:3770
- Added a new message type
RegionTargetHttpsProxiesSetSslCertificatesRequestto allow setting SSL certificates for regional Target HTTPS Proxies in the alpha API.- File: compute_alpha.json:16553
- Added a
statusfield to theNodeGroupmessage with enum values like CREATING, DELETING, INVALID, and READY in alpha and beta APIs.- File: compute_alpha.json:13560
- Added
NETWORK_ENDPOINT_GROUPSto theAcceleratorTypeenum in alpha and beta APIs, indicating support for this resource type.- File: compute_alpha.json:15339
Dataproc
- Introduced new resource argument definitions for Dataproc workflow templates, including a completer for regions and standardized project attributes.
- Flags:
--template,--region - File: flags.py:42
- Flags:
- Added a
bootDiskTypefield to theDiskConfigmessage, allowing specification of the boot disk type (e.g., pd-ssd, pd-standard) for clusters.
Cloud Functions
- Introduced concept-based resource arguments for Cloud Functions, enabling more standardized and robust argument parsing for functions and regions.
- Flags:
--region,--function - File: flags.py:250
- Flags:
Cloud Source Repositories
- Enhanced flexibility for updating Pub/Sub topic configurations, allowing for partial updates to message format or service account without respecifying all fields.
- Flags:
--message-format,--service-account - File: util.py:165
- Flags:
IAM
- Groundwork laid for new
add-iam-policy-bindingcommands through the YAML command framework. This includes new command typeADD_IAM_POLICY_BINDINGand logic to fetch, modify, and set IAM policies.
App Engine
- Introduced a new ‘rolloutStrategy’ field to
EndpointsApiServiceto specify how Endpoints service configurations are managed (FIXED or MANAGED).
Cloud Filestore (possible)
- Added new API definitions for ‘file’ service (v1alpha1 and v1beta1), indicating support for a new file storage service.
- File: apis_map.py:440
Compute Engine (Alpha)
- Added new service for managing regional SSL certificates, including operations to delete, get, insert, list, and test IAM permissions for these certificates.
- Introduced a new service for managing regional Target HTTPS Proxies, supporting delete, get, insert, list, set SSL certificates, set URL maps, and test IAM permissions.
- Added the
GetNatMappingInfomethod to theRoutersServiceto retrieve runtime NAT mapping information of VM endpoints. - Added the
AggregatedListmethod to the globalSslCertificatesServiceto retrieve a consolidated list of all regional and global SSL certificate resources. - Added the
AggregatedListmethod to the globalTargetHttpsProxiesServiceto retrieve a consolidated list of all regional and global Target HTTPS Proxy resources. - Added API request messages for full CRUD (Create, Read, Update, Delete) operations and IAM test permissions for regional SSL Certificates.
- Introduced resource collections for regional SSL Certificates and regional Target HTTPS Proxies, indicating support for these resources.
- File: resources.py:335
Compute Engine (Beta)
- Added
statusfield andStatusValueValuesEnumtoNodeGroupNodefor tracking the operational status (CREATING, DELETING, INVALID, READY) of individual nodes within a node group.
Compute Engine (v1)
- New methods
AddSignedUrlKeyandDeleteSignedUrlKeyadded to Backend Buckets for managing Cloud CDN Signed URL Keys.- File: compute_v1_client.py:520
- New methods
AddSignedUrlKeyandDeleteSignedUrlKeyadded to Backend Services for managing Cloud CDN Signed URL Keys.- File: compute_v1_client.py:686
- Added
cdnPolicyfield toBackendBucketand introducedBackendBucketCdnPolicyto configure signed URL caching and list configured key names. - Extended
BackendServiceCdnPolicywithsignedUrlCacheMaxAgeSecandsignedUrlKeyNamesfor configuring signed URL caching and managing keys for Cloud CDN. - Introduced
DistributionPolicyandDistributionPolicyZoneConfigurationmessages and addeddistributionPolicyfield toInstanceGroupManager, enabling specified instance distribution in regional managed instance groups.
Container Analysis
- Added
continuousAnalysisfield andContinuousAnalysisValueValuesEnumto theDiscoveredmessage, introducing continuous analysis functionality.
Cloud Filestore
- Initial integration of the Cloud Filestore API into the SDK. This chunk introduces the v1alpha1 message definitions and resource structures, along with the v1beta1 API client.
- Groundwork for the Cloud Filestore service by introducing its
v1beta1API messages and resource definitions. This enables future SDK functionality for managing Filestore instances, locations, and long-running operations. - Introduction of the Cloud Filestore API (v1alpha1), enabling programmatic creation, retrieval, updating, and deletion of Filestore instances, volumes, and network configurations. It defines operations for listing locations and managing long-running operations related to Filestore resources.
- File: file_v1alpha1.json
- A new API version,
file:v1beta1, for Cloud Filestore has been introduced, allowing for the creation and management of cloud file servers via API.- File: file_v1beta1.json
Cloud Life Sciences (Genomics)
- The Genomics v1alpha2 and v2alpha1 APIs now support specifying a
subnetworkfor VM network configurations within pipeline resources. - The Genomics v1alpha2 and v2alpha1 APIs now allow specifying encrypted credentials (
Secret) within anActionto pull container images from private registries.
Cloud Speech-to-Text API
- Added
biasingStrengthfield with enum options (BIASING_STRENGTH_UNSPECIFIED, LOW, MEDIUM, HIGH) toSpeechContext, enabling more granular control over speech recognition hints for v1 and v1p1beta1.
Cloud SQL Admin API
- The
DemoteMasterfunctionality is now described as demoting a standalone instance to a Cloud SQL read replica for an external database server, indicating activated or clarified functionality.
TPU
- Introduction of the Google Cloud TPU v1 API definitions. This includes new message types for managing Accelerator Types, TensorFlow Versions, Nodes (create, delete, get, list, reimage, reset, start, stop), and long-running operations. A key addition is the
SchedulingConfigwithin theNodemessage, which contains apreemptibleboolean field, enabling support for preemptible TPU instances.- File: tpu_v1_messages.py:1
Cloud TPU (Alpha)
- Adds ‘schedulingConfig’ to the TPU Node schema in the v1alpha1 API, allowing configuration for preemptible TPU nodes.
- File: tpu_v1alpha1.json:344
Cloud Filestore (inferred)
- The SDK’s API generation configuration now includes a ‘file’ API with ‘v1alpha1’ (default) and ‘v1beta1’ versions, indicating new support for a file storage service.
Credential & Auth Changes
- Implemented new validation logic within
metadata_utils.pyto check the format of SSH keys and prevent private keys from being added to Compute Engine instance metadata.- File: metadata_utils.py:80
- The
bearer_tokenquery parameter, previously used for OAuth bearer tokens, has been removed fromStandardQueryParametersacross multiple API versions, including Cloud IoT v1, Cloud KMS v1, Cloud Resource Search v1, Cloud Scheduler v1alpha1, Cloud Shell v1 and v1alpha1, Cloud Tasks v2beta2, and Cloud Composer v1beta1. Clients should rely onaccess_tokenor standard OAuth 2.0 practices.- File: cloudiot_v1.json:44
- A new
SignedUrlKeymessage has been added, which includeskeyNameandkeyValuefields, for managing signing keys used in Cloud CDN Signed URLs. - In Genomics v1alpha2 and v2alpha1 APIs, the
Actionmessage now includes acredentialsfield which uses the newSecrettype for securely providing encrypted credentials for private container image access. The description for theENABLE_IMAGE_STREAMINGflag has also been updated to reflect this new credential handling mechanism. - Removed the
bearer_tokenfield fromStandardQueryParametersacross multiple APIs (OS Login, Pub/Sub, Runtime Config, Service Management, Service Networking, Service User, Source Repository, Spanner, Speech-to-Text, Testing). Authentication should rely on the standardAuthorizationheader. - The ‘bearer_token’ query parameter has been removed from the Vision API v1 discovery document, potentially indicating a shift in how authentication tokens are handled for this API.
- File: vision_v1.json:44
API Changes
Compute Engine
- Refactored the internal API method for setting security policies on backend services, including making
MakeSetSecurityPolicyRequestTuplepublic.- File: client.py:79
- Introduced a new GA-specific patch request method (
_MakePatchRequestTupleGa) and re-organized patch logic for interconnect attachments, supporting their promotion to GA.- File: client.py:108
- Updated API definitions for
compute_alpha,compute_beta, andcompute_v1versions, with notable schema changes incompute_alpha.json.- File: compute_alpha.json
- API revisions updated from ‘20180525’ to ‘20180604’ for alpha, beta, and v1 APIs.
- File: compute_alpha.json:7
- Clarified descriptions for
fingerprintfields in several resources (BackendService, InstanceGroupManager, Metadata, SslPolicy, Subnetwork, UrlMap) to suggest aget()request for the latest fingerprint.- File: compute_alpha.json:2171
- The
ManagedInstanceresource description was updated for clarity from ‘Next available tag: 12’ to ‘A Managed Instance resource’.- File: compute_alpha.json:12030
- An output-only
regionfield was added to theSslCertificatemessage in the alpha API.- File: compute_alpha.json:19169
Cloud Functions
- Modified the
CreateFunctionmethod to explicitly accept alocationargument, changing its call signature and internal resource resolution.- File: util.py:340
Cloud IoT
- Restructured the
cloudiot_v1API client, involving the removal of client and resource-specific Python files and updates to message definitions.- File: cloudiot_v1_client.py
- The
groupsresource and all its associated methods and device management capabilities undercloudiot.projects.locations.registries.groupshave been removed from the Cloud IoT v1 API definition.- File: cloudiot_v1.json:1211
Cloud TPU
- The Cloud TPU API version has been promoted from
v1alpha1tov1in resource definitions.- File: resources.yaml:2
- Introduction of the Cloud TPU v1 API, including new resource definitions (e.g., Projects, Locations, AcceleratorTypes, Nodes, Operations, TensorFlowVersions) and a generated client library to interact with these resources.
- File: resources.py
- The TPU API configuration has been updated to support a new ‘v1’ version.
Internal SDK API
- The
CreateRequestmethod inDeclarativeArgumentGeneratornow accepts anoverride_methodparameter, allowing commands to specify a different API method for request creation, useful for operations involving multiple API calls or specialized handling.- File: arg_marshalling.py:75
Cloud Source Repositories
- The internal helper
CreateTopicResourcePresentationSpecwas modified to explicitly takehelp_textas an argument, changing its internal API.- File: resource_args.py:67
Multiple APIs (e.g., Access Context Manager, API Keys, App Engine, Bigtable Admin, etc.)
- Removed ‘bearer_token’ and ‘pp’ (pretty-print) fields from ‘StandardQueryParameters’ across numerous API definitions. This is unlikely to affect gcloud CLI users directly, as these are typically handled internally by the SDK.
App Engine
- Clarified the description for the ‘configId’ field within the
EndpointsApiServiceto better explain rollout strategies.
Bigtable Cluster Admin
- The API revision for
bigtableclusteradmin_v1has been rolled back from20180514to20180509, indicating a minor correction in the API definition.
Multiple APIs
- Removed the
bearer_tokenandpp(pretty-print) fields from theStandardQueryParametersobject across various APIs including Cloud KMS, Cloud Resource Search, Cloud Scheduler, Cloud Shell, Cloud Tasks, and Cloud Composer.
Compute Engine (Alpha)
- New Compute Alpha API methods for regional SSL certificate management:
compute.regionSslCertificates.delete,compute.regionSslCertificates.get,compute.regionSslCertificates.insert,compute.regionSslCertificates.list,compute.regionSslCertificates.testIamPermissions. - New Compute Alpha API methods for regional Target HTTPS Proxy management:
compute.regionTargetHttpsProxies.delete,compute.regionTargetHttpsProxies.get,compute.regionTargetHttpsProxies.insert,compute.regionTargetHttpsProxies.list,compute.regionTargetHttpsProxies.setSslCertificates,compute.regionTargetHttpsProxies.setUrlMap,compute.regionTargetHttpsProxies.testIamPermissions. - New Compute Alpha API method
compute.routers.getNatMappingInfofor retrieving router NAT mapping information. - New Compute Alpha API method
compute.sslCertificates.aggregatedListfor listing all SSL certificates. - New Compute Alpha API method
compute.targetHttpsProxies.aggregatedListfor listing all Target HTTPS Proxies. - New API request messages for regional SSL Certificates and related resource collection definitions were added.
Compute Engine (Beta)
- The
NetworkEndpointGroupmessage has been modified, removing theTypeValueValuesEnumand thetypefield. - The
NodeGroupNodemessage now includesStatusValueValuesEnumand astatusfield to track node states. - The
Quotamessage’sMetricValueValuesEnumnow includesNETWORK_ENDPOINT_GROUPS, causing a shift in enum integer values.
Compute Engine (v1)
- Client methods
AddSignedUrlKeyandDeleteSignedUrlKeywere added for both Backend Buckets and Backend Services.- File: compute_v1_client.py:520
- The
BackendBucketmessage now includescdnPolicyand a newBackendBucketCdnPolicymessage defines CDN configurations including signed URL cache settings. - The
BackendServiceCdnPolicymessage now includessignedUrlCacheMaxAgeSecandsignedUrlKeyNamesfields. - New messages
DistributionPolicyandDistributionPolicyZoneConfigurationwere added and integrated into theInstanceGroupManagermessage.
Kubernetes Engine
- The
DailyMaintenanceWindowmessage had a minor unicode character fix in thestartTimedescription. - The
SubjectAccessReviewStatusmessage was updated to include adeniedboolean field, and thereasonfield was reordered.
Dataflow
- Minor unicode character fixes were applied to descriptions within the
WorkerMessagemessage.
Deployment Manager
- A minor descriptive change for the
typefield inDeploymentmanagerTypeProvidersGetTypeRequestfrom ‘The name of the type provider for this request.’ to ‘The name of the type provider type for this request.’. - Clarified the description for the
typeparameter inDeploymentmanagerTypeProvidersGetTypeRequest(v2beta, alpha, and v2 APIs), changing ’type provider’ to ’type provider type’. - Updated API revisions for Deployment Manager Alpha, v2, and v2beta to ‘20180604’.
Discovery API
- Updated the
batchPathfor the Discovery v1 API from ‘batch’ to ‘batch/discovery/v1’.- File: discovery_v1.json:19
Cloud DLP
- Refactored descriptions for
GooglePrivacyDlpV2DeltaPresenceEstimationConfig,GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues, andGooglePrivacyDlpV2DeltaPresenceEstimationResultfor improved readability.- File: dlp_v2_messages.py:1466
- Corrected string literals and clarified descriptions for
lowerBoundandupperBoundinGooglePrivacyDlpV2FixedSizeBucketingConfig.- File: dlp_v2_messages.py:1852
- Minor wording change in the description for
GooglePrivacyDlpV2HotwordRule.- File: dlp_v2_messages.py:1866
- Clarified
redactAllTextinGooglePrivacyDlpV2ImageRedactionConfigto state ‘Only one should be provided’.- File: dlp_v2_messages.py:1909
- Clarified the behavior of an empty
infoTypeslist inGooglePrivacyDlpV2InfoTypeTransformation, stating it applies to all requested infoTypes inInspectConfig.- File: dlp_v2_messages.py:1993
- Significantly clarified the
OutputSchemaValueValuesEnum,outputSchemafield, andtablefield descriptions forGooglePrivacyDlpV2OutputStorageConfig, detailing usage for Inspect vs. Risk jobs and column handling.- File: dlp_v2_messages.py:2661
- Refined the description for
GooglePrivacyDlpV2RedactImageRequestto specifically mention image redaction by covering content with a colored rectangle.- File: dlp_v2_messages.py:2989
- Extended
GooglePrivacyDlpV2SaveFindingscompatibility to include ‘Risk’ jobs, in addition to ‘Inspect’.- File: dlp_v2_messages.py:3145
Cloud DNS
- Updated API revisions for DNS v1, v1alpha2, v1beta1, v1beta2, and v2beta1 APIs to ‘20180604’.
- File: dns_v1.json:4
Cloud Filestore
- Added new message definitions for Cloud Filestore v1alpha1, including core resources like
Instance,NetworkConfig,VolumeConfig,Operation, andLocationwith their respective fields and enums. - Added resource collection definitions for Cloud Filestore v1alpha1, mapping API paths for projects, locations, instances, and operations.
- File: resources.py:1
- Added the API client for Cloud Filestore v1beta1, providing methods to interact with operations (Cancel, Delete, Get, List) and locations (Get, List).
- File: file_v1beta1_client.py:1
- Introduced the
v1beta1API for Cloud Filestore, defining message structures for operations (e.g.,CancelOperationRequest,Operation), locations (e.g.,Location,FileProjectsLocationsGetRequest), and standard error handling (Status). - Addition of the
file:v1alpha1Discovery API definition for Cloud Filestore, including schemas forInstance,VolumeConfig,NetworkConfig,Location, andOperationresources, along with methods for listing and managing these resources.- File: file_v1alpha1.json
Multiple APIs (Genomics, IAM, Language, Logging, ML, OS Login)
- The
bearer_tokenandppfields have been removed from theStandardQueryParametersmessage across various APIs.
Cloud Life Sciences (Genomics)
- In Genomics v1alpha2 and v2alpha1, the
PipelineResources.Networkmessage now includes asubnetworkfield. TheActionmessage has gained acredentialsfield of the newSecrettype.
OS Login API
- Removed
bearer_tokenandppfromStandardQueryParametersin v1, v1alpha, and v1beta API message and JSON definitions.
Cloud Pub/Sub API
- Removed
bearer_tokenandppfromStandardQueryParametersin v1 API message and JSON definitions.
Cloud Runtime Config API
- Removed
bearer_tokenandppfromStandardQueryParametersin v1beta1 API message and JSON definitions.
Service Management API
- Removed
bearer_tokenandppfromStandardQueryParametersin v1 API message and JSON definitions. Also included minor cosmetic changes to string quotes in descriptions.
Service Networking API
- Removed
bearer_tokenandppfromStandardQueryParametersin v1alpha API message and JSON definitions. Also included minor cosmetic changes to string quotes in descriptions.
Service User API
- Removed
bearer_tokenandppfromStandardQueryParametersin v1 API message and JSON definitions. Also included minor cosmetic changes to string quotes in descriptions.
Cloud Source Repositories API
- Removed
bearer_tokenandppfromStandardQueryParametersin v1 API message and JSON definitions.
Cloud Spanner API
- Removed
bearer_tokenandppfromStandardQueryParametersin v1 API message and JSON definitions.
Cloud Speech-to-Text API
- Added
biasingStrengthtoSpeechContextin v1 and v1p1beta1 API message and JSON definitions. Removedbearer_tokenandppfromStandardQueryParameters.
Cloud SQL Admin API
- Updated the description for the
AddServerCamethod and theDemoteMastermethod in v1beta4. Added a newprivateNetworkstring field toIpConfigurationin v1beta4, marked as ‘Reserved for future use’.
Cloud Storage API
- Minor cosmetic changes to string quotes in descriptions for
Policymembers, roles, andTestIamPermissionsResponsepermissions.
Cloud Testing API
- Removed
bearer_tokenandppfromStandardQueryParametersin v1 API message and JSON definitions. Also included minor cosmetic changes to string quotes in descriptions.
TPU
- The
Nodemessage in thetpu.v1alpha1API was updated to include a newschedulingConfigfield and the associatedSchedulingConfigmessage, which allows for specifying preemptible TPUs. This required re-indexing of existing fields (serviceAccount,state,tensorflowVersion).
Cloud TPU (Alpha)
- The ‘Node’ schema in the TPU v1alpha1 API now includes a ‘schedulingConfig’ field, which contains a ‘preemptible’ boolean field to specify preemptible TPU nodes.
- File: tpu_v1alpha1.json:344
Video Intelligence API
- Removed ‘bearer_token’ and ‘pp’ (pretty-print) standard query parameters from the API definition and its Python messages, consolidating pretty-print functionality under ‘prettyPrint’.
- Removed ‘bearer_token’ and ‘pp’ standard query parameters from the v1 API definition.
Vision API
- Updated the description for ‘bestGuessLabels’ in ‘GoogleCloudVisionV1p2beta1WebDetection’ and ‘WebDetection’ schemas for clarity. Also removed ‘bearer_token’ and ‘pp’ standard query parameters from Python client messages.
- Removed ‘bearer_token’ and ‘pp’ standard query parameters from the v1 API definition.
- File: vision_v1.json:44
Cloud Vision API
- The description for ‘bestGuessLabels’ in the Vision API v1 discovery document has been updated for clarity, specifying that it infers the topic from similar images on the open web.
- File: vision_v1.json:1431
Unannounced Changes
Changes found in code but not mentioned in official release notes: π΅οΈ
Groundwork
- Enhanced Python runtime detection in
install.shto prefer unversionedpythonandpython3ifpython2is not found, indicating broader Python 3 compatibility efforts.- File: install.sh:77
- Introduced a new
sourcerepo.pyAPI client layer for Google Cloud Source Repositories, enabling new programmatic interactions with source control.- File: sourcerepo.py:1
- Introduced
_allow_py3attribute andDisallowPython3decorator in Calliope’s base classes, along with Python 3 compatibility checks, allowing command groups to explicitly opt out of Python 3 support.- File: base.py:665
- Added a new module
calliope/concepts/multitype.pyfor handling multiple types of concepts, suggesting new advanced argument parsing capabilities.- File: multitype.py:1
- Introduced new Google Cloud File API clients, messages, and discovery documents for v1alpha1 and v1beta1, laying groundwork for managing file storage services.
- Added new Google Cloud TPU API client, messages, and discovery documents for v1, providing a robust API layer for TPU resource management, complementing the announced
--preemptibleflag.- File: tpu_v1_client.py:1
- Introduced
FullySpecifiedAnchorFallthroughandFilteredDepsclasses in the concepts dependency management, allowing for more granular control and filtering of resource attribute fallthroughs.- File: deps.py:195
- A new
snapshotresource definition has been added tocompute/resources.yaml, laying groundwork for new snapshot management commands.- File: resources.yaml:73
- Introduced
googlecloudsdk/command_lib/projects/resource_args.pyto centralize the definition and fallback logic for theprojectresource attribute across various services, replacing individualProjectAttributeConfigdefinitions.- File: resource_args.py:0
- Introduced conditional import of the gRPC library, indicating current Python 3 incompatibility for gRPC features and preventing crashes.
- File: grpc_util.py:22
- Added an API endpoint override property for ‘binaryauthorization’, laying groundwork for future features related to this service.
- File: properties.py:1384
- New API request messages (
ComputeRegionSslCertificatesDeleteRequest,GetRequest,InsertRequest,ListRequest,TestIamPermissionsRequest) were added for regional SSL Certificates in Compute Alpha. - Added resource collections for
REGIONSSLCERTIFICATESandREGIONTARGETHTTPSPROXIESin Compute Alpha resources.- File: resources.py:335
- Added
StatusValueValuesEnumand astatusfield toNodeGroupNodein Compute Beta for node status tracking. - Added
NETWORK_ENDPOINT_GROUPSto theMetricValueValuesEnumwithin theQuotamessage in Compute Beta, expanding available quota metrics. - New client methods (
AddSignedUrlKey,DeleteSignedUrlKey) were introduced forbackendBucketsandbackendServicesin Compute v1.- File: compute_v1_client.py:520
- The
BackendBucketmessage was updated to include acdnPolicyfield, alongside the newBackendBucketCdnPolicymessage for CDN configuration, including signed URL cache settings. - The
BackendServiceCdnPolicymessage was extended withsignedUrlCacheMaxAgeSecandsignedUrlKeyNamesfields for more detailed CDN signed URL configuration. - New API request messages (
ComputeBackendBucketsAddSignedUrlKeyRequest,DeleteSignedUrlKeyRequest,ComputeBackendServicesAddSignedUrlKeyRequest,DeleteSignedUrlKeyRequest) were added for managing signed URL keys. - New messages
DistributionPolicyandDistributionPolicyZoneConfigurationwere added to Compute v1, along with thedistributionPolicyfield inInstanceGroupManager, indicating support for regional instance group distribution policies. - A new
SignedUrlKeymessage was added, defining the structure for signed URL keys withkeyNameandkeyValuefields. - Added
SslCertificateAggregatedListmessage incompute_alpha.json, likely groundwork for a feature to list SSL certificates across scopes.- File: compute_alpha.json:19200
- Added new package structure and client library for a new ‘Cloud File’ service (v1alpha1), including services for instances, operations, and locations. This suggests the introduction or groundwork for a new managed file storage product (e.g., Filestore).
- Groundwork for the Cloud Filestore API by adding Python message definitions for v1alpha1. This lays the foundation for managing Cloud Filestore resources.
- Groundwork for the Cloud Filestore API by adding resource definitions for v1alpha1. This defines the structure for API resource names and collections.
- File: resources.py:1
- Groundwork for the Cloud Filestore API by adding the Python API client for v1beta1, enabling programmatic interaction with the service.
- File: file_v1beta1_client.py:1
- Addition of
v1beta1API messages for Google Cloud Filestore, including definitions for operations, locations, and common API parameters and error statuses. - Addition of resource definitions and base URLs for the
v1beta1Google Cloud Filestore API, setting up resource paths for projects, locations, and operations.- File: resources.py:1
- Introduction of the
file:v1beta1API discovery document for Cloud Filestore, including its full API surface definition.- File: file_v1beta1.json
- Addition of
Action.credentialsfield andSecretmessage in Genomics v1alpha2 and v2alpha1 APIs for encrypted private image credentials, along with the newNetwork.subnetworkfield. - Introduced a new package marker file for the TPU v1 API, signifying groundwork for a new API version.
- File: init.py
- Added
privateNetworkstring field to Cloud SQL Admin’sIpConfigurationin v1beta4, marked as ‘Reserved for future use’, indicating future feature development. - New resource definitions for the Cloud TPU v1 API were added, outlining the structure for projects, locations, accelerator types, nodes, operations, and TensorFlow versions.
- File: resources.py
- Added new API client and message definitions for the Google Cloud TPU v1 API, which represents a stable API version.
- File: tpu_v1_messages.py
- Configuration added for a new ‘file’ API with ‘v1alpha1’ and ‘v1beta1’ versions, suggesting groundwork for Cloud Filestore or a similar service.
- The TPU API configuration was updated to promote or introduce a ‘v1’ version, replacing a ‘v1beta1’ entry in the API generation config.
Refactoring
- Widespread addition of
from __future__ import unicode_literalsand adjustments to string/bytes handling across numerous Python files, indicating a large-scale refactoring for Python 2/3 compatibility. - Deletion of several
__init__.pyfiles inapi_lib/util,calliope/concepts, and variouscoresubdirectories, likely part of Python packaging refactoring or preparation for Python 3.- File: init.py
- Added
__hash__methods to several CalliopeConceptSpecandAttributeclasses, likely for performance improvements in data structures like sets or dictionaries.- File: concepts.py:96
- Significant refactoring of concept dependency handling logic within
calliope/concepts/deps.py, indicating internal improvements to argument resolution.- File: deps.py
- Major rewrite of
googlecloudsdk/core/util/platforms.py, enhancing platform utility functions, potentially related to improved Python version detection and environment setup.- File: platforms.py
- Removed the
google-cloud-sdk/lib/googlecloudsdk/command_lib/app/__init__.pyfile, suggesting internal restructuring within theappcommand group.- File: init.py
- Several App Engine command utility files (e.g.,
browser_dispatcher.py,create_util.py) hadfrom __future__ import unicode_literalsadded, indicating Python 2/3 compatibility adjustments.- File: browser_dispatcher.py:16
- The
trigger_build_server_sideproperty inapp/deploy_util.pynow uses.GetBool()for retrieving boolean values, improving property handling.- File: deploy_util.py:117
- Consolidated project attribute configuration across several services (Bigtable, Category Manager, Composer, Binary Authorization, DNS) by replacing specific
ProjectAttributeConfigdefinitions with a commonproject_resource_args.PROJECT_ATTRIBUTE_CONFIG.- File: arguments.py:243
- Clarified the help text for the
--replacement-diskflag for Compute Images, noting that the value is purely informational and not validated.- File: flags.py:38
- Significant refactoring in
compute/tpus/util.py, including the removal of custom API interaction functions (e.g.,Describe,Delete,Create) in favor of a more generic API client (apis.GetMessagesModule), aligning with the TPU API v1 promotion.- File: util.py:18
- Extensive refactoring for Python 2/3 compatibility, including adding
absolute_importandunicode_literalsto many files, convertingrangetolist(range), and usingsix.text_typefor string conversions.- File: flags.py:16
- Deletion of empty package marker files
google-cloud-sdk/lib/googlecloudsdk/command_lib/pubsub/__init__.py,google-cloud-sdk/lib/googlecloudsdk/command_lib/util/apis/__init__.py, andgoogle-cloud-sdk/lib/googlecloudsdk/command_lib/util/args/__init__.py.- File: init.py:1
- Clarified help text for
--authorized-gae-apps,--authorized-networks, and--database-flagsin Cloud SQL to explicitly state that values replace existing lists during updates.- File: flags.py:163
- Improved handling of base64 encoded data for Pub/Sub messages in Cloud Scheduler by ensuring proper unicode conversion before JSON serialization.
- File: util.py:104
- Various minor wording and formatting improvements in help texts and error messages across several services (IAM, KMS, Monitoring, Spanner, Scheduler).
- File: iam_util.py:98
- Refactoring of CLI tree generation and cache utilities for improved robustness and Python 2/3 compatibility, including changes to file I/O using
io.openand error handling.- File: cache_util.py:163
- Correction in static completion output to ensure proper encoding when writing to the completion stream, and added a robustness check for closing the file object.
- File: lookup.py:192
- Improved help text generation for ‘–labels’ and ‘–update-labels’ flags by introducing more descriptive format help messages for keys and values.
- File: labels_util.py:91
- Refactored Python package structure by removing content from numerous
__init__.pyfiles acrosscommand_lib/util/concepts,command_lib/util/hooks,core, andthird_partydirectories, potentially indicating a move to implicit namespace packages.- File: init.py:1
- Enhanced resource completer logic to consider API versions when retrieving collection information for attributes.
- File: completers.py:278
- Improved resource parsing and dependency resolution for complex resource arguments by adding anchor-based fallthroughs and refining fallthrough value handling.
- File: info_holders.py:201
- Modified SSH command utility to support more flexible output handling, allowing stdout to be piped to a specific file or written to the console log.
- File: ssh.py:935
- Cleaned up
pytypeannotations inmetadata_table.pyandpersistent_cache_base.pyfor improved type checking.- File: metadata_table.py:263
- Updated Python 2 unicode string literals to be compatible with Python 3.
- File: console_attr.py:372
- Enhanced GCE metadata server response decoding by explicitly using
http_encoding.Decodefor robustness.- File: gce_read.py:54
- Implemented Python 3 compatibility fix for
mapfunction, explicitly converting its iterator output to a list.- File: execution_utils.py:311
- Improved datetime parsing flexibility in resource expressions to accommodate either ‘T’ or a space as separators.
- File: resource_expr.py:480
- Enhanced YAML printer to correctly represent
collections.OrderedDictobjects, preserving insertion order in YAML output.- File: yaml_printer.py:18
- Improved error message for
AmbiguousResourcePathby providing more specific collection information.- File: resources.py:841
- Corrected the suggested command for re-running installation to use ‘gcloud’ instead of the interpreter path, improving user instructions.
- File: update_manager.py:1423
- Updated Python version compatibility checks to provide more tailored messages for Python 2.x and 3.x, and introduced an option to raise an exception instead of exiting.
- File: platforms.py:395
- A typo in the description for the
OFFLINEstatus ofCloudFunctionmessages was corrected, changingisnβttoisn't. - Minor cosmetic cleanup in Cloud Resource Manager v1 messages, replacing unicode left/right double quotation marks (
β,β) with standard ASCII double quotation marks ("). - Minor cosmetic cleanup in Cloud Resource Manager v2alpha1 messages, replacing unicode apostrophe (
β) with standard ASCII single quotation mark (') inFolderresource descriptions fordisplayNameandparentfields. - Minor cosmetic cleanup in Cloud Resource Manager v2beta1 messages, replacing unicode apostrophe (
β) with standard ASCII single quotation mark (') inFolderresource descriptions fordisplayNameandparentfields. - Improved documentation/description for
fingerprintfields in several Compute Alpha, Beta, and v1 messages (e.g.,BackendService,InstanceGroupManager,Metadata,SslPolicy,Subnetwork,TargetVpnGateway,UrlMap). - Description updates for
DistributionPolicyandDistributionPolicyZoneConfigurationin Compute Beta. - The description for
ManagedInstancewas changed from ‘Next available tag: 12’ to ‘A Managed Instance resource.’ in Compute Beta and v1. - Removed
bearer_tokenandppfields fromStandardQueryParametersmessages across Container, Container Analysis, and Dataflow APIs, indicating internal API refactoring. - Minor description updates for various fields across Compute Engine and Deployment Manager APIs, improving clarity without adding new functionality.
- File: compute_alpha.json:2171
- Removal of
bearer_tokenandpp(pretty-print) fromStandardQueryParametersacross various APIs (Genomics, IAM, Language, Logging, ML, OS Login). This appears to be an internal cleanup/refactoring of common API parameters. - Minor text changes in Genomics v1alpha2 and v2alpha1 API descriptions, such as replacing ‘NVIDIA\xae Tesla\xae’ with ‘NVIDIA(R) Tesla(R)’ for accelerator types.
- API revision updates for
replicapoolupdater_v1beta1.json,sqladmin_v1beta3.json,sqladmin_v1beta4.json,storage_v1.json, andtoolresults_v1beta3.jsonindicating general regeneration or minor updates to API definitions. - Minor cosmetic changes to string quotes in API message and JSON descriptions across Service Management, Service Networking, Service Usage, Service User, Storage, and Testing APIs.
- Updated
tpu.v1alpha1API message definitions to includeSchedulingConfigfor Node resources, aligning with features introduced in thetpu.v1API.- File: tpu_v1alpha1_messages.py
- Removal of redundant ‘bearer_token’ and ‘pp’ standard query parameters from Video Intelligence v1 API client messages and API definition.
- Removal of redundant ‘bearer_token’ and ‘pp’ standard query parameters from Video Intelligence v1 API definition.
- Removal of redundant ‘bearer_token’ and ‘pp’ standard query parameters from Vision v1 API client messages and API definition. Also a minor description update.
- File: vision_v1_messages.py
- Removal of redundant ‘bearer_token’ and ‘pp’ standard query parameters from Vision v1 API definition.
- File: vision_v1.json
- Removed ‘bearer_token’ query parameter from Vision API v1 discovery document.
- File: vision_v1.json:44
- Removed ‘pp’ (pretty-print) query parameter from Vision API v1 discovery document.
- File: vision_v1.json:69
- Clarified description for ‘bestGuessLabels’ field in Vision API v1 discovery document.
- File: vision_v1.json:1431
Hidden Feature
- Added new fine-grained bandwidth options (‘50m’, ‘100m’, ‘200m’, ‘300m’, ‘400m’, ‘500m’, ‘1g’, ‘2g’, ‘5g’, ‘10g’) for interconnect attachments, not explicitly mentioned in release notes.
- File: client.py:34
- Added a new
multitype.pymodule, introducingMultitypeConceptSpecandTypedConceptResultto support concepts that can represent multiple resource types, with type resolution based on actively specified attributes.- File: multitype.py:1
- The
DEFAULT_LIST_FORMATfor Compute Routes now includesnextHopNetwork, enhancing the displayed information for routes.- File: flags.py:39
- Added a new
IdentityProjectorclass, a no-op resource projector that preserves the original object, likely for internal use cases. - Added
regionSslCertificatesservice to the Compute Alpha client, enabling management of regional SSL certificates. - Added
regionTargetHttpsProxiesservice to the Compute Alpha client, enabling management of regional Target HTTPS Proxies. - New Compute Alpha API methods for regional SSL certificate management have been added.
- New Compute Alpha API methods for regional Target HTTPS Proxy management have been added.
- The
GetNatMappingInfomethod was added to the Compute Alpha RoutersService, providing new functionality to retrieve NAT mapping information for VM endpoints. - The
AggregatedListmethod was added to the Compute Alpha SslCertificatesService, allowing for a combined listing of regional and global SSL certificates. - The
AggregatedListmethod was added to the Compute Alpha TargetHttpsProxiesService, providing a way to list all regional and global Target HTTPS Proxies. - The full API definition for the new Cloud Filestore service (v1alpha1) has been added to the SDK, allowing interaction with file server instances, volumes, and networks. This is a new service integration not explicitly mentioned in the provided release notes.
- File: file_v1alpha1.json
- A new client library for the Cloud TPU v1 API was introduced, enabling interaction with Cloud TPU resources through methods for managing accelerator types, nodes (create, delete, reimage, reset, start, stop), operations, locations, and TensorFlow versions.
- File: tpu_v1_client.py
- Introduction of the Cloud TPU v1 API, providing full lifecycle management for TPU nodes.
- File: tpu_v1.json
- Addition of ‘schedulingConfig’ with a ‘preemptible’ option to the TPU v1alpha1 API for node configuration.
- File: tpu_v1alpha1.json
Stats
- Files changed: 316
- Inserted lines: +12,722
- Deleted lines: -3,603
Generated by Gemini - View full diff
Google, Google Cloud, and gcloud are trademarks of Google LLC. This analysis was automatically generated by an AI agent examining only public release artifacts, without access to internal or non-public information from Google Cloud.