diff --git a/admob/v1/admob-api.json b/admob/v1/admob-api.json index 43b67bea2b9..b73ea3411b5 100644 --- a/admob/v1/admob-api.json +++ b/admob/v1/admob-api.json @@ -321,7 +321,7 @@ } } }, - "revision": "20221026", + "revision": "20230112", "rootUrl": "https://admob.googleapis.com/", "schemas": { "AdUnit": { @@ -362,6 +362,23 @@ "description": "Describes an AdMob app for a specific platform (For example: Android or iOS).", "id": "App", "properties": { + "appApprovalState": { + "description": "Output only. The approval state for the app.", + "enum": [ + "APP_APPROVAL_STATE_UNSPECIFIED", + "ACTION_REQUIRED", + "IN_REVIEW", + "APPROVED" + ], + "enumDescriptions": [ + "Default value for an unset field. Do not use.", + "The app requires additional user action to be approved. Please refer to https://support.google.com/admob/answer/10564477 for details and next steps.", + "The app is pending review.", + "The app is approved and can serve ads." + ], + "readOnly": true, + "type": "string" + }, "appId": { "description": "The externally visible ID of the app which can be used to integrate with the AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~0123456789", "type": "string" diff --git a/admob/v1/admob-gen.go b/admob/v1/admob-gen.go index f9eb01a36ed..c6db07c7037 100644 --- a/admob/v1/admob-gen.go +++ b/admob/v1/admob-gen.go @@ -267,6 +267,19 @@ func (s *AdUnit) MarshalJSON() ([]byte, error) { // App: Describes an AdMob app for a specific platform (For example: // Android or iOS). type App struct { + // AppApprovalState: Output only. The approval state for the app. + // + // Possible values: + // "APP_APPROVAL_STATE_UNSPECIFIED" - Default value for an unset + // field. Do not use. + // "ACTION_REQUIRED" - The app requires additional user action to be + // approved. Please refer to + // https://support.google.com/admob/answer/10564477 for details and next + // steps. + // "IN_REVIEW" - The app is pending review. + // "APPROVED" - The app is approved and can serve ads. + AppApprovalState string `json:"appApprovalState,omitempty"` + // AppId: The externally visible ID of the app which can be used to // integrate with the AdMob SDK. This is a read only property. Example: // ca-app-pub-9876543210987654~0123456789 @@ -292,7 +305,7 @@ type App struct { // "ANDROID". Platform string `json:"platform,omitempty"` - // ForceSendFields is a list of field names (e.g. "AppId") to + // ForceSendFields is a list of field names (e.g. "AppApprovalState") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -300,12 +313,13 @@ type App struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AppId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AppApprovalState") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } diff --git a/admob/v1beta/admob-api.json b/admob/v1beta/admob-api.json index 24c337e4929..fbef50eca64 100644 --- a/admob/v1beta/admob-api.json +++ b/admob/v1beta/admob-api.json @@ -359,7 +359,7 @@ } } }, - "revision": "20221026", + "revision": "20230112", "rootUrl": "https://admob.googleapis.com/", "schemas": { "AdSource": { @@ -419,6 +419,23 @@ "description": "Describes an AdMob app for a specific platform (For example: Android or iOS).", "id": "App", "properties": { + "appApprovalState": { + "description": "Output only. The approval state for the app.", + "enum": [ + "APP_APPROVAL_STATE_UNSPECIFIED", + "ACTION_REQUIRED", + "IN_REVIEW", + "APPROVED" + ], + "enumDescriptions": [ + "Default value for an unset field. Do not use.", + "The app requires additional user action to be approved. Please refer to https://support.google.com/admob/answer/10564477 for details and next steps.", + "The app is pending review.", + "The app is approved and can serve ads." + ], + "readOnly": true, + "type": "string" + }, "appId": { "description": "The externally visible ID of the app which can be used to integrate with the AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~0123456789", "type": "string" diff --git a/admob/v1beta/admob-gen.go b/admob/v1beta/admob-gen.go index 363771bf37d..87acdf54ac2 100644 --- a/admob/v1beta/admob-gen.go +++ b/admob/v1beta/admob-gen.go @@ -314,6 +314,19 @@ func (s *AdUnit) MarshalJSON() ([]byte, error) { // App: Describes an AdMob app for a specific platform (For example: // Android or iOS). type App struct { + // AppApprovalState: Output only. The approval state for the app. + // + // Possible values: + // "APP_APPROVAL_STATE_UNSPECIFIED" - Default value for an unset + // field. Do not use. + // "ACTION_REQUIRED" - The app requires additional user action to be + // approved. Please refer to + // https://support.google.com/admob/answer/10564477 for details and next + // steps. + // "IN_REVIEW" - The app is pending review. + // "APPROVED" - The app is approved and can serve ads. + AppApprovalState string `json:"appApprovalState,omitempty"` + // AppId: The externally visible ID of the app which can be used to // integrate with the AdMob SDK. This is a read only property. Example: // ca-app-pub-9876543210987654~0123456789 @@ -339,7 +352,7 @@ type App struct { // "ANDROID". Platform string `json:"platform,omitempty"` - // ForceSendFields is a list of field names (e.g. "AppId") to + // ForceSendFields is a list of field names (e.g. "AppApprovalState") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -347,12 +360,13 @@ type App struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AppId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AppApprovalState") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } diff --git a/androidenterprise/v1/androidenterprise-api.json b/androidenterprise/v1/androidenterprise-api.json index fe2571382fe..a77aabf442d 100644 --- a/androidenterprise/v1/androidenterprise-api.json +++ b/androidenterprise/v1/androidenterprise-api.json @@ -2649,7 +2649,7 @@ } } }, - "revision": "20221214", + "revision": "20230111", "rootUrl": "https://androidenterprise.googleapis.com/", "schemas": { "Administrator": { @@ -3265,6 +3265,11 @@ }, "type": "array" }, + "googleAuthenticationSettings": { + "$ref": "GoogleAuthenticationSettings", + "description": "Output only. Settings for Google-provided user authentication.", + "readOnly": true + }, "id": { "description": "The unique ID for the enterprise.", "type": "string" @@ -3367,6 +3372,41 @@ }, "type": "object" }, + "GoogleAuthenticationSettings": { + "description": "Contains settings for Google-provided user authentication.", + "id": "GoogleAuthenticationSettings", + "properties": { + "dedicatedDevicesAllowed": { + "description": "Whether dedicated devices are allowed.", + "enum": [ + "dedicatedDevicesAllowedUnspecified", + "disallowed", + "allowed" + ], + "enumDescriptions": [ + "This value is unused.", + "Dedicated devices are not allowed.", + "Dedicated devices are allowed." + ], + "type": "string" + }, + "googleAuthenticationRequired": { + "description": "Whether Google authentication is required.", + "enum": [ + "googleAuthenticationRequiredUnspecified", + "notRequired", + "required" + ], + "enumDescriptions": [ + "This value is unused.", + "Google authentication is not required.", + "User is required to be successfully authenticated by Google." + ], + "type": "string" + } + }, + "type": "object" + }, "GroupLicense": { "description": "Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps. For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time. Use the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. In other words, the total number of Entitlements that exist for the product. Only one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.", "id": "GroupLicense", diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index b5408be6f8f..8fba659651b 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -1398,6 +1398,10 @@ type Enterprise struct { // enterprises created via the EMM-initiated flow. Administrator []*Administrator `json:"administrator,omitempty"` + // GoogleAuthenticationSettings: Output only. Settings for + // Google-provided user authentication. + GoogleAuthenticationSettings *GoogleAuthenticationSettings `json:"googleAuthenticationSettings,omitempty"` + // Id: The unique ID for the enterprise. Id string `json:"id,omitempty"` @@ -1659,6 +1663,52 @@ func (s *EntitlementsListResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleAuthenticationSettings: Contains settings for Google-provided +// user authentication. +type GoogleAuthenticationSettings struct { + // DedicatedDevicesAllowed: Whether dedicated devices are allowed. + // + // Possible values: + // "dedicatedDevicesAllowedUnspecified" - This value is unused. + // "disallowed" - Dedicated devices are not allowed. + // "allowed" - Dedicated devices are allowed. + DedicatedDevicesAllowed string `json:"dedicatedDevicesAllowed,omitempty"` + + // GoogleAuthenticationRequired: Whether Google authentication is + // required. + // + // Possible values: + // "googleAuthenticationRequiredUnspecified" - This value is unused. + // "notRequired" - Google authentication is not required. + // "required" - User is required to be successfully authenticated by + // Google. + GoogleAuthenticationRequired string `json:"googleAuthenticationRequired,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DedicatedDevicesAllowed") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DedicatedDevicesAllowed") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleAuthenticationSettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleAuthenticationSettings + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GroupLicense: Group license objects allow you to keep track of // licenses (called entitlements) for both free and paid apps. For a // free app, a group license is created when an enterprise admin first diff --git a/appengine/v1/appengine-api.json b/appengine/v1/appengine-api.json index 7ac924bd1f7..3ff73294d52 100644 --- a/appengine/v1/appengine-api.json +++ b/appengine/v1/appengine-api.json @@ -1593,9 +1593,61 @@ } } } + }, + "projects": { + "resources": { + "locations": { + "resources": { + "applications": { + "methods": { + "get": { + "description": "Gets information about an application.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", + "httpMethod": "GET", + "id": "appengine.projects.locations.applications.get", + "parameterOrder": [ + "projectsId", + "locationsId", + "applicationsId" + ], + "parameters": { + "applicationsId": { + "description": "Part of `name`. See documentation of `projectsId`.", + "location": "path", + "required": true, + "type": "string" + }, + "locationsId": { + "description": "Part of `name`. See documentation of `projectsId`.", + "location": "path", + "required": true, + "type": "string" + }, + "projectsId": { + "description": "Part of `name`. Name of the Application resource to get. Example: apps/myapp.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", + "response": { + "$ref": "Application" + }, + "scopes": [ + "https://www.googleapis.com/auth/appengine.admin", + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ] + } + } + } + } + } + } } }, - "revision": "20221205", + "revision": "20230109", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { diff --git a/appengine/v1/appengine-gen.go b/appengine/v1/appengine-gen.go index 35cc1d606a1..98aac649752 100644 --- a/appengine/v1/appengine-gen.go +++ b/appengine/v1/appengine-gen.go @@ -132,6 +132,7 @@ func New(client *http.Client) (*APIService, error) { } s := &APIService{client: client, BasePath: basePath} s.Apps = NewAppsService(s) + s.Projects = NewProjectsService(s) return s, nil } @@ -141,6 +142,8 @@ type APIService struct { UserAgent string // optional additional User-Agent fragment Apps *AppsService + + Projects *ProjectsService } func (s *APIService) userAgent() string { @@ -279,6 +282,39 @@ type AppsServicesVersionsInstancesService struct { s *APIService } +func NewProjectsService(s *APIService) *ProjectsService { + rs := &ProjectsService{s: s} + rs.Locations = NewProjectsLocationsService(s) + return rs +} + +type ProjectsService struct { + s *APIService + + Locations *ProjectsLocationsService +} + +func NewProjectsLocationsService(s *APIService) *ProjectsLocationsService { + rs := &ProjectsLocationsService{s: s} + rs.Applications = NewProjectsLocationsApplicationsService(s) + return rs +} + +type ProjectsLocationsService struct { + s *APIService + + Applications *ProjectsLocationsApplicationsService +} + +func NewProjectsLocationsApplicationsService(s *APIService) *ProjectsLocationsApplicationsService { + rs := &ProjectsLocationsApplicationsService{s: s} + return rs +} + +type ProjectsLocationsApplicationsService struct { + s *APIService +} + // ApiConfigHandler: Google Cloud Endpoints // (https://cloud.google.com/endpoints) configuration for API handlers. type ApiConfigHandler struct { @@ -10757,3 +10793,173 @@ func (c *AppsServicesVersionsInstancesListCall) Pages(ctx context.Context, f fun c.PageToken(x.NextPageToken) } } + +// method id "appengine.projects.locations.applications.get": + +type ProjectsLocationsApplicationsGetCall struct { + s *APIService + projectsId string + locationsId string + applicationsId string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets information about an application. +// +// - applicationsId: Part of `name`. See documentation of `projectsId`. +// - locationsId: Part of `name`. See documentation of `projectsId`. +// - projectsId: Part of `name`. Name of the Application resource to +// get. Example: apps/myapp. +func (r *ProjectsLocationsApplicationsService) Get(projectsId string, locationsId string, applicationsId string) *ProjectsLocationsApplicationsGetCall { + c := &ProjectsLocationsApplicationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.projectsId = projectsId + c.locationsId = locationsId + c.applicationsId = applicationsId + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApplicationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApplicationsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsApplicationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApplicationsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApplicationsGetCall) Context(ctx context.Context) *ProjectsLocationsApplicationsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApplicationsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApplicationsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "projectsId": c.projectsId, + "locationsId": c.locationsId, + "applicationsId": c.applicationsId, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "appengine.projects.locations.applications.get" call. +// Exactly one of *Application or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Application.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *ProjectsLocationsApplicationsGetCall) Do(opts ...googleapi.CallOption) (*Application, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Application{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets information about an application.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", + // "httpMethod": "GET", + // "id": "appengine.projects.locations.applications.get", + // "parameterOrder": [ + // "projectsId", + // "locationsId", + // "applicationsId" + // ], + // "parameters": { + // "applicationsId": { + // "description": "Part of `name`. See documentation of `projectsId`.", + // "location": "path", + // "required": true, + // "type": "string" + // }, + // "locationsId": { + // "description": "Part of `name`. See documentation of `projectsId`.", + // "location": "path", + // "required": true, + // "type": "string" + // }, + // "projectsId": { + // "description": "Part of `name`. Name of the Application resource to get. Example: apps/myapp.", + // "location": "path", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", + // "response": { + // "$ref": "Application" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/appengine.admin", + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/cloud-platform.read-only" + // ] + // } + +} diff --git a/bigtableadmin/v2/bigtableadmin-api.json b/bigtableadmin/v2/bigtableadmin-api.json index 59552e074fa..4bd15386877 100644 --- a/bigtableadmin/v2/bigtableadmin-api.json +++ b/bigtableadmin/v2/bigtableadmin-api.json @@ -1966,7 +1966,7 @@ } } }, - "revision": "20221229", + "revision": "20230101", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -2758,7 +2758,7 @@ "id": "Instance", "properties": { "createTime": { - "description": "Output only. A server-assigned timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is `seconds: 0, nanos: 1`.", + "description": "Output only. A commit timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is `seconds: 0, nanos: 1`.", "format": "google-datetime", "readOnly": true, "type": "string" diff --git a/bigtableadmin/v2/bigtableadmin-gen.go b/bigtableadmin/v2/bigtableadmin-gen.go index 5d3ce2b16bd..99ed48ef3ef 100644 --- a/bigtableadmin/v2/bigtableadmin-gen.go +++ b/bigtableadmin/v2/bigtableadmin-gen.go @@ -1886,9 +1886,9 @@ func (s *HotTablet) UnmarshalJSON(data []byte) error { // serve them. All tables in an instance are served from all Clusters in // the instance. type Instance struct { - // CreateTime: Output only. A server-assigned timestamp representing - // when this Instance was created. For instances created before this - // field was added (August 2021), this value is `seconds: 0, nanos: 1`. + // CreateTime: Output only. A commit timestamp representing when this + // Instance was created. For instances created before this field was + // added (August 2021), this value is `seconds: 0, nanos: 1`. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. The descriptive name for this instance as it diff --git a/cloudsupport/v2beta/cloudsupport-api.json b/cloudsupport/v2beta/cloudsupport-api.json index 4129c9f9f88..3e9356b30ff 100644 --- a/cloudsupport/v2beta/cloudsupport-api.json +++ b/cloudsupport/v2beta/cloudsupport-api.json @@ -342,7 +342,7 @@ "type": "string" }, "updateMask": { - "description": "A field that represents attributes of a case object that should be updated as part of this request. Supported values are severity, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields will be updated. WARNING: If you do not provide a field mask then you may accidentally clear some fields. For example, if you leave field mask empty and do not provide a value for subscriber_email_addresses then subscriber_email_addresses will be updated to empty.", + "description": "A list of attributes of the case object that should be updated as part of this request. Supported values are severity, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated. WARNING: If you do not provide a field mask, then you may accidentally clear some fields. For example, if you leave field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -575,7 +575,7 @@ } } }, - "revision": "20221213", + "revision": "20230110", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { diff --git a/cloudsupport/v2beta/cloudsupport-gen.go b/cloudsupport/v2beta/cloudsupport-gen.go index 6dd40d408cb..5522ca1e3c0 100644 --- a/cloudsupport/v2beta/cloudsupport-gen.go +++ b/cloudsupport/v2beta/cloudsupport-gen.go @@ -2585,14 +2585,14 @@ func (r *CasesService) Patch(name string, case_ *Case) *CasesPatchCall { return c } -// UpdateMask sets the optional parameter "updateMask": A field that -// represents attributes of a case object that should be updated as part -// of this request. Supported values are severity, display_name, and +// UpdateMask sets the optional parameter "updateMask": A list of +// attributes of the case object that should be updated as part of this +// request. Supported values are severity, display_name, and // subscriber_email_addresses. If no fields are specified, all supported -// fields will be updated. WARNING: If you do not provide a field mask -// then you may accidentally clear some fields. For example, if you -// leave field mask empty and do not provide a value for -// subscriber_email_addresses then subscriber_email_addresses will be +// fields are updated. WARNING: If you do not provide a field mask, then +// you may accidentally clear some fields. For example, if you leave +// field mask empty and do not provide a value for +// subscriber_email_addresses, then subscriber_email_addresses is // updated to empty. func (c *CasesPatchCall) UpdateMask(updateMask string) *CasesPatchCall { c.urlParams_.Set("updateMask", updateMask) @@ -2706,7 +2706,7 @@ func (c *CasesPatchCall) Do(opts ...googleapi.CallOption) (*Case, error) { // "type": "string" // }, // "updateMask": { - // "description": "A field that represents attributes of a case object that should be updated as part of this request. Supported values are severity, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields will be updated. WARNING: If you do not provide a field mask then you may accidentally clear some fields. For example, if you leave field mask empty and do not provide a value for subscriber_email_addresses then subscriber_email_addresses will be updated to empty.", + // "description": "A list of attributes of the case object that should be updated as part of this request. Supported values are severity, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated. WARNING: If you do not provide a field mask, then you may accidentally clear some fields. For example, if you leave field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/compute/v1/compute-api.json b/compute/v1/compute-api.json index 36ec411f294..b25d7e8f0f7 100644 --- a/compute/v1/compute-api.json +++ b/compute/v1/compute-api.json @@ -32692,7 +32692,7 @@ } } }, - "revision": "20221206", + "revision": "20221224", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -33723,6 +33723,24 @@ }, "type": "object" }, + "AllocationResourceStatus": { + "id": "AllocationResourceStatus", + "properties": { + "specificSkuAllocation": { + "$ref": "AllocationResourceStatusSpecificSKUAllocation" + } + }, + "type": "object" + }, + "AllocationResourceStatusSpecificSKUAllocation": { + "id": "AllocationResourceStatusSpecificSKUAllocation", + "properties": { + "sourceInstanceTemplateId": { + "type": "string" + } + }, + "type": "object" + }, "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk": { "id": "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk", "properties": { @@ -33801,6 +33819,10 @@ "instanceProperties": { "$ref": "AllocationSpecificSKUAllocationReservedInstanceProperties", "description": "The instance properties for the reservation." + }, + "sourceInstanceTemplate": { + "description": "Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate ", + "type": "string" } }, "type": "object" @@ -39420,7 +39442,7 @@ "id": "FirewallPolicyRule", "properties": { "action": { - "description": "The Action to perform when the client connection triggers the rule. Can currently be either \"allow\" or \"deny()\" where valid values for status are 403, 404, and 502.", + "description": "The Action to perform when the client connection triggers the rule. Valid actions are \"allow\", \"deny\" and \"goto_next\".", "type": "string" }, "description": { @@ -40386,6 +40408,7 @@ "MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", + "SEV_SNP_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS" @@ -40398,6 +40421,7 @@ "", "", "", + "", "" ], "type": "string" @@ -50158,6 +50182,10 @@ "description": "URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default ", "type": "string" }, + "networkAttachment": { + "description": "The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.", + "type": "string" + }, "networkIP": { "description": "An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.", "type": "string" @@ -56409,6 +56437,10 @@ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, + "resourceStatus": { + "$ref": "AllocationResourceStatus", + "description": "[Output Only] Status information for Reservation resource." + }, "satisfiesPzs": { "description": "[Output Only] Reserved for future use.", "type": "boolean" diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go index 8ca1a613732..94ab8e69eaa 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -2827,6 +2827,62 @@ func (s *AliasIpRange) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type AllocationResourceStatus struct { + SpecificSkuAllocation *AllocationResourceStatusSpecificSKUAllocation `json:"specificSkuAllocation,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "SpecificSkuAllocation") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "SpecificSkuAllocation") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *AllocationResourceStatus) MarshalJSON() ([]byte, error) { + type NoMethod AllocationResourceStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +type AllocationResourceStatusSpecificSKUAllocation struct { + SourceInstanceTemplateId string `json:"sourceInstanceTemplateId,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "SourceInstanceTemplateId") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "SourceInstanceTemplateId") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *AllocationResourceStatusSpecificSKUAllocation) MarshalJSON() ([]byte, error) { + type NoMethod AllocationResourceStatusSpecificSKUAllocation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk struct { // DiskSizeGb: Specifies the size of the disk in base-2 GB. DiskSizeGb int64 `json:"diskSizeGb,omitempty,string"` @@ -2928,6 +2984,17 @@ type AllocationSpecificSKUReservation struct { // InstanceProperties: The instance properties for the reservation. InstanceProperties *AllocationSpecificSKUAllocationReservedInstanceProperties `json:"instanceProperties,omitempty"` + // SourceInstanceTemplate: Specifies the instance template to create the + // reservation. If you use this field, you must exclude the + // instanceProperties field. This field is optional, and it can be a + // full or partial URL. For example, the following are all valid URLs to + // an instance template: - + // https://www.googleapis.com/compute/v1/projects/project + // /global/instanceTemplates/instanceTemplate - + // projects/project/global/instanceTemplates/instanceTemplate - + // global/instanceTemplates/instanceTemplate + SourceInstanceTemplate string `json:"sourceInstanceTemplate,omitempty"` + // ForceSendFields is a list of field names (e.g. "AssuredCount") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -12073,8 +12140,7 @@ func (s *FirewallPolicyListWarningData) MarshalJSON() ([]byte, error) { // matches this condition (allow or deny). type FirewallPolicyRule struct { // Action: The Action to perform when the client connection triggers the - // rule. Can currently be either "allow" or "deny()" where valid values - // for status are 403, 404, and 502. + // rule. Valid actions are "allow", "deny" and "goto_next". Action string `json:"action,omitempty"` // Description: An optional description for this resource. @@ -13662,6 +13728,7 @@ type GuestOsFeature struct { // "MULTI_IP_SUBNET" // "SECURE_BOOT" // "SEV_CAPABLE" + // "SEV_SNP_CAPABLE" // "UEFI_COMPATIBLE" // "VIRTIO_SCSI_MULTIQUEUE" // "WINDOWS" @@ -29137,6 +29204,12 @@ type NetworkInterface struct { // global/networks/default Network string `json:"network,omitempty"` + // NetworkAttachment: The URL of the network attachment that this + // interface should connect to in the following format: + // projects/{project_number}/regions/{region_name}/networkAttachments/{ne + // twork_attachment_name}. + NetworkAttachment string `json:"networkAttachment,omitempty"` + // NetworkIP: An IPv4 internal IP address to assign to the instance for // this network interface. If not specified by the user, an unused // internal IP is assigned by the system. @@ -38774,6 +38847,10 @@ type Reservation struct { // be a dash. Name string `json:"name,omitempty"` + // ResourceStatus: [Output Only] Status information for Reservation + // resource. + ResourceStatus *AllocationResourceStatus `json:"resourceStatus,omitempty"` + // SatisfiesPzs: [Output Only] Reserved for future use. SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` diff --git a/datastore/v1/datastore-api.json b/datastore/v1/datastore-api.json index 758d7c1b1cb..aa1755ff5b7 100644 --- a/datastore/v1/datastore-api.json +++ b/datastore/v1/datastore-api.json @@ -654,7 +654,7 @@ } } }, - "revision": "20221018", + "revision": "20230110", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "Aggregation": { @@ -941,6 +941,11 @@ "description": "The result of fetching an entity from Datastore.", "id": "EntityResult", "properties": { + "createTime": { + "description": "The time at which the entity was created. This field is set for `FULL` entity results. If this entity is missing, this field will not be set.", + "format": "google-datetime", + "type": "string" + }, "cursor": { "description": "A cursor that points to the position after the result entity. Set only when the `EntityResult` is part of a `QueryResultBatch` message.", "format": "byte", @@ -1874,6 +1879,11 @@ "description": "Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.", "type": "boolean" }, + "createTime": { + "description": "The create time of the entity. This field will not be set after a 'delete'.", + "format": "google-datetime", + "type": "string" + }, "key": { "$ref": "Key", "description": "The automatically allocated key. Set only when the mutation allocated a key." diff --git a/datastore/v1/datastore-gen.go b/datastore/v1/datastore-gen.go index 387faee6e83..6ef77975ae1 100644 --- a/datastore/v1/datastore-gen.go +++ b/datastore/v1/datastore-gen.go @@ -727,6 +727,11 @@ func (s *Entity) MarshalJSON() ([]byte, error) { // EntityResult: The result of fetching an entity from Datastore. type EntityResult struct { + // CreateTime: The time at which the entity was created. This field is + // set for `FULL` entity results. If this entity is missing, this field + // will not be set. + CreateTime string `json:"createTime,omitempty"` + // Cursor: A cursor that points to the position after the result entity. // Set only when the `EntityResult` is part of a `QueryResultBatch` // message. @@ -747,7 +752,7 @@ type EntityResult struct { // entity, and it is always set except for eventually consistent reads. Version int64 `json:"version,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "Cursor") to + // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -755,8 +760,8 @@ type EntityResult struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cursor") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "CreateTime") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -2292,6 +2297,10 @@ type MutationResult struct { // the mutation. ConflictDetected bool `json:"conflictDetected,omitempty"` + // CreateTime: The create time of the entity. This field will not be set + // after a 'delete'. + CreateTime string `json:"createTime,omitempty"` + // Key: The automatically allocated key. Set only when the mutation // allocated a key. Key *Key `json:"key,omitempty"` diff --git a/datastore/v1beta3/datastore-api.json b/datastore/v1beta3/datastore-api.json index 04a954a41b2..201c00ed79c 100644 --- a/datastore/v1beta3/datastore-api.json +++ b/datastore/v1beta3/datastore-api.json @@ -336,7 +336,7 @@ } } }, - "revision": "20221018", + "revision": "20230110", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "Aggregation": { @@ -605,6 +605,11 @@ "description": "The result of fetching an entity from Datastore.", "id": "EntityResult", "properties": { + "createTime": { + "description": "The time at which the entity was created. This field is set for `FULL` entity results. If this entity is missing, this field will not be set.", + "format": "google-datetime", + "type": "string" + }, "cursor": { "description": "A cursor that points to the position after the result entity. Set only when the `EntityResult` is part of a `QueryResultBatch` message.", "format": "byte", @@ -1333,6 +1338,11 @@ "description": "Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.", "type": "boolean" }, + "createTime": { + "description": "The create time of the entity. This field will not be set after a 'delete'.", + "format": "google-datetime", + "type": "string" + }, "key": { "$ref": "Key", "description": "The automatically allocated key. Set only when the mutation allocated a key." diff --git a/datastore/v1beta3/datastore-gen.go b/datastore/v1beta3/datastore-gen.go index c61684c1ef1..c0a187692e4 100644 --- a/datastore/v1beta3/datastore-gen.go +++ b/datastore/v1beta3/datastore-gen.go @@ -678,6 +678,11 @@ func (s *Entity) MarshalJSON() ([]byte, error) { // EntityResult: The result of fetching an entity from Datastore. type EntityResult struct { + // CreateTime: The time at which the entity was created. This field is + // set for `FULL` entity results. If this entity is missing, this field + // will not be set. + CreateTime string `json:"createTime,omitempty"` + // Cursor: A cursor that points to the position after the result entity. // Set only when the `EntityResult` is part of a `QueryResultBatch` // message. @@ -698,7 +703,7 @@ type EntityResult struct { // entity, and it is always set except for eventually consistent reads. Version int64 `json:"version,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "Cursor") to + // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -706,8 +711,8 @@ type EntityResult struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cursor") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "CreateTime") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1890,6 +1895,10 @@ type MutationResult struct { // the mutation. ConflictDetected bool `json:"conflictDetected,omitempty"` + // CreateTime: The create time of the entity. This field will not be set + // after a 'delete'. + CreateTime string `json:"createTime,omitempty"` + // Key: The automatically allocated key. Set only when the mutation // allocated a key. Key *Key `json:"key,omitempty"` diff --git a/driveactivity/v2/driveactivity-api.json b/driveactivity/v2/driveactivity-api.json index 24ca0055749..ec5ce2b08f1 100644 --- a/driveactivity/v2/driveactivity-api.json +++ b/driveactivity/v2/driveactivity-api.json @@ -132,7 +132,7 @@ } } }, - "revision": "20221220", + "revision": "20230110", "rootUrl": "https://driveactivity.googleapis.com/", "schemas": { "Action": { @@ -403,7 +403,7 @@ "type": "object" }, "ConsolidationStrategy": { - "description": "How the individual activities are consolidated. A set of activities may be consolidated into one combined activity if they are related in some way, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related.", + "description": "How the individual activities are consolidated. If a set of activities is related they can be consolidated into one combined activity, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related.", "id": "ConsolidationStrategy", "properties": { "legacy": { @@ -870,7 +870,7 @@ "type": "object" }, "Legacy": { - "description": "A strategy which consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action.", + "description": "A strategy that consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action.", "id": "Legacy", "properties": {}, "type": "object" @@ -903,7 +903,7 @@ "type": "object" }, "NoConsolidation": { - "description": "A strategy which does no consolidation of individual activities.", + "description": "A strategy that does no consolidation of individual activities.", "id": "NoConsolidation", "properties": {}, "type": "object" @@ -1037,15 +1037,15 @@ "id": "QueryDriveActivityRequest", "properties": { "ancestorName": { - "description": "Return activities for this Drive folder and all children and descendants. The format is `items/ITEM_ID`.", + "description": "Return activities for this Drive folder, plus all children and descendants. The format is `items/ITEM_ID`.", "type": "string" }, "consolidationStrategy": { "$ref": "ConsolidationStrategy", - "description": "Details on how to consolidate related actions that make up the activity. If not set, then related actions are not consolidated." + "description": "Details on how to consolidate related actions that make up the activity. If not set, then related actions aren't consolidated." }, "filter": { - "description": "The filtering for items returned from this query request. The format of the filter string is a sequence of expressions, joined by an optional \"AND\", where each expression is of the form \"field operator value\". Supported fields: - `time`: Uses numerical operators on date values either in terms of milliseconds since Jan 1, 1970 or in RFC 3339 format. Examples: - `time \u003e 1452409200000 AND time \u003c= 1492812924310` - `time \u003e= \"2016-01-10T01:02:03-05:00\"` - `detail.action_detail_case`: Uses the \"has\" operator (:) and either a singular value or a list of allowed action types enclosed in parentheses. Examples: - `detail.action_detail_case: RENAME` - `detail.action_detail_case:(CREATE EDIT)` - `-detail.action_detail_case:MOVE` ", + "description": "The filtering for items returned from this query request. The format of the filter string is a sequence of expressions, joined by an optional \"AND\", where each expression is of the form \"field operator value\". Supported fields: - `time`: Uses numerical operators on date values either in terms of milliseconds since Jan 1, 1970 or in RFC 3339 format. Examples: - `time \u003e 1452409200000 AND time \u003c= 1492812924310` - `time \u003e= \"2016-01-10T01:02:03-05:00\"` - `detail.action_detail_case`: Uses the \"has\" operator (:) and either a singular value or a list of allowed action types enclosed in parentheses, separated by a space. To exclude a result from the response, prepend a hyphen (`-`) to the beginning of the filter string. Examples: - `detail.action_detail_case:RENAME` - `detail.action_detail_case:(CREATE RESTORE)` - `-detail.action_detail_case:MOVE` ", "type": "string" }, "itemName": { @@ -1053,12 +1053,12 @@ "type": "string" }, "pageSize": { - "description": "The miminum number of activities desired in the response; the server will attempt to return at least this quanitity. The server may also return fewer activities if it has a partial response ready before the request times out. If not set, a default value is used.", + "description": "The minimum number of activities desired in the response; the server attempts to return at least this quantity. The server may also return fewer activities if it has a partial response ready before the request times out. If not set, a default value is used.", "format": "int32", "type": "integer" }, "pageToken": { - "description": "The token identifying which page of results to return. Set this to the next_page_token value returned from a previous query to obtain the following page of results. If not set, the first page of results will be returned.", + "description": "The token identifies which page of results to return. Set this to the next_page_token value returned from a previous query to obtain the following page of results. If not set, the first page of results is returned.", "type": "string" } }, diff --git a/driveactivity/v2/driveactivity-gen.go b/driveactivity/v2/driveactivity-gen.go index da4de21272c..d3074eb52b4 100644 --- a/driveactivity/v2/driveactivity-gen.go +++ b/driveactivity/v2/driveactivity-gen.go @@ -503,11 +503,11 @@ func (s *Comment) MarshalJSON() ([]byte, error) { } // ConsolidationStrategy: How the individual activities are -// consolidated. A set of activities may be consolidated into one -// combined activity if they are related in some way, such as one actor -// performing the same action on multiple targets, or multiple actors -// performing the same action on a single target. The strategy defines -// the rules for which activities are related. +// consolidated. If a set of activities is related they can be +// consolidated into one combined activity, such as one actor performing +// the same action on multiple targets, or multiple actors performing +// the same action on a single target. The strategy defines the rules +// for which activities are related. type ConsolidationStrategy struct { // Legacy: The individual activities are consolidated using the legacy // strategy. @@ -1304,7 +1304,7 @@ func (s *KnownUser) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Legacy: A strategy which consolidates activities using the grouping +// Legacy: A strategy that consolidates activities using the grouping // rules from the legacy V1 Activity API. Similar actions occurring // within a window of time can be grouped across multiple targets (such // as moving a set of files at once) or multiple actors (such as several @@ -1348,7 +1348,7 @@ func (s *Move) MarshalJSON() ([]byte, error) { type New1 struct { } -// NoConsolidation: A strategy which does no consolidation of individual +// NoConsolidation: A strategy that does no consolidation of individual // activities. type NoConsolidation struct { } @@ -1531,12 +1531,12 @@ func (s *Post) MarshalJSON() ([]byte, error) { // QueryDriveActivityRequest: The request message for querying Drive // activity. type QueryDriveActivityRequest struct { - // AncestorName: Return activities for this Drive folder and all + // AncestorName: Return activities for this Drive folder, plus all // children and descendants. The format is `items/ITEM_ID`. AncestorName string `json:"ancestorName,omitempty"` // ConsolidationStrategy: Details on how to consolidate related actions - // that make up the activity. If not set, then related actions are not + // that make up the activity. If not set, then related actions aren't // consolidated. ConsolidationStrategy *ConsolidationStrategy `json:"consolidationStrategy,omitempty"` @@ -1549,8 +1549,10 @@ type QueryDriveActivityRequest struct { // 1492812924310` - `time >= "2016-01-10T01:02:03-05:00" - // `detail.action_detail_case`: Uses the "has" operator (:) and either a // singular value or a list of allowed action types enclosed in - // parentheses. Examples: - `detail.action_detail_case: RENAME` - - // `detail.action_detail_case:(CREATE EDIT)` - + // parentheses, separated by a space. To exclude a result from the + // response, prepend a hyphen (`-`) to the beginning of the filter + // string. Examples: - `detail.action_detail_case:RENAME` - + // `detail.action_detail_case:(CREATE RESTORE)` - // `-detail.action_detail_case:MOVE` Filter string `json:"filter,omitempty"` @@ -1558,16 +1560,16 @@ type QueryDriveActivityRequest struct { // `items/ITEM_ID`. ItemName string `json:"itemName,omitempty"` - // PageSize: The miminum number of activities desired in the response; - // the server will attempt to return at least this quanitity. The server - // may also return fewer activities if it has a partial response ready + // PageSize: The minimum number of activities desired in the response; + // the server attempts to return at least this quantity. The server may + // also return fewer activities if it has a partial response ready // before the request times out. If not set, a default value is used. PageSize int64 `json:"pageSize,omitempty"` - // PageToken: The token identifying which page of results to return. Set + // PageToken: The token identifies which page of results to return. Set // this to the next_page_token value returned from a previous query to // obtain the following page of results. If not set, the first page of - // results will be returned. + // results is returned. PageToken string `json:"pageToken,omitempty"` // ForceSendFields is a list of field names (e.g. "AncestorName") to diff --git a/firebase/v1beta1/firebase-api.json b/firebase/v1beta1/firebase-api.json index a6da5029874..fe20ab84154 100644 --- a/firebase/v1beta1/firebase-api.json +++ b/firebase/v1beta1/firebase-api.json @@ -1320,7 +1320,7 @@ } } }, - "revision": "20221221", + "revision": "20230111", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { @@ -1465,7 +1465,7 @@ "enumDescriptions": [ "Unspecified state.", "The App is active.", - "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." + "The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" @@ -1584,7 +1584,7 @@ "enumDescriptions": [ "Unspecified state.", "The App is active.", - "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." + "The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" @@ -1697,7 +1697,7 @@ "enumDescriptions": [ "Unspecified state.", "The App is active.", - "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." + "The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" @@ -1966,7 +1966,7 @@ "type": "string" }, "immediate": { - "description": "Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteAndroidApp.", + "description": "Determines whether to _immediately_ delete the AndroidApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteAndroidApp.", "type": "boolean" }, "validateOnly": { @@ -1988,7 +1988,7 @@ "type": "string" }, "immediate": { - "description": "Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteIosApp", + "description": "Determines whether to _immediately_ delete the IosApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteIosApp", "type": "boolean" }, "validateOnly": { @@ -2010,7 +2010,7 @@ "type": "string" }, "immediate": { - "description": "Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteWebApp", + "description": "Determines whether to _immediately_ delete the WebApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteWebApp", "type": "boolean" }, "validateOnly": { @@ -2231,7 +2231,7 @@ "enumDescriptions": [ "Unspecified state.", "The App is active.", - "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." + "The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go index fb93cae7864..dfc1dceb268 100644 --- a/firebase/v1beta1/firebase-gen.go +++ b/firebase/v1beta1/firebase-gen.go @@ -534,10 +534,11 @@ type AndroidApp struct { // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. // "ACTIVE" - The App is active. - // "DELETED" - The App has been soft-deleted. Firebase permanantely - // deletes an App after it has been in the `DELETED` state for more than - // 30 days. Up until this time, you can restore the App by calling - // `Undelete` ([Android](projects.androidApps/undelete) | + // "DELETED" - The App has been soft-deleted. After an App has been in + // the `DELETED` state for more than 30 days, it is considered expired + // and will be permanently deleted. Up until this time, you can restore + // the App by calling `Undelete` + // ([Android](projects.androidApps/undelete) | // [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete)). State string `json:"state,omitempty"` @@ -768,10 +769,11 @@ type FirebaseAppInfo struct { // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. // "ACTIVE" - The App is active. - // "DELETED" - The App has been soft-deleted. Firebase permanantely - // deletes an App after it has been in the `DELETED` state for more than - // 30 days. Up until this time, you can restore the App by calling - // `Undelete` ([Android](projects.androidApps/undelete) | + // "DELETED" - The App has been soft-deleted. After an App has been in + // the `DELETED` state for more than 30 days, it is considered expired + // and will be permanently deleted. Up until this time, you can restore + // the App by calling `Undelete` + // ([Android](projects.androidApps/undelete) | // [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete)). State string `json:"state,omitempty"` @@ -956,10 +958,11 @@ type IosApp struct { // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. // "ACTIVE" - The App is active. - // "DELETED" - The App has been soft-deleted. Firebase permanantely - // deletes an App after it has been in the `DELETED` state for more than - // 30 days. Up until this time, you can restore the App by calling - // `Undelete` ([Android](projects.androidApps/undelete) | + // "DELETED" - The App has been soft-deleted. After an App has been in + // the `DELETED` state for more than 30 days, it is considered expired + // and will be permanently deleted. Up until this time, you can restore + // the App by calling `Undelete` + // ([Android](projects.androidApps/undelete) | // [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete)). State string `json:"state,omitempty"` @@ -1522,11 +1525,12 @@ type RemoveAndroidAppRequest struct { // proceeding. Etag string `json:"etag,omitempty"` - // Immediate: Determines whether to _immediately_ delete the App. If set - // to true, the App is immediately deleted from the Project and cannot - // be restored to the Project. If not set, defaults to false, which - // means that the App may be restored to the Project within 30 days - // using UndeleteAndroidApp. + // Immediate: Determines whether to _immediately_ delete the AndroidApp. + // If set to true, the App is immediately deleted from the Project and + // cannot be restored to the Project. If not set, defaults to false, + // which means the App will be set to expire in 30 days. Within the 30 + // days, the App may be restored to the Project using + // UndeleteAndroidApp. Immediate bool `json:"immediate,omitempty"` // ValidateOnly: If set to true, the request is only validated. The App @@ -1566,11 +1570,11 @@ type RemoveIosAppRequest struct { // proceeding. Etag string `json:"etag,omitempty"` - // Immediate: Determines whether to _immediately_ delete the App. If set - // to true, the App is immediately deleted from the Project and cannot - // be restored to the Project. If not set, defaults to false, which - // means that the App may be restored to the Project within 30 days - // using UndeleteIosApp + // Immediate: Determines whether to _immediately_ delete the IosApp. If + // set to true, the App is immediately deleted from the Project and + // cannot be restored to the Project. If not set, defaults to false, + // which means the App will be set to expire in 30 days. Within the 30 + // days, the App may be restored to the Project using UndeleteIosApp Immediate bool `json:"immediate,omitempty"` // ValidateOnly: If set to true, the request is only validated. The App @@ -1610,11 +1614,11 @@ type RemoveWebAppRequest struct { // proceeding. Etag string `json:"etag,omitempty"` - // Immediate: Determines whether to _immediately_ delete the App. If set - // to true, the App is immediately deleted from the Project and cannot - // be restored to the Project. If not set, defaults to false, which - // means that the App may be restored to the Project within 30 days - // using UndeleteWebApp + // Immediate: Determines whether to _immediately_ delete the WebApp. If + // set to true, the App is immediately deleted from the Project and + // cannot be restored to the Project. If not set, defaults to false, + // which means the App will be set to expire in 30 days. Within the 30 + // days, the App may be restored to the Project using UndeleteWebApp Immediate bool `json:"immediate,omitempty"` // ValidateOnly: If set to true, the request is only validated. The App @@ -2038,10 +2042,11 @@ type WebApp struct { // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. // "ACTIVE" - The App is active. - // "DELETED" - The App has been soft-deleted. Firebase permanantely - // deletes an App after it has been in the `DELETED` state for more than - // 30 days. Up until this time, you can restore the App by calling - // `Undelete` ([Android](projects.androidApps/undelete) | + // "DELETED" - The App has been soft-deleted. After an App has been in + // the `DELETED` state for more than 30 days, it is considered expired + // and will be permanently deleted. Up until this time, you can restore + // the App by calling `Undelete` + // ([Android](projects.androidApps/undelete) | // [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete)). State string `json:"state,omitempty"` diff --git a/firestore/v1/firestore-api.json b/firestore/v1/firestore-api.json index abd78da901b..a931c88217b 100644 --- a/firestore/v1/firestore-api.json +++ b/firestore/v1/firestore-api.json @@ -1423,7 +1423,7 @@ } } }, - "revision": "20221210", + "revision": "20230110", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -2129,6 +2129,13 @@ }, "type": "array" }, + "namespaceIds": { + "description": "An empty list represents all namespaces. This is the preferred usage for databases that don't use namespaces. An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.", + "items": { + "type": "string" + }, + "type": "array" + }, "outputUriPrefix": { "description": "The output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.", "type": "string" @@ -2304,6 +2311,13 @@ "inputUriPrefix": { "description": "Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.", "type": "string" + }, + "namespaceIds": { + "description": "An empty list represents all namespaces. This is the preferred usage for databases that don't use namespaces. An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/firestore/v1/firestore-gen.go b/firestore/v1/firestore-gen.go index d73858683db..adbcc0d61ea 100644 --- a/firestore/v1/firestore-gen.go +++ b/firestore/v1/firestore-gen.go @@ -1507,6 +1507,13 @@ type GoogleFirestoreAdminV1ExportDocumentsRequest struct { // collections. CollectionIds []string `json:"collectionIds,omitempty"` + // NamespaceIds: An empty list represents all namespaces. This is the + // preferred usage for databases that don't use namespaces. An empty + // string element represents the default namespace. This should be used + // if the database has data in non-default namespaces, but doesn't want + // to include them. Each namespace in this list must be unique. + NamespaceIds []string `json:"namespaceIds,omitempty"` + // OutputUriPrefix: The output URI. Currently only supports Google Cloud // Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where // `BUCKET_NAME` is the name of the Google Cloud Storage bucket and @@ -1783,6 +1790,13 @@ type GoogleFirestoreAdminV1ImportDocumentsRequest struct { // google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix. InputUriPrefix string `json:"inputUriPrefix,omitempty"` + // NamespaceIds: An empty list represents all namespaces. This is the + // preferred usage for databases that don't use namespaces. An empty + // string element represents the default namespace. This should be used + // if the database has data in non-default namespaces, but doesn't want + // to include them. Each namespace in this list must be unique. + NamespaceIds []string `json:"namespaceIds,omitempty"` + // ForceSendFields is a list of field names (e.g. "CollectionIds") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/managedidentities/v1beta1/managedidentities-api.json b/managedidentities/v1beta1/managedidentities-api.json index 62a1e2a6e69..d2b4fe8185c 100644 --- a/managedidentities/v1beta1/managedidentities-api.json +++ b/managedidentities/v1beta1/managedidentities-api.json @@ -1515,7 +1515,7 @@ } } }, - "revision": "20221027", + "revision": "20221227", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { @@ -2572,7 +2572,7 @@ "type": "object" }, "MaintenancePolicy": { - "description": "Defines policies to service maintenance events.", + "description": "LINT.IfChange Defines policies to service maintenance events.", "id": "MaintenancePolicy", "properties": { "createTime": { diff --git a/managedidentities/v1beta1/managedidentities-gen.go b/managedidentities/v1beta1/managedidentities-gen.go index cc02dba9bbe..2960b86c27a 100644 --- a/managedidentities/v1beta1/managedidentities-gen.go +++ b/managedidentities/v1beta1/managedidentities-gen.go @@ -1941,7 +1941,8 @@ func (s *Location) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// MaintenancePolicy: Defines policies to service maintenance events. +// MaintenancePolicy: LINT.IfChange Defines policies to service +// maintenance events. type MaintenancePolicy struct { // CreateTime: Output only. The time when the resource was created. CreateTime string `json:"createTime,omitempty"` diff --git a/metastore/v1beta/metastore-api.json b/metastore/v1beta/metastore-api.json index 22901d43d80..2b05c02923f 100644 --- a/metastore/v1beta/metastore-api.json +++ b/metastore/v1beta/metastore-api.json @@ -1551,7 +1551,7 @@ } } }, - "revision": "20221207", + "revision": "20230106", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -1569,6 +1569,12 @@ }, "type": "object" }, + "AlterMetadataResourceLocationResponse": { + "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", + "id": "AlterMetadataResourceLocationResponse", + "properties": {}, + "type": "object" + }, "AuditConfig": { "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", "id": "AuditConfig", @@ -2455,6 +2461,12 @@ }, "type": "object" }, + "MoveTableToDatabaseResponse": { + "description": "Response message for DataprocMetastore.MoveTableToDatabase.", + "id": "MoveTableToDatabaseResponse", + "properties": {}, + "type": "object" + }, "NetworkConfig": { "description": "Network configuration for the Dataproc Metastore service.", "id": "NetworkConfig", diff --git a/metastore/v1beta/metastore-gen.go b/metastore/v1beta/metastore-gen.go index 22c2ed52a55..c98b45239d1 100644 --- a/metastore/v1beta/metastore-gen.go +++ b/metastore/v1beta/metastore-gen.go @@ -278,6 +278,11 @@ func (s *AlterMetadataResourceLocationRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// AlterMetadataResourceLocationResponse: Response message for +// DataprocMetastore.AlterMetadataResourceLocation. +type AlterMetadataResourceLocationResponse struct { +} + // AuditConfig: Specifies the audit configuration for a service. The // configuration determines which permission types are logged, and what // identities, if any, are exempted from logging. An AuditConfig must @@ -1748,6 +1753,11 @@ func (s *MoveTableToDatabaseRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// MoveTableToDatabaseResponse: Response message for +// DataprocMetastore.MoveTableToDatabase. +type MoveTableToDatabaseResponse struct { +} + // NetworkConfig: Network configuration for the Dataproc Metastore // service. type NetworkConfig struct { diff --git a/networkconnectivity/v1/networkconnectivity-api.json b/networkconnectivity/v1/networkconnectivity-api.json index a638eb686b4..f4b1ade8d8b 100644 --- a/networkconnectivity/v1/networkconnectivity-api.json +++ b/networkconnectivity/v1/networkconnectivity-api.json @@ -544,7 +544,7 @@ "internalRanges": { "methods": { "create": { - "description": "Creates a new InternalRange in a given project and location.", + "description": "Creates a new internal range in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges", "httpMethod": "POST", "id": "networkconnectivity.projects.locations.internalRanges.create", @@ -558,7 +558,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource's name of the InternalRange.", + "description": "Required. The parent resource's name of the internal range.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -582,7 +582,7 @@ ] }, "delete": { - "description": "Deletes a single InternalRange.", + "description": "Deletes a single internal range.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "DELETE", "id": "networkconnectivity.projects.locations.internalRanges.delete", @@ -591,7 +591,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the InternalRange to delete.", + "description": "Required. The name of the internal range to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", "required": true, @@ -612,7 +612,7 @@ ] }, "get": { - "description": "Gets details of a single InternalRange.", + "description": "Gets details of a single internal range.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "GET", "id": "networkconnectivity.projects.locations.internalRanges.get", @@ -637,7 +637,7 @@ ] }, "list": { - "description": "Lists InternalRanges in a given project and location.", + "description": "Lists internal ranges in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges", "httpMethod": "GET", "id": "networkconnectivity.projects.locations.internalRanges.list", @@ -683,7 +683,7 @@ ] }, "patch": { - "description": "Updates the parameters of a single InternalRange.", + "description": "Updates the parameters of a single internal range.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "PATCH", "id": "networkconnectivity.projects.locations.internalRanges.patch", @@ -692,7 +692,7 @@ ], "parameters": { "name": { - "description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", + "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", "required": true, @@ -1393,7 +1393,7 @@ } } }, - "revision": "20221201", + "revision": "20230105", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1647,11 +1647,11 @@ "type": "object" }, "InternalRange": { - "description": "The InternalRange resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (it's usage and peering behavior). Networking resources can link to this range if they are created as belonging to it. Next id: 14", + "description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.", "id": "InternalRange", "properties": { "createTime": { - "description": "Time when the InternalRange was created.", + "description": "Time when the internal range was created.", "format": "google-datetime", "type": "string" }, @@ -1660,7 +1660,7 @@ "type": "string" }, "ipCidrRange": { - "description": "IP range that this InternalRange defines.", + "description": "The IP range that this internal range defines.", "type": "string" }, "labels": { @@ -1671,15 +1671,15 @@ "type": "object" }, "name": { - "description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", + "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", "type": "string" }, "network": { - "description": "The URL or resource ID of the network in which to reserve the Internal Range. The network cannot be deleted if there are any reserved Internal Ranges referring to it. Legacy network is not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123", + "description": "The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123", "type": "string" }, "overlaps": { - "description": "Optional. Types of resources that are allowed to overlap with the current InternalRange.", + "description": "Optional. Types of resources that are allowed to overlap with the current internal range.", "items": { "enum": [ "OVERLAP_UNSPECIFIED", @@ -1687,14 +1687,14 @@ ], "enumDescriptions": [ "No overlap overrides.", - "Allow creation of static routes more specific that the current InternalRange." + "Allow creation of static routes more specific that the current internal range." ], "type": "string" }, "type": "array" }, "peering": { - "description": "The type of peering set for this InternalRange.", + "description": "The type of peering set for this internal range.", "enum": [ "PEERING_UNSPECIFIED", "FOR_SELF", @@ -1703,14 +1703,14 @@ ], "enumDescriptions": [ "If Peering is left unspecified in CreateInternalRange or UpdateInternalRange, it will be defaulted to FOR_SELF.", - "This is the default behavior and represents the case that this InternalRange is intended to be used in the VPC on which it is created and is accessible from it’s peers. This implies that peers or peer-of-peer’s cannot use this range.", - "This behavior can be set when the Internal Range is being reserved for usage by the peers. This means that no resource within the VPC in which it is being created can use this to associate with a GCP resource, but one of the peer’s can. This represents \"donating\" a range for peers to use.", - "This behavior can be set when the Internal Range is being reserved for usage by the VPC on which it is created but not shared with the peers. In a sense it is local to the VPC. This can be used to create Internal Ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for interconnect routes that are not shared with peers. This also implies that peer’s cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC too." + "This is the default behavior and represents the case that this internal range is intended to be used in the VPC in which it is created and is accessible from its peers. This implies that peers or peers-of-peers cannot use this range.", + "This behavior can be set when the internal range is being reserved for usage by peers. This means that no resource within the VPC in which it is being created can use this to associate with a VPC resource, but one of the peers can. This represents donating a range for peers to use.", + "This behavior can be set when the internal range is being reserved for usage by the VPC in which it is created, but not shared with peers. In a sense, it is local to the VPC. This can be used to create internal ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for Interconnect routes that are not shared with peers. This also implies that peers cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC, too." ], "type": "string" }, "prefixLength": { - "description": "An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, it's an error if the range sizes don't match. Can also be used during updates to change the range size.", + "description": "An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.", "format": "int32", "type": "integer" }, @@ -1722,7 +1722,7 @@ "type": "array" }, "updateTime": { - "description": "Time when the InternalRange was updated.", + "description": "Time when the internal range was updated.", "format": "google-datetime", "type": "string" }, @@ -1734,14 +1734,14 @@ "EXTERNAL_TO_VPC" ], "enumDescriptions": [ - "Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", - "A GCP resource can use the reserved CIDR block by associating it with the Internal Range resource if usage is set to FOR_VPC.", - "Ranges created with EXTERNAL_TO_VPC cannot be associated with GCP resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect." + "Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", + "A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC.", + "Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect." ], "type": "string" }, "users": { - "description": "Output only. The list of resources that refer to this internal range. Resources that use the InternalRange for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this InternalRange. Having a user, based on this reference, prevents deletion of the InternalRange referred to. Can be empty.", + "description": "Output only. The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.", "items": { "type": "string" }, @@ -1850,7 +1850,7 @@ "id": "ListInternalRangesResponse", "properties": { "internalRanges": { - "description": "InternalRanges to be returned.", + "description": "Internal ranges to be returned.", "items": { "$ref": "InternalRange" }, diff --git a/networkconnectivity/v1/networkconnectivity-gen.go b/networkconnectivity/v1/networkconnectivity-gen.go index 8c8786303f4..7c1d96d8843 100644 --- a/networkconnectivity/v1/networkconnectivity-gen.go +++ b/networkconnectivity/v1/networkconnectivity-gen.go @@ -735,32 +735,32 @@ func (s *Hub) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// InternalRange: The InternalRange resource for IPAM operations within +// InternalRange: The internal range resource for IPAM operations within // a VPC network. Used to represent a private address range along with -// behavioral characterstics of that range (it's usage and peering +// behavioral characterstics of that range (its usage and peering // behavior). Networking resources can link to this range if they are -// created as belonging to it. Next id: 14 +// created as belonging to it. type InternalRange struct { - // CreateTime: Time when the InternalRange was created. + // CreateTime: Time when the internal range was created. CreateTime string `json:"createTime,omitempty"` // Description: A description of this resource. Description string `json:"description,omitempty"` - // IpCidrRange: IP range that this InternalRange defines. + // IpCidrRange: The IP range that this internal range defines. IpCidrRange string `json:"ipCidrRange,omitempty"` // Labels: User-defined labels. Labels map[string]string `json:"labels,omitempty"` - // Name: Immutable. The name of a InternalRange. Format: + // Name: Immutable. The name of an internal range. Format: // projects/{project}/locations/{location}/internalRanges/{internal_range // } See: https://google.aip.dev/122#fields-representing-resource-names Name string `json:"name,omitempty"` // Network: The URL or resource ID of the network in which to reserve - // the Internal Range. The network cannot be deleted if there are any - // reserved Internal Ranges referring to it. Legacy network is not + // the internal range. The network cannot be deleted if there are any + // reserved internal ranges referring to it. Legacy networks are not // supported. This can only be specified for a global internal address. // Example: - URL: // /compute/v1/projects/{project}/global/networks/{resourceId} - ID: @@ -768,44 +768,44 @@ type InternalRange struct { Network string `json:"network,omitempty"` // Overlaps: Optional. Types of resources that are allowed to overlap - // with the current InternalRange. + // with the current internal range. // // Possible values: // "OVERLAP_UNSPECIFIED" - No overlap overrides. // "OVERLAP_ROUTE_RANGE" - Allow creation of static routes more - // specific that the current InternalRange. + // specific that the current internal range. Overlaps []string `json:"overlaps,omitempty"` - // Peering: The type of peering set for this InternalRange. + // Peering: The type of peering set for this internal range. // // Possible values: // "PEERING_UNSPECIFIED" - If Peering is left unspecified in // CreateInternalRange or UpdateInternalRange, it will be defaulted to // FOR_SELF. // "FOR_SELF" - This is the default behavior and represents the case - // that this InternalRange is intended to be used in the VPC on which it - // is created and is accessible from it’s peers. This implies that - // peers or peer-of-peer’s cannot use this range. - // "FOR_PEER" - This behavior can be set when the Internal Range is - // being reserved for usage by the peers. This means that no resource - // within the VPC in which it is being created can use this to associate - // with a GCP resource, but one of the peer’s can. This represents - // "donating" a range for peers to use. - // "NOT_SHARED" - This behavior can be set when the Internal Range is - // being reserved for usage by the VPC on which it is created but not - // shared with the peers. In a sense it is local to the VPC. This can be - // used to create Internal Ranges for various purposes like - // HTTP_INTERNAL_LOAD_BALANCER or for interconnect routes that are not - // shared with peers. This also implies that peer’s cannot use this - // range in a way that is visible to this VPC, but can re-use this range - // as long as it is NOT_SHARED from the peer VPC too. + // that this internal range is intended to be used in the VPC in which + // it is created and is accessible from its peers. This implies that + // peers or peers-of-peers cannot use this range. + // "FOR_PEER" - This behavior can be set when the internal range is + // being reserved for usage by peers. This means that no resource within + // the VPC in which it is being created can use this to associate with a + // VPC resource, but one of the peers can. This represents donating a + // range for peers to use. + // "NOT_SHARED" - This behavior can be set when the internal range is + // being reserved for usage by the VPC in which it is created, but not + // shared with peers. In a sense, it is local to the VPC. This can be + // used to create internal ranges for various purposes like + // HTTP_INTERNAL_LOAD_BALANCER or for Interconnect routes that are not + // shared with peers. This also implies that peers cannot use this range + // in a way that is visible to this VPC, but can re-use this range as + // long as it is NOT_SHARED from the peer VPC, too. Peering string `json:"peering,omitempty"` // PrefixLength: An alternate to ip_cidr_range. Can be set when trying // to create a reservation that automatically finds a free range of the - // given size. If both ip_cidr_range and prefix_length are set, it's an - // error if the range sizes don't match. Can also be used during updates - // to change the range size. + // given size. If both ip_cidr_range and prefix_length are set, there is + // an error if the range sizes do not match. Can also be used during + // updates to change the range size. PrefixLength int64 `json:"prefixLength,omitempty"` // TargetCidrRange: Optional. Can be set to narrow down or pick a @@ -815,7 +815,7 @@ type InternalRange struct { // "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. TargetCidrRange []string `json:"targetCidrRange,omitempty"` - // UpdateTime: Time when the InternalRange was updated. + // UpdateTime: Time when the internal range was updated. UpdateTime string `json:"updateTime,omitempty"` // Usage: The type of usage set for this InternalRange. @@ -823,24 +823,24 @@ type InternalRange struct { // Possible values: // "USAGE_UNSPECIFIED" - Unspecified usage is allowed in calls which // identify the resource by other fields and do not need Usage set to - // complete. These are i.e.: GetInternalRange and DeleteInternalRange. + // complete. These are, i.e.: GetInternalRange and DeleteInternalRange. // Usage needs to be specified explicitly in CreateInternalRange or // UpdateInternalRange calls. - // "FOR_VPC" - A GCP resource can use the reserved CIDR block by - // associating it with the Internal Range resource if usage is set to + // "FOR_VPC" - A VPC resource can use the reserved CIDR block by + // associating it with the internal range resource if usage is set to // FOR_VPC. // "EXTERNAL_TO_VPC" - Ranges created with EXTERNAL_TO_VPC cannot be - // associated with GCP resources and are meant to block out address + // associated with VPC resources and are meant to block out address // ranges for various use cases, like for example, usage on-prem, with // dynamic route announcements via interconnect. Usage string `json:"usage,omitempty"` // Users: Output only. The list of resources that refer to this internal - // range. Resources that use the InternalRange for their range + // range. Resources that use the internal range for their range // allocation are referred to as users of the range. Other resources // mark themselves as users while doing so by creating a reference to - // this InternalRange. Having a user, based on this reference, prevents - // deletion of the InternalRange referred to. Can be empty. + // this internal range. Having a user, based on this reference, prevents + // deletion of the internal range referred to. Can be empty. Users []string `json:"users,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -1042,7 +1042,7 @@ func (s *ListHubsResponse) MarshalJSON() ([]byte, error) { // ListInternalRangesResponse: Response for // InternalRange.ListInternalRanges type ListInternalRangesResponse struct { - // InternalRanges: InternalRanges to be returned. + // InternalRanges: Internal ranges to be returned. InternalRanges []*InternalRange `json:"internalRanges,omitempty"` // NextPageToken: The next pagination token in the List response. It @@ -3855,9 +3855,9 @@ type ProjectsLocationsInternalRangesCreateCall struct { header_ http.Header } -// Create: Creates a new InternalRange in a given project and location. +// Create: Creates a new internal range in a given project and location. // -// - parent: The parent resource's name of the InternalRange. +// - parent: The parent resource's name of the internal range. func (r *ProjectsLocationsInternalRangesService) Create(parent string, internalrange *InternalRange) *ProjectsLocationsInternalRangesCreateCall { c := &ProjectsLocationsInternalRangesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -3983,7 +3983,7 @@ func (c *ProjectsLocationsInternalRangesCreateCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Creates a new InternalRange in a given project and location.", + // "description": "Creates a new internal range in a given project and location.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges", // "httpMethod": "POST", // "id": "networkconnectivity.projects.locations.internalRanges.create", @@ -3997,7 +3997,7 @@ func (c *ProjectsLocationsInternalRangesCreateCall) Do(opts ...googleapi.CallOpt // "type": "string" // }, // "parent": { - // "description": "Required. The parent resource's name of the InternalRange.", + // "description": "Required. The parent resource's name of the internal range.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -4033,9 +4033,9 @@ type ProjectsLocationsInternalRangesDeleteCall struct { header_ http.Header } -// Delete: Deletes a single InternalRange. +// Delete: Deletes a single internal range. // -// - name: The name of the InternalRange to delete. +// - name: The name of the internal range to delete. func (r *ProjectsLocationsInternalRangesService) Delete(name string) *ProjectsLocationsInternalRangesDeleteCall { c := &ProjectsLocationsInternalRangesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -4146,7 +4146,7 @@ func (c *ProjectsLocationsInternalRangesDeleteCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Deletes a single InternalRange.", + // "description": "Deletes a single internal range.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", // "httpMethod": "DELETE", // "id": "networkconnectivity.projects.locations.internalRanges.delete", @@ -4155,7 +4155,7 @@ func (c *ProjectsLocationsInternalRangesDeleteCall) Do(opts ...googleapi.CallOpt // ], // "parameters": { // "name": { - // "description": "Required. The name of the InternalRange to delete.", + // "description": "Required. The name of the internal range to delete.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", // "required": true, @@ -4189,7 +4189,7 @@ type ProjectsLocationsInternalRangesGetCall struct { header_ http.Header } -// Get: Gets details of a single InternalRange. +// Get: Gets details of a single internal range. // // - name: Name of the InternalRange to get. func (r *ProjectsLocationsInternalRangesService) Get(name string) *ProjectsLocationsInternalRangesGetCall { @@ -4297,7 +4297,7 @@ func (c *ProjectsLocationsInternalRangesGetCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Gets details of a single InternalRange.", + // "description": "Gets details of a single internal range.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", // "httpMethod": "GET", // "id": "networkconnectivity.projects.locations.internalRanges.get", @@ -4335,7 +4335,7 @@ type ProjectsLocationsInternalRangesListCall struct { header_ http.Header } -// List: Lists InternalRanges in a given project and location. +// List: Lists internal ranges in a given project and location. // // - parent: The parent resource's name. func (r *ProjectsLocationsInternalRangesService) List(parent string) *ProjectsLocationsInternalRangesListCall { @@ -4470,7 +4470,7 @@ func (c *ProjectsLocationsInternalRangesListCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "Lists InternalRanges in a given project and location.", + // "description": "Lists internal ranges in a given project and location.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges", // "httpMethod": "GET", // "id": "networkconnectivity.projects.locations.internalRanges.list", @@ -4550,9 +4550,9 @@ type ProjectsLocationsInternalRangesPatchCall struct { header_ http.Header } -// Patch: Updates the parameters of a single InternalRange. +// Patch: Updates the parameters of a single internal range. // -// - name: Immutable. The name of a InternalRange. Format: +// - name: Immutable. The name of an internal range. Format: // projects/{project}/locations/{location}/internalRanges/{internal_ran // ge} See: // https://google.aip.dev/122#fields-representing-resource-names. @@ -4683,7 +4683,7 @@ func (c *ProjectsLocationsInternalRangesPatchCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Updates the parameters of a single InternalRange.", + // "description": "Updates the parameters of a single internal range.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", // "httpMethod": "PATCH", // "id": "networkconnectivity.projects.locations.internalRanges.patch", @@ -4692,7 +4692,7 @@ func (c *ProjectsLocationsInternalRangesPatchCall) Do(opts ...googleapi.CallOpti // ], // "parameters": { // "name": { - // "description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", + // "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", // "required": true, diff --git a/networkconnectivity/v1alpha1/networkconnectivity-api.json b/networkconnectivity/v1alpha1/networkconnectivity-api.json index ec061bc7883..8b0ac22cfc0 100644 --- a/networkconnectivity/v1alpha1/networkconnectivity-api.json +++ b/networkconnectivity/v1alpha1/networkconnectivity-api.json @@ -453,7 +453,7 @@ "internalRanges": { "methods": { "create": { - "description": "Creates a new InternalRange in a given project and location.", + "description": "Creates a new internal range in a given project and location.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges", "httpMethod": "POST", "id": "networkconnectivity.projects.locations.internalRanges.create", @@ -474,7 +474,7 @@ "type": "string" }, "requestId": { - "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" } @@ -491,7 +491,7 @@ ] }, "delete": { - "description": "Deletes a single InternalRange.", + "description": "Deletes a single internal range.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "DELETE", "id": "networkconnectivity.projects.locations.internalRanges.delete", @@ -507,7 +507,7 @@ "type": "string" }, "requestId": { - "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" } @@ -521,7 +521,7 @@ ] }, "get": { - "description": "Gets details of a single InternalRange.", + "description": "Gets details of a single internal range.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "GET", "id": "networkconnectivity.projects.locations.internalRanges.get", @@ -577,7 +577,7 @@ ] }, "list": { - "description": "Lists InternalRanges in a given project and location.", + "description": "Lists internal ranges in a given project and location.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges", "httpMethod": "GET", "id": "networkconnectivity.projects.locations.internalRanges.list", @@ -623,7 +623,7 @@ ] }, "patch": { - "description": "Updates the parameters of a single InternalRange.", + "description": "Updates the parameters of a single internal range.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "PATCH", "id": "networkconnectivity.projects.locations.internalRanges.patch", @@ -632,19 +632,19 @@ ], "parameters": { "name": { - "description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", + "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", "required": true, "type": "string" }, "requestId": { - "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, "updateMask": { - "description": "Optional. Field mask is used to specify the fields to be overwritten in the InternalRange resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "description": "Optional. Field mask is used to specify the fields to be overwritten in the internal range resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1116,7 +1116,7 @@ } } }, - "revision": "20221107", + "revision": "20230105", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1369,11 +1369,11 @@ "type": "object" }, "InternalRange": { - "description": "The InternalRange resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (it's usage and peering behavior). Networking resources can link to this range if they are created as belonging to it. Next id: 14", + "description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.", "id": "InternalRange", "properties": { "createTime": { - "description": "Time when the InternalRange was created.", + "description": "Time when the internal range was created.", "format": "google-datetime", "type": "string" }, @@ -1382,7 +1382,7 @@ "type": "string" }, "ipCidrRange": { - "description": "IP range that this InternalRange defines.", + "description": "IP range that this internal range defines.", "type": "string" }, "labels": { @@ -1393,15 +1393,15 @@ "type": "object" }, "name": { - "description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", + "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", "type": "string" }, "network": { - "description": "The URL or resource ID of the network in which to reserve the Internal Range. The network cannot be deleted if there are any reserved Internal Ranges referring to it. Legacy network is not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123", + "description": "The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123", "type": "string" }, "overlaps": { - "description": "Optional. Types of resources that are allowed to overlap with the current InternalRange.", + "description": "Optional. Types of resources that are allowed to overlap with the current internal range.", "items": { "enum": [ "OVERLAP_UNSPECIFIED", @@ -1409,14 +1409,14 @@ ], "enumDescriptions": [ "No overlap overrides.", - "Allow creation of static routes more specific that the current InternalRange." + "Allow creation of static routes more specific than the current internal range." ], "type": "string" }, "type": "array" }, "peering": { - "description": "The type of peering set for this InternalRange.", + "description": "The type of peering set for this internal range.", "enum": [ "PEERING_UNSPECIFIED", "FOR_SELF", @@ -1425,14 +1425,14 @@ ], "enumDescriptions": [ "If Peering is left unspecified in CreateInternalRange or UpdateInternalRange, it will be defaulted to FOR_SELF.", - "This is the default behavior and represents the case that this InternalRange is intended to be used in the VPC on which it is created and is accessible from it’s peers. This implies that peers or peer-of-peer’s cannot use this range.", - "This behavior can be set when the Internal Range is being reserved for usage by the peers. This means that no resource within the VPC in which it is being created can use this to associate with a GCP resource, but one of the peer’s can. This represents \"donating\" a range for peers to use.", - "This behavior can be set when the Internal Range is being reserved for usage by the VPC on which it is created but not shared with the peers. In a sense it is local to the VPC. This can be used to create Internal Ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for interconnect routes that are not shared with peers. This also implies that peer’s cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC too." + "This is the default behavior and represents the case that this internal range is intended to be used in the VPC in which it is created and is accessible from its peers. This implies that peers or peers-of-peers cannot use this range.", + "This behavior can be set when the internal range is being reserved for usage by the peers. This means that no resource within the VPC in which it is being created can use this to associate with a VPC resource, but one of the peers can. This represents donating a range for peers to use.", + "This behavior can be set when the internal range is being reserved for usage by the VPC in which it is created but not shared with the peers. In a sense it is local to the VPC. This can be used to create internal ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for Interconnect routes that are not shared with peers. This also implies that peers cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC, too." ], "type": "string" }, "prefixLength": { - "description": "An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, it's an error if the range sizes don't match. Can also be used during updates to change the range size.", + "description": "An alternative to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.", "format": "int32", "type": "integer" }, @@ -1444,26 +1444,26 @@ "type": "array" }, "updateTime": { - "description": "Time when the InternalRange was updated.", + "description": "Time when the internal range was updated.", "format": "google-datetime", "type": "string" }, "usage": { - "description": "The type of usage set for this InternalRange.", + "description": "The type of usage set for this internal range.", "enum": [ "USAGE_UNSPECIFIED", "FOR_VPC", "EXTERNAL_TO_VPC" ], "enumDescriptions": [ - "Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", - "A GCP resource can use the reserved CIDR block by associating it with the Internal Range resource if usage is set to FOR_VPC.", - "Ranges created with EXTERNAL_TO_VPC cannot be associated with GCP resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect." + "Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", + "A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC.", + "Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases such as usage on-premises, with dynamic route announcements via Interconnect." ], "type": "string" }, "users": { - "description": "Output only. The list of resources that refer to this internal range. Resources that use the InternalRange for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this InternalRange. Having a user, based on this reference, prevents deletion of the InternalRange referred to. Can be empty.", + "description": "Output only. The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range that is referred to. Can be empty.", "items": { "type": "string" }, @@ -1503,7 +1503,7 @@ "id": "ListInternalRangesResponse", "properties": { "internalRanges": { - "description": "InternalRanges to be returned.", + "description": "Internal range to be returned.", "items": { "$ref": "InternalRange" }, diff --git a/networkconnectivity/v1alpha1/networkconnectivity-gen.go b/networkconnectivity/v1alpha1/networkconnectivity-gen.go index 720de885007..094356dd3d5 100644 --- a/networkconnectivity/v1alpha1/networkconnectivity-gen.go +++ b/networkconnectivity/v1alpha1/networkconnectivity-gen.go @@ -679,32 +679,32 @@ func (s *Hub) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// InternalRange: The InternalRange resource for IPAM operations within +// InternalRange: The internal range resource for IPAM operations within // a VPC network. Used to represent a private address range along with -// behavioral characterstics of that range (it's usage and peering +// behavioral characterstics of that range (its usage and peering // behavior). Networking resources can link to this range if they are -// created as belonging to it. Next id: 14 +// created as belonging to it. type InternalRange struct { - // CreateTime: Time when the InternalRange was created. + // CreateTime: Time when the internal range was created. CreateTime string `json:"createTime,omitempty"` // Description: A description of this resource. Description string `json:"description,omitempty"` - // IpCidrRange: IP range that this InternalRange defines. + // IpCidrRange: IP range that this internal range defines. IpCidrRange string `json:"ipCidrRange,omitempty"` // Labels: User-defined labels. Labels map[string]string `json:"labels,omitempty"` - // Name: Immutable. The name of a InternalRange. Format: + // Name: Immutable. The name of an internal range. Format: // projects/{project}/locations/{location}/internalRanges/{internal_range // } See: https://google.aip.dev/122#fields-representing-resource-names Name string `json:"name,omitempty"` // Network: The URL or resource ID of the network in which to reserve - // the Internal Range. The network cannot be deleted if there are any - // reserved Internal Ranges referring to it. Legacy network is not + // the internal range. The network cannot be deleted if there are any + // reserved internal ranges referring to it. Legacy networks are not // supported. This can only be specified for a global internal address. // Example: - URL: // /compute/v1/projects/{project}/global/networks/{resourceId} - ID: @@ -712,44 +712,44 @@ type InternalRange struct { Network string `json:"network,omitempty"` // Overlaps: Optional. Types of resources that are allowed to overlap - // with the current InternalRange. + // with the current internal range. // // Possible values: // "OVERLAP_UNSPECIFIED" - No overlap overrides. // "OVERLAP_ROUTE_RANGE" - Allow creation of static routes more - // specific that the current InternalRange. + // specific than the current internal range. Overlaps []string `json:"overlaps,omitempty"` - // Peering: The type of peering set for this InternalRange. + // Peering: The type of peering set for this internal range. // // Possible values: // "PEERING_UNSPECIFIED" - If Peering is left unspecified in // CreateInternalRange or UpdateInternalRange, it will be defaulted to // FOR_SELF. // "FOR_SELF" - This is the default behavior and represents the case - // that this InternalRange is intended to be used in the VPC on which it - // is created and is accessible from it’s peers. This implies that - // peers or peer-of-peer’s cannot use this range. - // "FOR_PEER" - This behavior can be set when the Internal Range is + // that this internal range is intended to be used in the VPC in which + // it is created and is accessible from its peers. This implies that + // peers or peers-of-peers cannot use this range. + // "FOR_PEER" - This behavior can be set when the internal range is // being reserved for usage by the peers. This means that no resource // within the VPC in which it is being created can use this to associate - // with a GCP resource, but one of the peer’s can. This represents - // "donating" a range for peers to use. - // "NOT_SHARED" - This behavior can be set when the Internal Range is - // being reserved for usage by the VPC on which it is created but not + // with a VPC resource, but one of the peers can. This represents + // donating a range for peers to use. + // "NOT_SHARED" - This behavior can be set when the internal range is + // being reserved for usage by the VPC in which it is created but not // shared with the peers. In a sense it is local to the VPC. This can be - // used to create Internal Ranges for various purposes like - // HTTP_INTERNAL_LOAD_BALANCER or for interconnect routes that are not - // shared with peers. This also implies that peer’s cannot use this - // range in a way that is visible to this VPC, but can re-use this range - // as long as it is NOT_SHARED from the peer VPC too. + // used to create internal ranges for various purposes like + // HTTP_INTERNAL_LOAD_BALANCER or for Interconnect routes that are not + // shared with peers. This also implies that peers cannot use this range + // in a way that is visible to this VPC, but can re-use this range as + // long as it is NOT_SHARED from the peer VPC, too. Peering string `json:"peering,omitempty"` - // PrefixLength: An alternate to ip_cidr_range. Can be set when trying + // PrefixLength: An alternative to ip_cidr_range. Can be set when trying // to create a reservation that automatically finds a free range of the - // given size. If both ip_cidr_range and prefix_length are set, it's an - // error if the range sizes don't match. Can also be used during updates - // to change the range size. + // given size. If both ip_cidr_range and prefix_length are set, there is + // an error if the range sizes do not match. Can also be used during + // updates to change the range size. PrefixLength int64 `json:"prefixLength,omitempty"` // TargetCidrRange: Optional. Can be set to narrow down or pick a @@ -759,32 +759,32 @@ type InternalRange struct { // "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. TargetCidrRange []string `json:"targetCidrRange,omitempty"` - // UpdateTime: Time when the InternalRange was updated. + // UpdateTime: Time when the internal range was updated. UpdateTime string `json:"updateTime,omitempty"` - // Usage: The type of usage set for this InternalRange. + // Usage: The type of usage set for this internal range. // // Possible values: // "USAGE_UNSPECIFIED" - Unspecified usage is allowed in calls which // identify the resource by other fields and do not need Usage set to - // complete. These are i.e.: GetInternalRange and DeleteInternalRange. + // complete. These are, i.e.: GetInternalRange and DeleteInternalRange. // Usage needs to be specified explicitly in CreateInternalRange or // UpdateInternalRange calls. - // "FOR_VPC" - A GCP resource can use the reserved CIDR block by - // associating it with the Internal Range resource if usage is set to + // "FOR_VPC" - A VPC resource can use the reserved CIDR block by + // associating it with the internal range resource if usage is set to // FOR_VPC. // "EXTERNAL_TO_VPC" - Ranges created with EXTERNAL_TO_VPC cannot be - // associated with GCP resources and are meant to block out address - // ranges for various use cases, like for example, usage on-prem, with - // dynamic route announcements via interconnect. + // associated with VPC resources and are meant to block out address + // ranges for various use cases such as usage on-premises, with dynamic + // route announcements via Interconnect. Usage string `json:"usage,omitempty"` // Users: Output only. The list of resources that refer to this internal - // range. Resources that use the InternalRange for their range + // range. Resources that use the internal range for their range // allocation are referred to as users of the range. Other resources // mark themselves as users while doing so by creating a reference to - // this InternalRange. Having a user, based on this reference, prevents - // deletion of the InternalRange referred to. Can be empty. + // this internal range. Having a user, based on this reference, prevents + // deletion of the internal range that is referred to. Can be empty. Users []string `json:"users,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -857,7 +857,7 @@ func (s *ListHubsResponse) MarshalJSON() ([]byte, error) { // ListInternalRangesResponse: Response for // InternalRange.ListInternalRanges type ListInternalRangesResponse struct { - // InternalRanges: InternalRanges to be returned. + // InternalRanges: Internal range to be returned. InternalRanges []*InternalRange `json:"internalRanges,omitempty"` // NextPageToken: The next pagination token in the List response. It @@ -3116,7 +3116,7 @@ type ProjectsLocationsInternalRangesCreateCall struct { header_ http.Header } -// Create: Creates a new InternalRange in a given project and location. +// Create: Creates a new internal range in a given project and location. // // - parent: The parent resource's name of the InternalRange. func (r *ProjectsLocationsInternalRangesService) Create(parent string, internalrange *InternalRange) *ProjectsLocationsInternalRangesCreateCall { @@ -3142,9 +3142,9 @@ func (c *ProjectsLocationsInternalRangesCreateCall) InternalRangeId(internalRang // that for at least 60 minutes since the first request. For example, // consider a situation where you make an initial request and t he // request times out. If you make the request again with the same -// request ID, the server can check if original operation with the same -// request ID was received, and if so, will ignore the second request. -// This prevents clients from accidentally creating duplicate +// request ID, the server can check if the original operation with the +// same request ID was received, and if so, will ignore the second +// request. This prevents clients from accidentally creating duplicate // commitments. The request ID must be a valid UUID with the exception // that zero UUID is not supported // (00000000-0000-0000-0000-000000000000). @@ -3244,7 +3244,7 @@ func (c *ProjectsLocationsInternalRangesCreateCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Creates a new InternalRange in a given project and location.", + // "description": "Creates a new internal range in a given project and location.", // "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges", // "httpMethod": "POST", // "id": "networkconnectivity.projects.locations.internalRanges.create", @@ -3265,7 +3265,7 @@ func (c *ProjectsLocationsInternalRangesCreateCall) Do(opts ...googleapi.CallOpt // "type": "string" // }, // "requestId": { - // "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + // "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", // "location": "query", // "type": "string" // } @@ -3294,7 +3294,7 @@ type ProjectsLocationsInternalRangesDeleteCall struct { header_ http.Header } -// Delete: Deletes a single InternalRange. +// Delete: Deletes a single internal range. // // - name: The name of the InternalRange to delete. func (r *ProjectsLocationsInternalRangesService) Delete(name string) *ProjectsLocationsInternalRangesDeleteCall { @@ -3310,9 +3310,9 @@ func (r *ProjectsLocationsInternalRangesService) Delete(name string) *ProjectsLo // that for at least 60 minutes after the first request. For example, // consider a situation where you make an initial request and t he // request times out. If you make the request again with the same -// request ID, the server can check if original operation with the same -// request ID was received, and if so, will ignore the second request. -// This prevents clients from accidentally creating duplicate +// request ID, the server can check if the original operation with the +// same request ID was received, and if so, will ignore the second +// request. This prevents clients from accidentally creating duplicate // commitments. The request ID must be a valid UUID with the exception // that zero UUID is not supported // (00000000-0000-0000-0000-000000000000). @@ -3407,7 +3407,7 @@ func (c *ProjectsLocationsInternalRangesDeleteCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Deletes a single InternalRange.", + // "description": "Deletes a single internal range.", // "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", // "httpMethod": "DELETE", // "id": "networkconnectivity.projects.locations.internalRanges.delete", @@ -3423,7 +3423,7 @@ func (c *ProjectsLocationsInternalRangesDeleteCall) Do(opts ...googleapi.CallOpt // "type": "string" // }, // "requestId": { - // "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + // "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", // "location": "query", // "type": "string" // } @@ -3450,7 +3450,7 @@ type ProjectsLocationsInternalRangesGetCall struct { header_ http.Header } -// Get: Gets details of a single InternalRange. +// Get: Gets details of a single internal range. // // - name: Name of the InternalRange to get. func (r *ProjectsLocationsInternalRangesService) Get(name string) *ProjectsLocationsInternalRangesGetCall { @@ -3558,7 +3558,7 @@ func (c *ProjectsLocationsInternalRangesGetCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Gets details of a single InternalRange.", + // "description": "Gets details of a single internal range.", // "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", // "httpMethod": "GET", // "id": "networkconnectivity.projects.locations.internalRanges.get", @@ -3771,7 +3771,7 @@ type ProjectsLocationsInternalRangesListCall struct { header_ http.Header } -// List: Lists InternalRanges in a given project and location. +// List: Lists internal ranges in a given project and location. // // - parent: The parent resource's name. func (r *ProjectsLocationsInternalRangesService) List(parent string) *ProjectsLocationsInternalRangesListCall { @@ -3906,7 +3906,7 @@ func (c *ProjectsLocationsInternalRangesListCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "Lists InternalRanges in a given project and location.", + // "description": "Lists internal ranges in a given project and location.", // "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges", // "httpMethod": "GET", // "id": "networkconnectivity.projects.locations.internalRanges.list", @@ -3986,9 +3986,9 @@ type ProjectsLocationsInternalRangesPatchCall struct { header_ http.Header } -// Patch: Updates the parameters of a single InternalRange. +// Patch: Updates the parameters of a single internal range. // -// - name: Immutable. The name of a InternalRange. Format: +// - name: Immutable. The name of an internal range. Format: // projects/{project}/locations/{location}/internalRanges/{internal_ran // ge} See: // https://google.aip.dev/122#fields-representing-resource-names. @@ -4006,9 +4006,9 @@ func (r *ProjectsLocationsInternalRangesService) Patch(name string, internalrang // that for at least 60 minutes since the first request. For example, // consider a situation where you make an initial request and t he // request times out. If you make the request again with the same -// request ID, the server can check if original operation with the same -// request ID was received, and if so, will ignore the second request. -// This prevents clients from accidentally creating duplicate +// request ID, the server can check if the original operation with the +// same request ID was received, and if so, will ignore the second +// request. This prevents clients from accidentally creating duplicate // commitments. The request ID must be a valid UUID with the exception // that zero UUID is not supported // (00000000-0000-0000-0000-000000000000). @@ -4018,7 +4018,7 @@ func (c *ProjectsLocationsInternalRangesPatchCall) RequestId(requestId string) * } // UpdateMask sets the optional parameter "updateMask": Field mask is -// used to specify the fields to be overwritten in the InternalRange +// used to specify the fields to be overwritten in the internal range // resource by the update. The fields specified in the update_mask are // relative to the resource, not the full request. A field will be // overwritten if it is in the mask. If the user does not provide a mask @@ -4119,7 +4119,7 @@ func (c *ProjectsLocationsInternalRangesPatchCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Updates the parameters of a single InternalRange.", + // "description": "Updates the parameters of a single internal range.", // "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", // "httpMethod": "PATCH", // "id": "networkconnectivity.projects.locations.internalRanges.patch", @@ -4128,19 +4128,19 @@ func (c *ProjectsLocationsInternalRangesPatchCall) Do(opts ...googleapi.CallOpti // ], // "parameters": { // "name": { - // "description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", + // "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", // "required": true, // "type": "string" // }, // "requestId": { - // "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + // "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", // "location": "query", // "type": "string" // }, // "updateMask": { - // "description": "Optional. Field mask is used to specify the fields to be overwritten in the InternalRange resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + // "description": "Optional. Field mask is used to specify the fields to be overwritten in the internal range resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/tpu/v2alpha1/tpu-api.json b/tpu/v2alpha1/tpu-api.json index 629664dcf7a..b4ae5f776e8 100644 --- a/tpu/v2alpha1/tpu-api.json +++ b/tpu/v2alpha1/tpu-api.json @@ -511,7 +511,7 @@ ], "parameters": { "name": { - "description": "The resource name.", + "description": "Required. The resource name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", "required": true, @@ -539,7 +539,7 @@ ], "parameters": { "name": { - "description": "The resource name.", + "description": "Required. The resource name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", "required": true, @@ -892,7 +892,7 @@ } } }, - "revision": "20221130", + "revision": "20230105", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorType": { @@ -1530,7 +1530,7 @@ "description": "Required. The node." }, "nodeId": { - "description": "The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format. This is only specified when requesting a single node. In case of multi-node requests, multi_node_params must be populated instead. It's an error to specify both node_id and multi_node_params.", + "description": "The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format. This is only specified when requesting a single node. In case of multi-node requests, multi_node_params must be populated instead. It's an error to specify both node_id and multi_node_params.", "type": "string" }, "parent": { diff --git a/tpu/v2alpha1/tpu-gen.go b/tpu/v2alpha1/tpu-gen.go index cffb2aa7f0b..227f2c3c010 100644 --- a/tpu/v2alpha1/tpu-gen.go +++ b/tpu/v2alpha1/tpu-gen.go @@ -1166,7 +1166,7 @@ type NodeSpec struct { Node *Node `json:"node,omitempty"` // NodeId: The unqualified resource name. Should follow the - // ^[A-Za-z0-9_.~+%-]+$ regex format. This is only specified when + // `^[A-Za-z0-9_.~+%-]+$` regex format. This is only specified when // requesting a single node. In case of multi-node requests, // multi_node_params must be populated instead. It's an error to specify // both node_id and multi_node_params. @@ -3879,7 +3879,7 @@ func (c *ProjectsLocationsNodesStartCall) Do(opts ...googleapi.CallOption) (*Ope // ], // "parameters": { // "name": { - // "description": "The resource name.", + // "description": "Required. The resource name.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", // "required": true, @@ -4022,7 +4022,7 @@ func (c *ProjectsLocationsNodesStopCall) Do(opts ...googleapi.CallOption) (*Oper // ], // "parameters": { // "name": { - // "description": "The resource name.", + // "description": "Required. The resource name.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", // "required": true, diff --git a/workstations/v1beta/workstations-api.json b/workstations/v1beta/workstations-api.json index ab2e3b92951..f6a7dd4332b 100644 --- a/workstations/v1beta/workstations-api.json +++ b/workstations/v1beta/workstations-api.json @@ -1127,7 +1127,7 @@ } } }, - "revision": "20221214", + "revision": "20230105", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "AuditConfig": { @@ -1706,7 +1706,7 @@ "type": "string" }, "enablePrivateEndpoint": { - "description": "Whether Workstations endpoint is private.", + "description": "Immutable. Whether Workstations endpoint is private.", "type": "boolean" }, "serviceAttachmentUri": { @@ -1854,6 +1854,13 @@ "readOnly": true, "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.", + "type": "object" + }, "name": { "description": "Full name of this resource.", "type": "string" @@ -1940,12 +1947,19 @@ "description": "Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.", "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.", + "type": "object" + }, "name": { "description": "Full name of this resource.", "type": "string" }, "network": { - "description": "Name of the Compute Engine network in which instances associated with this cluster will be created.", + "description": "Immutable. Name of the Compute Engine network in which instances associated with this cluster will be created.", "type": "string" }, "privateClusterConfig": { @@ -1958,7 +1972,7 @@ "type": "boolean" }, "subnetwork": { - "description": "Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. Must be part of the subnetwork specified for this cluster.", + "description": "Immutable. Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. Must be part of the subnetwork specified for this cluster.", "type": "string" }, "uid": { @@ -2032,6 +2046,13 @@ "format": "google-duration", "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.", + "type": "object" + }, "name": { "description": "Full name of this resource.", "type": "string" diff --git a/workstations/v1beta/workstations-gen.go b/workstations/v1beta/workstations-gen.go index faa35cdaa2a..ea9289afa1f 100644 --- a/workstations/v1beta/workstations-gen.go +++ b/workstations/v1beta/workstations-gen.go @@ -1284,7 +1284,8 @@ type PrivateClusterConfig struct { // mapping that address to the service attachment. ClusterHostname string `json:"clusterHostname,omitempty"` - // EnablePrivateEndpoint: Whether Workstations endpoint is private. + // EnablePrivateEndpoint: Immutable. Whether Workstations endpoint is + // private. EnablePrivateEndpoint bool `json:"enablePrivateEndpoint,omitempty"` // ServiceAttachmentUri: Output only. Service attachment URI for the @@ -1559,6 +1560,10 @@ type Workstation struct { // in the format "{port}-{host}". Host string `json:"host,omitempty"` + // Labels: Client-specified labels that are applied to the resource and + // that are also propagated to the underlying Compute Engine resources. + Labels map[string]string `json:"labels,omitempty"` + // Name: Full name of this resource. Name string `json:"name,omitempty"` @@ -1643,11 +1648,15 @@ type WorkstationCluster struct { // before proceeding. Etag string `json:"etag,omitempty"` + // Labels: Client-specified labels that are applied to the resource and + // that are also propagated to the underlying Compute Engine resources. + Labels map[string]string `json:"labels,omitempty"` + // Name: Full name of this resource. Name string `json:"name,omitempty"` - // Network: Name of the Compute Engine network in which instances - // associated with this cluster will be created. + // Network: Immutable. Name of the Compute Engine network in which + // instances associated with this cluster will be created. Network string `json:"network,omitempty"` // PrivateClusterConfig: Configuration for private cluster. @@ -1657,9 +1666,9 @@ type WorkstationCluster struct { // currently being updated to match its intended state. Reconciling bool `json:"reconciling,omitempty"` - // Subnetwork: Name of the Compute Engine subnetwork in which instances - // associated with this cluster will be created. Must be part of the - // subnetwork specified for this cluster. + // Subnetwork: Immutable. Name of the Compute Engine subnetwork in which + // instances associated with this cluster will be created. Must be part + // of the subnetwork specified for this cluster. Subnetwork string `json:"subnetwork,omitempty"` // Uid: Output only. A system-assigned unique identified for this @@ -1740,6 +1749,10 @@ type WorkstationConfig struct { // Defaults to 20 minutes. IdleTimeout string `json:"idleTimeout,omitempty"` + // Labels: Client-specified labels that are applied to the resource and + // that are also propagated to the underlying Compute Engine resources. + Labels map[string]string `json:"labels,omitempty"` + // Name: Full name of this resource. Name string `json:"name,omitempty"`