From fc221ced8f967897a23fa585f918801c10a13b0d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 15 Mar 2023 10:44:21 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1900) --- api-list.json | 15 - cloudchannel/v1/cloudchannel-api.json | 215 ++++++++- cloudchannel/v1/cloudchannel-gen.go | 413 ++++++++++++++++++ compute/v0.alpha/compute-api.json | 14 +- compute/v0.alpha/compute-gen.go | 20 +- compute/v0.beta/compute-api.json | 14 +- compute/v0.beta/compute-gen.go | 20 +- compute/v1/compute-api.json | 8 +- compute/v1/compute-gen.go | 7 +- container/v1/container-api.json | 6 +- container/v1/container-gen.go | 4 +- .../v1beta1/containeranalysis-api.json | 94 ++-- .../v1beta1/containeranalysis-gen.go | 115 +++-- displayvideo/v1/displayvideo-api.json | 8 +- displayvideo/v1/displayvideo-gen.go | 6 + displayvideo/v2/displayvideo-api.json | 8 +- displayvideo/v2/displayvideo-gen.go | 6 + .../v1/paymentsresellersubscription-api.json | 8 +- .../v1/paymentsresellersubscription-gen.go | 14 +- .../v1alpha1/prod_tt_sasportal-api.json | 83 +++- .../v1alpha1/prod_tt_sasportal-gen.go | 87 ++++ sasportal/v1alpha1/sasportal-api.json | 83 +++- sasportal/v1alpha1/sasportal-gen.go | 87 ++++ .../v1/serviceconsumermanagement-api.json | 34 +- .../v1/serviceconsumermanagement-gen.go | 22 +- .../serviceconsumermanagement-api.json | 34 +- .../v1beta1/serviceconsumermanagement-gen.go | 22 +- .../v1/servicenetworking-api.json | 8 +- servicenetworking/v1/servicenetworking-gen.go | 7 +- .../v1beta/servicenetworking-api.json | 6 +- .../v1beta/servicenetworking-gen.go | 4 +- serviceusage/v1/serviceusage-api.json | 34 +- serviceusage/v1/serviceusage-gen.go | 22 +- serviceusage/v1beta1/serviceusage-api.json | 34 +- serviceusage/v1beta1/serviceusage-gen.go | 22 +- speech/v1/speech-api.json | 11 +- speech/v1/speech-gen.go | 14 +- speech/v1p1beta1/speech-api.json | 13 +- speech/v1p1beta1/speech-gen.go | 16 +- 39 files changed, 1415 insertions(+), 223 deletions(-) diff --git a/api-list.json b/api-list.json index 2da3c6725a4..e1ccdc921db 100644 --- a/api-list.json +++ b/api-list.json @@ -4417,21 +4417,6 @@ "documentationLink": "https://cloud.google.com/iam/docs/simulating-access", "preferred": false }, - { - "kind": "discovery#directoryItem", - "id": "policysimulator:v1beta1", - "name": "policysimulator", - "version": "v1beta1", - "title": "Policy Simulator API", - "description": "Policy Simulator is a collection of endpoints for creating, running, and viewing a [Replay][google.cloud.policysimulator.v1beta1.Replay]. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.", - "discoveryRestUrl": "https://policysimulator.googleapis.com/$discovery/rest?version=v1beta1", - "icons": { - "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", - "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" - }, - "documentationLink": "https://cloud.google.com/iam/docs/simulating-access", - "preferred": false - }, { "kind": "discovery#directoryItem", "id": "policysimulator:v1", diff --git a/cloudchannel/v1/cloudchannel-api.json b/cloudchannel/v1/cloudchannel-api.json index 22241eadf5a..d3c6e92d28c 100644 --- a/cloudchannel/v1/cloudchannel-api.json +++ b/cloudchannel/v1/cloudchannel-api.json @@ -1550,6 +1550,47 @@ "https://www.googleapis.com/auth/apps.order" ] }, + "listEntitlementChanges": { + "description": "List entitlement history. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different. * INVALID_ARGUMENT: Missing or invalid required fields in the request. * NOT_FOUND: The parent resource doesn't exist. Usually the result of an invalid name parameter. * INTERNAL: Any non-user error related to a technical issue in the backend. In this case, contact CloudChannel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. In this case, contact Cloud Channel support. Return value: List of EntitlementChanges.", + "flatPath": "v1/accounts/{accountsId}/customers/{customersId}/entitlements/{entitlementsId}:listEntitlementChanges", + "httpMethod": "GET", + "id": "cloudchannel.accounts.customers.entitlements.listEntitlementChanges", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filters applied to the list results.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of entitlement changes to return. The service may return fewer than this value. If unspecified, returns at most 10 entitlement changes. The maximum value is 50; the server will coerce values above 50.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous CloudChannelService.ListEntitlementChanges call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CloudChannelService.ListEntitlementChanges must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the entitlement for which to list entitlement changes. The `-` wildcard may be used to match entitlements across a customer. Formats: * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} * accounts/{account_id}/customers/{customer_id}/entitlements/-", + "location": "path", + "pattern": "^accounts/[^/]+/customers/[^/]+/entitlements/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}:listEntitlementChanges", + "response": { + "$ref": "GoogleCloudChannelV1ListEntitlementChangesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.order" + ] + }, "lookupOffer": { "description": "Returns the requested Offer resource. Possible error codes: * PERMISSION_DENIED: The entitlement doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: Entitlement or offer was not found. Return value: The Offer resource.", "flatPath": "v1/accounts/{accountsId}/customers/{customersId}/entitlements/{entitlementsId}:lookupOffer", @@ -1673,6 +1714,11 @@ "pattern": "^accounts/[^/]+$", "required": true, "type": "string" + }, + "showFutureOffers": { + "description": "Optional. A boolean flag that determines if a response returns future offers 30 days from now. If the show_future_offers is true, the response will only contain offers that are scheduled to be available 30 days from now.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+parent}/offers", @@ -2009,7 +2055,7 @@ } } }, - "revision": "20230304", + "revision": "20230309", "rootUrl": "https://cloudchannel.googleapis.com/", "schemas": { "GoogleCloudChannelV1ActivateEntitlementRequest": { @@ -2788,6 +2834,155 @@ }, "type": "object" }, + "GoogleCloudChannelV1EntitlementChange": { + "description": "Change event entry for Entitlement order history", + "id": "GoogleCloudChannelV1EntitlementChange", + "properties": { + "activationReason": { + "description": "The Entitlement's activation reason", + "enum": [ + "ACTIVATION_REASON_UNSPECIFIED", + "RESELLER_REVOKED_SUSPENSION", + "CUSTOMER_ACCEPTED_PENDING_TOS", + "RENEWAL_SETTINGS_CHANGED", + "OTHER_ACTIVATION_REASON" + ], + "enumDescriptions": [ + "Not used.", + "Reseller reactivated a suspended Entitlement.", + "Customer accepted pending terms of service.", + "Reseller updated the renewal settings on an entitlement that was suspended due to cancellation, and this update reactivated the entitlement.", + "Other reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.)" + ], + "type": "string" + }, + "cancellationReason": { + "description": "Cancellation reason for the Entitlement.", + "enum": [ + "CANCELLATION_REASON_UNSPECIFIED", + "SERVICE_TERMINATED", + "RELATIONSHIP_ENDED", + "PARTIAL_TRANSFER" + ], + "enumDescriptions": [ + "Not used.", + "Reseller triggered a cancellation of the service.", + "Relationship between the reseller and customer has ended due to a transfer.", + "Entitlement transferred away from reseller while still keeping other entitlement(s) with the reseller." + ], + "type": "string" + }, + "changeType": { + "description": "The change action type.", + "enum": [ + "CHANGE_TYPE_UNSPECIFIED", + "CREATED", + "PRICE_PLAN_SWITCHED", + "COMMITMENT_CHANGED", + "RENEWED", + "SUSPENDED", + "ACTIVATED", + "CANCELLED", + "SKU_CHANGED", + "RENEWAL_SETTING_CHANGED", + "PAID_SUBSCRIPTION_STARTED", + "LICENSE_CAP_CHANGED", + "SUSPENSION_DETAILS_CHANGED", + "TRIAL_END_DATE_EXTENDED", + "TRIAL_STARTED" + ], + "enumDescriptions": [ + "Not used.", + "New Entitlement was created.", + "Price plan associated with an Entitlement was changed.", + "Number of seats committed for a commitment Entitlement was changed.", + "An annual Entitlement was renewed.", + "Entitlement was suspended.", + "Entitlement was activated.", + "Entitlement was cancelled.", + "Entitlement was upgraded or downgraded for ex. from Google Workspace Business Standard to Google Workspace Business Plus.", + "The settings for renewal of an Entitlement have changed.", + "Use for Google Workspace subscription. Either a trial was converted to a paid subscription or a new subscription with no trial is created.", + "License cap was changed for the entitlement.", + "The suspension details have changed (but it is still suspended).", + "The trial end date was extended.", + "Entitlement started trial." + ], + "type": "string" + }, + "createTime": { + "description": "The submitted time of the change.", + "format": "google-datetime", + "type": "string" + }, + "entitlement": { + "description": "Required. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}", + "type": "string" + }, + "offer": { + "description": "Required. Resource name of the Offer at the time of change. Takes the form: accounts/{account_id}/offers/{offer_id}.", + "type": "string" + }, + "operator": { + "description": "Human-readable identifier that shows what operator made a change. When the operator_type is RESELLER, this is the user's email address. For all other operator types, this is empty.", + "type": "string" + }, + "operatorType": { + "description": "Operator type responsible for the change.", + "enum": [ + "OPERATOR_TYPE_UNSPECIFIED", + "CUSTOMER_SERVICE_REPRESENTATIVE", + "SYSTEM", + "CUSTOMER", + "RESELLER" + ], + "enumDescriptions": [ + "Not used.", + "Customer service representative.", + "System auto job.", + "Customer user.", + "Reseller user." + ], + "type": "string" + }, + "otherChangeReason": { + "description": "e.g. purchase_number change reason, entered by CRS.", + "type": "string" + }, + "parameters": { + "description": "Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.", + "items": { + "$ref": "GoogleCloudChannelV1Parameter" + }, + "type": "array" + }, + "provisionedService": { + "$ref": "GoogleCloudChannelV1ProvisionedService", + "description": "Service provisioned for an Entitlement." + }, + "suspensionReason": { + "description": "Suspension reason for the Entitlement.", + "enum": [ + "SUSPENSION_REASON_UNSPECIFIED", + "RESELLER_INITIATED", + "TRIAL_ENDED", + "RENEWAL_WITH_TYPE_CANCEL", + "PENDING_TOS_ACCEPTANCE", + "OTHER" + ], + "enumDescriptions": [ + "Not used.", + "Entitlement was manually suspended by the Reseller.", + "Trial ended.", + "Entitlement renewal was canceled.", + "Entitlement was automatically suspended on creation for pending ToS acceptance on customer.", + "Other reasons (internal reasons, abuse, etc.)." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudChannelV1EntitlementEvent": { "description": "Represents Pub/Sub message content describing entitlement update.", "id": "GoogleCloudChannelV1EntitlementEvent", @@ -2974,6 +3169,24 @@ }, "type": "object" }, + "GoogleCloudChannelV1ListEntitlementChangesResponse": { + "description": "Response message for CloudChannelService.ListEntitlementChanges", + "id": "GoogleCloudChannelV1ListEntitlementChangesResponse", + "properties": { + "entitlementChanges": { + "description": "The list of entitlement changes.", + "items": { + "$ref": "GoogleCloudChannelV1EntitlementChange" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token to list the next page of results.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudChannelV1ListEntitlementsResponse": { "description": "Response message for CloudChannelService.ListEntitlements.", "id": "GoogleCloudChannelV1ListEntitlementsResponse", diff --git a/cloudchannel/v1/cloudchannel-gen.go b/cloudchannel/v1/cloudchannel-gen.go index cc50a8eb3e1..75adf136c49 100644 --- a/cloudchannel/v1/cloudchannel-gen.go +++ b/cloudchannel/v1/cloudchannel-gen.go @@ -1561,6 +1561,141 @@ func (s *GoogleCloudChannelV1Entitlement) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudChannelV1EntitlementChange: Change event entry for +// Entitlement order history +type GoogleCloudChannelV1EntitlementChange struct { + // ActivationReason: The Entitlement's activation reason + // + // Possible values: + // "ACTIVATION_REASON_UNSPECIFIED" - Not used. + // "RESELLER_REVOKED_SUSPENSION" - Reseller reactivated a suspended + // Entitlement. + // "CUSTOMER_ACCEPTED_PENDING_TOS" - Customer accepted pending terms + // of service. + // "RENEWAL_SETTINGS_CHANGED" - Reseller updated the renewal settings + // on an entitlement that was suspended due to cancellation, and this + // update reactivated the entitlement. + // "OTHER_ACTIVATION_REASON" - Other reasons (Activated temporarily + // for cancellation, added a payment plan to a trial entitlement, etc.) + ActivationReason string `json:"activationReason,omitempty"` + + // CancellationReason: Cancellation reason for the Entitlement. + // + // Possible values: + // "CANCELLATION_REASON_UNSPECIFIED" - Not used. + // "SERVICE_TERMINATED" - Reseller triggered a cancellation of the + // service. + // "RELATIONSHIP_ENDED" - Relationship between the reseller and + // customer has ended due to a transfer. + // "PARTIAL_TRANSFER" - Entitlement transferred away from reseller + // while still keeping other entitlement(s) with the reseller. + CancellationReason string `json:"cancellationReason,omitempty"` + + // ChangeType: The change action type. + // + // Possible values: + // "CHANGE_TYPE_UNSPECIFIED" - Not used. + // "CREATED" - New Entitlement was created. + // "PRICE_PLAN_SWITCHED" - Price plan associated with an Entitlement + // was changed. + // "COMMITMENT_CHANGED" - Number of seats committed for a commitment + // Entitlement was changed. + // "RENEWED" - An annual Entitlement was renewed. + // "SUSPENDED" - Entitlement was suspended. + // "ACTIVATED" - Entitlement was activated. + // "CANCELLED" - Entitlement was cancelled. + // "SKU_CHANGED" - Entitlement was upgraded or downgraded for ex. from + // Google Workspace Business Standard to Google Workspace Business Plus. + // "RENEWAL_SETTING_CHANGED" - The settings for renewal of an + // Entitlement have changed. + // "PAID_SUBSCRIPTION_STARTED" - Use for Google Workspace + // subscription. Either a trial was converted to a paid subscription or + // a new subscription with no trial is created. + // "LICENSE_CAP_CHANGED" - License cap was changed for the + // entitlement. + // "SUSPENSION_DETAILS_CHANGED" - The suspension details have changed + // (but it is still suspended). + // "TRIAL_END_DATE_EXTENDED" - The trial end date was extended. + // "TRIAL_STARTED" - Entitlement started trial. + ChangeType string `json:"changeType,omitempty"` + + // CreateTime: The submitted time of the change. + CreateTime string `json:"createTime,omitempty"` + + // Entitlement: Required. Resource name of an entitlement in the form: + // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlemen + // t_id} + Entitlement string `json:"entitlement,omitempty"` + + // Offer: Required. Resource name of the Offer at the time of change. + // Takes the form: accounts/{account_id}/offers/{offer_id}. + Offer string `json:"offer,omitempty"` + + // Operator: Human-readable identifier that shows what operator made a + // change. When the operator_type is RESELLER, this is the user's email + // address. For all other operator types, this is empty. + Operator string `json:"operator,omitempty"` + + // OperatorType: Operator type responsible for the change. + // + // Possible values: + // "OPERATOR_TYPE_UNSPECIFIED" - Not used. + // "CUSTOMER_SERVICE_REPRESENTATIVE" - Customer service + // representative. + // "SYSTEM" - System auto job. + // "CUSTOMER" - Customer user. + // "RESELLER" - Reseller user. + OperatorType string `json:"operatorType,omitempty"` + + // OtherChangeReason: e.g. purchase_number change reason, entered by + // CRS. + OtherChangeReason string `json:"otherChangeReason,omitempty"` + + // Parameters: Extended parameters, such as: purchase_order_number, + // gcp_details; internal_correlation_id, long_running_operation_id, + // order_id; etc. + Parameters []*GoogleCloudChannelV1Parameter `json:"parameters,omitempty"` + + // ProvisionedService: Service provisioned for an Entitlement. + ProvisionedService *GoogleCloudChannelV1ProvisionedService `json:"provisionedService,omitempty"` + + // SuspensionReason: Suspension reason for the Entitlement. + // + // Possible values: + // "SUSPENSION_REASON_UNSPECIFIED" - Not used. + // "RESELLER_INITIATED" - Entitlement was manually suspended by the + // Reseller. + // "TRIAL_ENDED" - Trial ended. + // "RENEWAL_WITH_TYPE_CANCEL" - Entitlement renewal was canceled. + // "PENDING_TOS_ACCEPTANCE" - Entitlement was automatically suspended + // on creation for pending ToS acceptance on customer. + // "OTHER" - Other reasons (internal reasons, abuse, etc.). + SuspensionReason string `json:"suspensionReason,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ActivationReason") 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. "ActivationReason") 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 *GoogleCloudChannelV1EntitlementChange) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudChannelV1EntitlementChange + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudChannelV1EntitlementEvent: Represents Pub/Sub message // content describing entitlement update. type GoogleCloudChannelV1EntitlementEvent struct { @@ -1915,6 +2050,43 @@ func (s *GoogleCloudChannelV1ListCustomersResponse) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudChannelV1ListEntitlementChangesResponse: Response message +// for CloudChannelService.ListEntitlementChanges +type GoogleCloudChannelV1ListEntitlementChangesResponse struct { + // EntitlementChanges: The list of entitlement changes. + EntitlementChanges []*GoogleCloudChannelV1EntitlementChange `json:"entitlementChanges,omitempty"` + + // NextPageToken: A token to list the next page of results. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "EntitlementChanges") + // 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. "EntitlementChanges") 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 *GoogleCloudChannelV1ListEntitlementChangesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudChannelV1ListEntitlementChangesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudChannelV1ListEntitlementsResponse: Response message for // CloudChannelService.ListEntitlements. type GoogleCloudChannelV1ListEntitlementsResponse struct { @@ -13736,6 +13908,232 @@ func (c *AccountsCustomersEntitlementsListCall) Pages(ctx context.Context, f fun } } +// method id "cloudchannel.accounts.customers.entitlements.listEntitlementChanges": + +type AccountsCustomersEntitlementsListEntitlementChangesCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// ListEntitlementChanges: List entitlement history. Possible error +// codes: * PERMISSION_DENIED: The reseller account making the request +// and the provided reseller account are different. * INVALID_ARGUMENT: +// Missing or invalid required fields in the request. * NOT_FOUND: The +// parent resource doesn't exist. Usually the result of an invalid name +// parameter. * INTERNAL: Any non-user error related to a technical +// issue in the backend. In this case, contact CloudChannel support. * +// UNKNOWN: Any non-user error related to a technical issue in the +// backend. In this case, contact Cloud Channel support. Return value: +// List of EntitlementChanges. +// +// - parent: The resource name of the entitlement for which to list +// entitlement changes. The `-` wildcard may be used to match +// entitlements across a customer. Formats: * +// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlem +// ent_id} * +// accounts/{account_id}/customers/{customer_id}/entitlements/-. +func (r *AccountsCustomersEntitlementsService) ListEntitlementChanges(parent string) *AccountsCustomersEntitlementsListEntitlementChangesCall { + c := &AccountsCustomersEntitlementsListEntitlementChangesCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// Filter sets the optional parameter "filter": Filters applied to the +// list results. +func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Filter(filter string) *AccountsCustomersEntitlementsListEntitlementChangesCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of entitlement changes to return. The service may return fewer than +// this value. If unspecified, returns at most 10 entitlement changes. +// The maximum value is 50; the server will coerce values above 50. +func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) PageSize(pageSize int64) *AccountsCustomersEntitlementsListEntitlementChangesCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": A page token, +// received from a previous CloudChannelService.ListEntitlementChanges +// call. Provide this to retrieve the subsequent page. When paginating, +// all other parameters provided to +// CloudChannelService.ListEntitlementChanges must match the call that +// provided the page token. +func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) PageToken(pageToken string) *AccountsCustomersEntitlementsListEntitlementChangesCall { + c.urlParams_.Set("pageToken", pageToken) + 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 *AccountsCustomersEntitlementsListEntitlementChangesCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsListEntitlementChangesCall { + 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 *AccountsCustomersEntitlementsListEntitlementChangesCall) IfNoneMatch(entityTag string) *AccountsCustomersEntitlementsListEntitlementChangesCall { + 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 *AccountsCustomersEntitlementsListEntitlementChangesCall) Context(ctx context.Context) *AccountsCustomersEntitlementsListEntitlementChangesCall { + 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 *AccountsCustomersEntitlementsListEntitlementChangesCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) 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/{+parent}:listEntitlementChanges") + 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{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "cloudchannel.accounts.customers.entitlements.listEntitlementChanges" call. +// Exactly one of *GoogleCloudChannelV1ListEntitlementChangesResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudChannelV1ListEntitlementChangesResponse.ServerResponse.Hea +// der 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 *AccountsCustomersEntitlementsListEntitlementChangesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListEntitlementChangesResponse, 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 := &GoogleCloudChannelV1ListEntitlementChangesResponse{ + 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": "List entitlement history. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different. * INVALID_ARGUMENT: Missing or invalid required fields in the request. * NOT_FOUND: The parent resource doesn't exist. Usually the result of an invalid name parameter. * INTERNAL: Any non-user error related to a technical issue in the backend. In this case, contact CloudChannel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. In this case, contact Cloud Channel support. Return value: List of EntitlementChanges.", + // "flatPath": "v1/accounts/{accountsId}/customers/{customersId}/entitlements/{entitlementsId}:listEntitlementChanges", + // "httpMethod": "GET", + // "id": "cloudchannel.accounts.customers.entitlements.listEntitlementChanges", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "filter": { + // "description": "Optional. Filters applied to the list results.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "Optional. The maximum number of entitlement changes to return. The service may return fewer than this value. If unspecified, returns at most 10 entitlement changes. The maximum value is 50; the server will coerce values above 50.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "Optional. A page token, received from a previous CloudChannelService.ListEntitlementChanges call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CloudChannelService.ListEntitlementChanges must match the call that provided the page token.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The resource name of the entitlement for which to list entitlement changes. The `-` wildcard may be used to match entitlements across a customer. Formats: * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} * accounts/{account_id}/customers/{customer_id}/entitlements/-", + // "location": "path", + // "pattern": "^accounts/[^/]+/customers/[^/]+/entitlements/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}:listEntitlementChanges", + // "response": { + // "$ref": "GoogleCloudChannelV1ListEntitlementChangesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/apps.order" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListEntitlementChangesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + // method id "cloudchannel.accounts.customers.entitlements.lookupOffer": type AccountsCustomersEntitlementsLookupOfferCall struct { @@ -14261,6 +14659,16 @@ func (c *AccountsOffersListCall) PageToken(pageToken string) *AccountsOffersList return c } +// ShowFutureOffers sets the optional parameter "showFutureOffers": A +// boolean flag that determines if a response returns future offers 30 +// days from now. If the show_future_offers is true, the response will +// only contain offers that are scheduled to be available 30 days from +// now. +func (c *AccountsOffersListCall) ShowFutureOffers(showFutureOffers bool) *AccountsOffersListCall { + c.urlParams_.Set("showFutureOffers", fmt.Sprint(showFutureOffers)) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -14396,6 +14804,11 @@ func (c *AccountsOffersListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudC // "pattern": "^accounts/[^/]+$", // "required": true, // "type": "string" + // }, + // "showFutureOffers": { + // "description": "Optional. A boolean flag that determines if a response returns future offers 30 days from now. If the show_future_offers is true, the response will only contain offers that are scheduled to be available 30 days from now.", + // "location": "query", + // "type": "boolean" // } // }, // "path": "v1/{+parent}/offers", diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json index be10b952a9d..d708fb4ad53 100644 --- a/compute/v0.alpha/compute-api.json +++ b/compute/v0.alpha/compute-api.json @@ -33467,6 +33467,12 @@ "required": true, "type": "string" }, + "updateMask": { + "description": "Indicates fields to be cleared as part of this request.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, "validateOnly": { "description": "If true, the request will not be committed.", "location": "query", @@ -40524,7 +40530,7 @@ } } }, - "revision": "20230221", + "revision": "20230307", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -49757,7 +49763,7 @@ "id": "GuestOsFeature", "properties": { "type": { - "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.", + "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features.", "enum": [ "BARE_METAL_LINUX_COMPATIBLE", "FEATURE_TYPE_UNSPECIFIED", @@ -51289,7 +51295,7 @@ "type": "integer" }, "requestPath": { - "description": "The request path of the HTTP health check request. The default value is /. This field does not support query parameters.", + "description": "The request path of the HTTP health check request. The default value is /. This field does not support query parameters. Must comply with RFC3986.", "type": "string" }, "selfLink": { @@ -51717,7 +51723,7 @@ "type": "integer" }, "requestPath": { - "description": "The request path of the HTTPS health check request. The default value is \"/\".", + "description": "The request path of the HTTPS health check request. The default value is \"/\". Must comply with RFC3986.", "type": "string" }, "selfLink": { diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index c0f01b5fcde..d187f04831d 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -16207,8 +16207,8 @@ type GuestOsFeature struct { // commas to separate values. Set to one or more of the following // values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - // UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - - // SEV_SNP_CAPABLE For more information, see Enabling guest operating - // system features. + // SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling + // guest operating system features. // // Possible values: // "BARE_METAL_LINUX_COMPATIBLE" @@ -18697,6 +18697,7 @@ type HttpHealthCheck struct { // RequestPath: The request path of the HTTP health check request. The // default value is /. This field does not support query parameters. + // Must comply with RFC3986. RequestPath string `json:"requestPath,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. @@ -19510,7 +19511,7 @@ type HttpsHealthCheck struct { Port int64 `json:"port,omitempty"` // RequestPath: The request path of the HTTPS health check request. The - // default value is "/". + // default value is "/". Must comply with RFC3986. RequestPath string `json:"requestPath,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. @@ -209747,6 +209748,13 @@ func (c *SecurityPoliciesPatchRuleCall) Priority(priority int64) *SecurityPolici return c } +// UpdateMask sets the optional parameter "updateMask": Indicates fields +// to be cleared as part of this request. +func (c *SecurityPoliciesPatchRuleCall) UpdateMask(updateMask string) *SecurityPoliciesPatchRuleCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + // ValidateOnly sets the optional parameter "validateOnly": If true, the // request will not be committed. func (c *SecurityPoliciesPatchRuleCall) ValidateOnly(validateOnly bool) *SecurityPoliciesPatchRuleCall { @@ -209875,6 +209883,12 @@ func (c *SecurityPoliciesPatchRuleCall) Do(opts ...googleapi.CallOption) (*Opera // "required": true, // "type": "string" // }, + // "updateMask": { + // "description": "Indicates fields to be cleared as part of this request.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // }, // "validateOnly": { // "description": "If true, the request will not be committed.", // "location": "query", diff --git a/compute/v0.beta/compute-api.json b/compute/v0.beta/compute-api.json index 80c424d075e..63a7da87c21 100644 --- a/compute/v0.beta/compute-api.json +++ b/compute/v0.beta/compute-api.json @@ -29533,6 +29533,12 @@ "required": true, "type": "string" }, + "updateMask": { + "description": "Indicates fields to be cleared as part of this request.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, "validateOnly": { "description": "If true, the request will not be committed.", "location": "query", @@ -36281,7 +36287,7 @@ } } }, - "revision": "20230221", + "revision": "20230307", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -44311,7 +44317,7 @@ "id": "GuestOsFeature", "properties": { "type": { - "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.", + "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features.", "enum": [ "FEATURE_TYPE_UNSPECIFIED", "GVNIC", @@ -45547,7 +45553,7 @@ "type": "integer" }, "requestPath": { - "description": "The request path of the HTTP health check request. The default value is /. This field does not support query parameters.", + "description": "The request path of the HTTP health check request. The default value is /. This field does not support query parameters. Must comply with RFC3986.", "type": "string" }, "selfLink": { @@ -45971,7 +45977,7 @@ "type": "integer" }, "requestPath": { - "description": "The request path of the HTTPS health check request. The default value is \"/\".", + "description": "The request path of the HTTPS health check request. The default value is \"/\". Must comply with RFC3986.", "type": "string" }, "selfLink": { diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go index 5b58c09e94c..0737664ae8d 100644 --- a/compute/v0.beta/compute-gen.go +++ b/compute/v0.beta/compute-gen.go @@ -14226,8 +14226,8 @@ type GuestOsFeature struct { // commas to separate values. Set to one or more of the following // values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - // UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - - // SEV_SNP_CAPABLE For more information, see Enabling guest operating - // system features. + // SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling + // guest operating system features. // // Possible values: // "FEATURE_TYPE_UNSPECIFIED" @@ -16282,6 +16282,7 @@ type HttpHealthCheck struct { // RequestPath: The request path of the HTTP health check request. The // default value is /. This field does not support query parameters. + // Must comply with RFC3986. RequestPath string `json:"requestPath,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. @@ -17091,7 +17092,7 @@ type HttpsHealthCheck struct { Port int64 `json:"port,omitempty"` // RequestPath: The request path of the HTTPS health check request. The - // default value is "/". + // default value is "/". Must comply with RFC3986. RequestPath string `json:"requestPath,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. @@ -184524,6 +184525,13 @@ func (c *SecurityPoliciesPatchRuleCall) Priority(priority int64) *SecurityPolici return c } +// UpdateMask sets the optional parameter "updateMask": Indicates fields +// to be cleared as part of this request. +func (c *SecurityPoliciesPatchRuleCall) UpdateMask(updateMask string) *SecurityPoliciesPatchRuleCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + // ValidateOnly sets the optional parameter "validateOnly": If true, the // request will not be committed. func (c *SecurityPoliciesPatchRuleCall) ValidateOnly(validateOnly bool) *SecurityPoliciesPatchRuleCall { @@ -184652,6 +184660,12 @@ func (c *SecurityPoliciesPatchRuleCall) Do(opts ...googleapi.CallOption) (*Opera // "required": true, // "type": "string" // }, + // "updateMask": { + // "description": "Indicates fields to be cleared as part of this request.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // }, // "validateOnly": { // "description": "If true, the request will not be committed.", // "location": "query", diff --git a/compute/v1/compute-api.json b/compute/v1/compute-api.json index e2d4bb7611b..b380f1a7034 100644 --- a/compute/v1/compute-api.json +++ b/compute/v1/compute-api.json @@ -33123,7 +33123,7 @@ } } }, - "revision": "20230221", + "revision": "20230307", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -40874,7 +40874,7 @@ "id": "GuestOsFeature", "properties": { "type": { - "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.", + "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features.", "enum": [ "FEATURE_TYPE_UNSPECIFIED", "GVNIC", @@ -42079,7 +42079,7 @@ "type": "integer" }, "requestPath": { - "description": "The request path of the HTTP health check request. The default value is /. This field does not support query parameters.", + "description": "The request path of the HTTP health check request. The default value is /. This field does not support query parameters. Must comply with RFC3986.", "type": "string" }, "selfLink": { @@ -42481,7 +42481,7 @@ "type": "integer" }, "requestPath": { - "description": "The request path of the HTTPS health check request. The default value is \"/\".", + "description": "The request path of the HTTPS health check request. The default value is \"/\". Must comply with RFC3986.", "type": "string" }, "selfLink": { diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go index 0076586660d..c30ae0d4e1d 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -13800,8 +13800,8 @@ type GuestOsFeature struct { // commas to separate values. Set to one or more of the following // values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - // UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - - // SEV_SNP_CAPABLE For more information, see Enabling guest operating - // system features. + // SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling + // guest operating system features. // // Possible values: // "FEATURE_TYPE_UNSPECIFIED" @@ -15793,6 +15793,7 @@ type HttpHealthCheck struct { // RequestPath: The request path of the HTTP health check request. The // default value is /. This field does not support query parameters. + // Must comply with RFC3986. RequestPath string `json:"requestPath,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. @@ -16543,7 +16544,7 @@ type HttpsHealthCheck struct { Port int64 `json:"port,omitempty"` // RequestPath: The request path of the HTTPS health check request. The - // default value is "/". + // default value is "/". Must comply with RFC3986. RequestPath string `json:"requestPath,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. diff --git a/container/v1/container-api.json b/container/v1/container-api.json index c22b9128080..2569981131b 100644 --- a/container/v1/container-api.json +++ b/container/v1/container-api.json @@ -2487,7 +2487,7 @@ } } }, - "revision": "20230207", + "revision": "20230222", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3336,7 +3336,7 @@ "Default value. Same as DISABLED", "No private access to or from Google Services", "Enables private IPv6 access to Google Services from GKE", - "Enables priate IPv6 access to and from Google Services" + "Enables private IPv6 access to and from Google Services" ], "type": "string" }, @@ -4507,7 +4507,7 @@ "Default value. Same as DISABLED", "No private access to or from Google Services", "Enables private IPv6 access to Google Services from GKE", - "Enables priate IPv6 access to and from Google Services" + "Enables private IPv6 access to and from Google Services" ], "type": "string" }, diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index 709e2c5ef14..675d4a13ba4 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -1523,7 +1523,7 @@ type ClusterUpdate struct { // from Google Services // "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE" - Enables private IPv6 // access to Google Services from GKE - // "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" - Enables priate IPv6 + // "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" - Enables private IPv6 // access to and from Google Services DesiredPrivateIpv6GoogleAccess string `json:"desiredPrivateIpv6GoogleAccess,omitempty"` @@ -3726,7 +3726,7 @@ type NetworkConfig struct { // from Google Services // "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE" - Enables private IPv6 // access to Google Services from GKE - // "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" - Enables priate IPv6 + // "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" - Enables private IPv6 // access to and from Google Services PrivateIpv6GoogleAccess string `json:"privateIpv6GoogleAccess,omitempty"` diff --git a/containeranalysis/v1beta1/containeranalysis-api.json b/containeranalysis/v1beta1/containeranalysis-api.json index 69e086550be..5869146d9e2 100644 --- a/containeranalysis/v1beta1/containeranalysis-api.json +++ b/containeranalysis/v1beta1/containeranalysis-api.json @@ -755,7 +755,7 @@ } } }, - "revision": "20230221", + "revision": "20230303", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -851,6 +851,17 @@ "description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.", "type": "string" }, + "impacts": { + "description": "Contains information about the impact of this vulnerability, this will change with time.", + "items": { + "type": "string" + }, + "type": "array" + }, + "justification": { + "$ref": "Justification", + "description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED." + }, "longDescription": { "description": "A detailed description of this Vex.", "type": "string" @@ -890,13 +901,6 @@ "It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." ], "type": "string" - }, - "threats": { - "description": "Contains information about this vulnerability, this will change with time.", - "items": { - "$ref": "Threat" - }, - "type": "array" } }, "type": "object" @@ -3860,6 +3864,37 @@ }, "type": "object" }, + "Justification": { + "description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED.", + "id": "Justification", + "properties": { + "details": { + "description": "Additional details on why this justification was chosen.", + "type": "string" + }, + "justificationType": { + "description": "The justification type for this vulnerability.", + "enum": [ + "JUSTIFICATION_TYPE_UNSPECIFIED", + "COMPONENT_NOT_PRESENT", + "VULNERABLE_CODE_NOT_PRESENT", + "VULNERABLE_CODE_NOT_IN_EXECUTE_PATH", + "VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY", + "INLINE_MITIGATIONS_ALREADY_EXIST" + ], + "enumDescriptions": [ + "JUSTIFICATION_TYPE_UNSPECIFIED.", + "The vulnerable component is not present in the product.", + "The vulnerable code is not present. Typically this case occurs when source code is configured or built in a way that excludes the vulnerable code.", + "The vulnerable code can not be executed. Typically this case occurs when the product includes the vulnerable code but does not call or use the vulnerable code.", + "The vulnerable code cannot be controlled by an attacker to exploit the vulnerability.", + "The product includes built-in protections or features that prevent exploitation of the vulnerability. These built-in protections cannot be subverted by the attacker and cannot be configured or disabled by the user. These mitigations completely prevent exploitation based on known attack vectors." + ], + "type": "string" + } + }, + "type": "object" + }, "KnowledgeBase": { "id": "KnowledgeBase", "properties": { @@ -5126,31 +5161,6 @@ }, "type": "object" }, - "Threat": { - "description": "Contains the vulnerability kinetic information. This information can change as the vulnerability ages and new information becomes available.", - "id": "Threat", - "properties": { - "details": { - "description": "Represents a thorough human-readable discussion of the threat.", - "type": "string" - }, - "threatType": { - "description": "The type of threat.", - "enum": [ - "THREAT_TYPE_UNSPECIFIED", - "IMPACT", - "EXPLOIT_STATUS" - ], - "enumDescriptions": [ - "No threat type specified.", - "IMPACT", - "EXPLOIT_STATUS" - ], - "type": "string" - } - }, - "type": "object" - }, "TimeSpan": { "description": "Start and end times for a build execution phase. Next ID: 3", "id": "TimeSpan", @@ -5216,6 +5226,17 @@ "description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.", "type": "string" }, + "impacts": { + "description": "Contains information about the impact of this vulnerability, this will change with time.", + "items": { + "type": "string" + }, + "type": "array" + }, + "justification": { + "$ref": "Justification", + "description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED." + }, "noteName": { "description": "The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.", "type": "string" @@ -5251,13 +5272,6 @@ "It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." ], "type": "string" - }, - "threats": { - "description": "Contains information about this vulnerability, this will change with time.", - "items": { - "$ref": "Threat" - }, - "type": "array" } }, "type": "object" diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index 5553c896d12..642d668028c 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -350,6 +350,14 @@ type Assessment struct { // (CVE) tracking number for the vulnerability. Cve string `json:"cve,omitempty"` + // Impacts: Contains information about the impact of this vulnerability, + // this will change with time. + Impacts []string `json:"impacts,omitempty"` + + // Justification: Justification provides the justification when the + // state of the assessment if NOT_AFFECTED. + Justification *Justification `json:"justification,omitempty"` + // LongDescription: A detailed description of this Vex. LongDescription string `json:"longDescription,omitempty"` @@ -381,10 +389,6 @@ type Assessment struct { // under investigation. State string `json:"state,omitempty"` - // Threats: Contains information about this vulnerability, this will - // change with time. - Threats []*Threat `json:"threats,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cve") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -4734,6 +4738,58 @@ func (s *Installation) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Justification: Justification provides the justification when the +// state of the assessment if NOT_AFFECTED. +type Justification struct { + // Details: Additional details on why this justification was chosen. + Details string `json:"details,omitempty"` + + // JustificationType: The justification type for this vulnerability. + // + // Possible values: + // "JUSTIFICATION_TYPE_UNSPECIFIED" - JUSTIFICATION_TYPE_UNSPECIFIED. + // "COMPONENT_NOT_PRESENT" - The vulnerable component is not present + // in the product. + // "VULNERABLE_CODE_NOT_PRESENT" - The vulnerable code is not present. + // Typically this case occurs when source code is configured or built in + // a way that excludes the vulnerable code. + // "VULNERABLE_CODE_NOT_IN_EXECUTE_PATH" - The vulnerable code can not + // be executed. Typically this case occurs when the product includes the + // vulnerable code but does not call or use the vulnerable code. + // "VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY" - The + // vulnerable code cannot be controlled by an attacker to exploit the + // vulnerability. + // "INLINE_MITIGATIONS_ALREADY_EXIST" - The product includes built-in + // protections or features that prevent exploitation of the + // vulnerability. These built-in protections cannot be subverted by the + // attacker and cannot be configured or disabled by the user. These + // mitigations completely prevent exploitation based on known attack + // vectors. + JustificationType string `json:"justificationType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Details") 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. "Details") 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 *Justification) MarshalJSON() ([]byte, error) { + type NoMethod Justification + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type KnowledgeBase struct { // Name: The KB name (generally of the form KB[0-9]+ i.e. KB123456). Name string `json:"name,omitempty"` @@ -6626,45 +6682,6 @@ func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Threat: Contains the vulnerability kinetic information. This -// information can change as the vulnerability ages and new information -// becomes available. -type Threat struct { - // Details: Represents a thorough human-readable discussion of the - // threat. - Details string `json:"details,omitempty"` - - // ThreatType: The type of threat. - // - // Possible values: - // "THREAT_TYPE_UNSPECIFIED" - No threat type specified. - // "IMPACT" - IMPACT - // "EXPLOIT_STATUS" - EXPLOIT_STATUS - ThreatType string `json:"threatType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Details") 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. "Details") 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 *Threat) MarshalJSON() ([]byte, error) { - type NoMethod Threat - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - // TimeSpan: Start and end times for a build execution phase. Next ID: 3 type TimeSpan struct { // EndTime: End of time span. @@ -6758,6 +6775,14 @@ type VexAssessment struct { // (CVE) tracking number for the vulnerability. Cve string `json:"cve,omitempty"` + // Impacts: Contains information about the impact of this vulnerability, + // this will change with time. + Impacts []string `json:"impacts,omitempty"` + + // Justification: Justification provides the justification when the + // state of the assessment if NOT_AFFECTED. + Justification *Justification `json:"justification,omitempty"` + // NoteName: The VulnerabilityAssessment note from which this // VexAssessment was generated. This will be of the form: // `projects/[PROJECT_ID]/notes/[NOTE_ID]`. @@ -6785,10 +6810,6 @@ type VexAssessment struct { // under investigation. State string `json:"state,omitempty"` - // Threats: Contains information about this vulnerability, this will - // change with time. - Threats []*Threat `json:"threats,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cve") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/displayvideo/v1/displayvideo-api.json b/displayvideo/v1/displayvideo-api.json index 34a580ec88a..0532344cf60 100644 --- a/displayvideo/v1/displayvideo-api.json +++ b/displayvideo/v1/displayvideo-api.json @@ -8146,7 +8146,7 @@ } } }, - "revision": "20230302", + "revision": "20230309", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -15435,7 +15435,8 @@ "APP_INSTALL_NO_OPTIMAL_BIDDING_STRATEGY", "CREATIVE_SIZE_NOT_IN_USE_FOR_TARGETED_DEALS", "NO_CREATIVE_FOR_TARGETED_DEALS", - "TARGETING_DEPRECATED_GEO_TARGET" + "TARGETING_DEPRECATED_GEO_TARGET", + "DEPRECATED_FIRST_PARTY_AUDIENCE_EXCLUSION" ], "enumDescriptions": [ "Not specified or is unknown.", @@ -15455,7 +15456,8 @@ "This app install line item does not have an optimal bidding strategy.", "Deals targeted by this line item accept creative sizes which are not in use. This may limit the line item's delivery or performance.", "This line item does not contain any creative for the targeted deals.", - "This line item targets a geo target that is deprecated." + "This line item targets a geo target that is deprecated.", + "This line item uses the exclude_first_party_audience setting, which is deprecated and scheduled to sunset after **March 25, 2023**. Update your API integration to directly exclude any first-party audiences using audience targeting before **March 25, 2023** to account for the sunset of the exclude_first_party_audience field." ], "type": "string" }, diff --git a/displayvideo/v1/displayvideo-gen.go b/displayvideo/v1/displayvideo-gen.go index 81bc92d6187..2c74d915622 100644 --- a/displayvideo/v1/displayvideo-gen.go +++ b/displayvideo/v1/displayvideo-gen.go @@ -10773,6 +10773,12 @@ type LineItem struct { // any creative for the targeted deals. // "TARGETING_DEPRECATED_GEO_TARGET" - This line item targets a geo // target that is deprecated. + // "DEPRECATED_FIRST_PARTY_AUDIENCE_EXCLUSION" - This line item uses + // the exclude_first_party_audience setting, which is deprecated and + // scheduled to sunset after **March 25, 2023**. Update your API + // integration to directly exclude any first-party audiences using + // audience targeting before **March 25, 2023** to account for the + // sunset of the exclude_first_party_audience field. WarningMessages []string `json:"warningMessages,omitempty"` // ServerResponse contains the HTTP response code and headers from the diff --git a/displayvideo/v2/displayvideo-api.json b/displayvideo/v2/displayvideo-api.json index b5c6e2899d8..589ace29e71 100644 --- a/displayvideo/v2/displayvideo-api.json +++ b/displayvideo/v2/displayvideo-api.json @@ -9172,7 +9172,7 @@ } } }, - "revision": "20230302", + "revision": "20230309", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -17019,7 +17019,8 @@ "APP_INVENTORY_INVALID_AUDIENCE_LISTS", "NO_VALID_CREATIVE", "PARENT_INSERTION_ORDER_PAUSED", - "PARENT_INSERTION_ORDER_EXPIRED" + "PARENT_INSERTION_ORDER_EXPIRED", + "DEPRECATED_FIRST_PARTY_AUDIENCE_EXCLUSION" ], "enumDescriptions": [ "Not specified or is unknown.", @@ -17032,7 +17033,8 @@ "This line item isn't targeting any mobile users. This line item's type requires you to target a user list with mobile users. The line item will not run.", "This line item does not contain any valid creative. The line item will not run.", "The insertion order of this line item is paused. The line item will not run.", - "The insertion order of this line item has its end date set in the past. The line item will not run." + "The insertion order of this line item has its end date set in the past. The line item will not run.", + "This line item uses the exclude_first_party_audience setting, which is deprecated and scheduled to sunset after **March 25, 2023**. Update your API integration to directly exclude any first-party audiences using audience targeting before **March 25, 2023** to account for the sunset of the exclude_first_party_audience field." ], "type": "string" }, diff --git a/displayvideo/v2/displayvideo-gen.go b/displayvideo/v2/displayvideo-gen.go index 433963ce804..e34f2f4e9f9 100644 --- a/displayvideo/v2/displayvideo-gen.go +++ b/displayvideo/v2/displayvideo-gen.go @@ -11676,6 +11676,12 @@ type LineItem struct { // item is paused. The line item will not run. // "PARENT_INSERTION_ORDER_EXPIRED" - The insertion order of this line // item has its end date set in the past. The line item will not run. + // "DEPRECATED_FIRST_PARTY_AUDIENCE_EXCLUSION" - This line item uses + // the exclude_first_party_audience setting, which is deprecated and + // scheduled to sunset after **March 25, 2023**. Update your API + // integration to directly exclude any first-party audiences using + // audience targeting before **March 25, 2023** to account for the + // sunset of the exclude_first_party_audience field. WarningMessages []string `json:"warningMessages,omitempty"` // YoutubeAndPartnersSettings: Output only. Settings specific to YouTube diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-api.json b/paymentsresellersubscription/v1/paymentsresellersubscription-api.json index 15c969e2554..58386cb0191 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-api.json +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-api.json @@ -396,7 +396,7 @@ } } }, - "revision": "20230302", + "revision": "20230309", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { "GoogleCloudPaymentsResellerSubscriptionV1Amount": { @@ -1010,8 +1010,8 @@ "The state is unspecified.", "The subscription is created, a state before it is moved to STATE_ACTIVE.", "The subscription is active.", - "The subscription is cancelled.", - "The subscription has not been extended by the partner after the end of current cycle.", + "The subscription is cancelled. This is the final state of the subscription, as it can no longer be modified or reactivated.", + "The subscription is in grace period. It can happen: 1) in manual extend mode, the subscription is not extended by the partner at the end of current cycle. 2) for outbound authorization enabled partners, a renewal purchase order is rejected.", "The subscription is waiting to be cancelled by the next recurrence cycle.", "The subscription is suspended." ], @@ -1132,7 +1132,7 @@ ], "enumDescriptions": [ "Unspecified state.", - "The line item is in ACTIVE state.", + "The line item is in ACTIVE state. If the subscription is cancelled or suspended, the line item will not be charged even if the line item is active.", "The line item is in INACTIVE state.", "The line item is new, and is not activated or charged yet.", "The line item is being activated in order to be charged. If a free trial applies to the line item, the line item is pending a prorated charge at the end of the free trial period, as indicated by `line_item_free_trial_end_time`.", diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go index 780e0c9b358..131ee27f1b8 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go @@ -1130,9 +1130,13 @@ type GoogleCloudPaymentsResellerSubscriptionV1Subscription struct { // "STATE_CREATED" - The subscription is created, a state before it is // moved to STATE_ACTIVE. // "STATE_ACTIVE" - The subscription is active. - // "STATE_CANCELLED" - The subscription is cancelled. - // "STATE_IN_GRACE_PERIOD" - The subscription has not been extended by - // the partner after the end of current cycle. + // "STATE_CANCELLED" - The subscription is cancelled. This is the + // final state of the subscription, as it can no longer be modified or + // reactivated. + // "STATE_IN_GRACE_PERIOD" - The subscription is in grace period. It + // can happen: 1) in manual extend mode, the subscription is not + // extended by the partner at the end of current cycle. 2) for outbound + // authorization enabled partners, a renewal purchase order is rejected. // "STATE_CANCEL_AT_END_OF_CYCLE" - The subscription is waiting to be // cancelled by the next recurrence cycle. // "STATE_SUSPENDED" - The subscription is suspended. @@ -1271,7 +1275,9 @@ type GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem struct { // // Possible values: // "LINE_ITEM_STATE_UNSPECIFIED" - Unspecified state. - // "LINE_ITEM_STATE_ACTIVE" - The line item is in ACTIVE state. + // "LINE_ITEM_STATE_ACTIVE" - The line item is in ACTIVE state. If the + // subscription is cancelled or suspended, the line item will not be + // charged even if the line item is active. // "LINE_ITEM_STATE_INACTIVE" - The line item is in INACTIVE state. // "LINE_ITEM_STATE_NEW" - The line item is new, and is not activated // or charged yet. diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json index 2f5e51eff0d..d20c2fea331 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json @@ -2,6 +2,9 @@ "auth": { "oauth2": { "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + }, "https://www.googleapis.com/auth/sasportal": { "description": "Read, create, update, and delete your SAS Portal data." } @@ -129,6 +132,7 @@ "$ref": "SasPortalCustomer" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -156,6 +160,7 @@ "$ref": "SasPortalListCustomersResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -190,6 +195,7 @@ "$ref": "SasPortalCustomer" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -208,6 +214,7 @@ "$ref": "SasPortalProvisionDeploymentResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -240,6 +247,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -265,6 +273,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -290,6 +299,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -331,6 +341,7 @@ "$ref": "SasPortalListDeploymentsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -359,6 +370,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -393,6 +405,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -425,6 +438,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -453,6 +467,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -494,6 +509,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -528,6 +544,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -556,6 +573,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -581,6 +599,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -606,6 +625,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -647,6 +667,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -675,6 +696,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -709,6 +731,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -737,6 +760,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -765,6 +789,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -797,6 +822,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -822,6 +848,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -847,6 +874,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -888,6 +916,7 @@ "$ref": "SasPortalListNodesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -916,6 +945,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -950,6 +980,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -982,6 +1013,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1023,6 +1055,7 @@ "$ref": "SasPortalListDeploymentsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1055,6 +1088,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1083,6 +1117,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1124,6 +1159,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1156,6 +1192,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1197,6 +1234,7 @@ "$ref": "SasPortalListNodesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1230,6 +1268,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1259,6 +1298,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1284,6 +1324,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1312,6 +1353,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1346,6 +1388,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1374,6 +1417,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1402,6 +1446,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1426,6 +1471,7 @@ "$ref": "SasPortalGenerateSecretResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1444,6 +1490,7 @@ "$ref": "SasPortalValidateInstallerResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1473,6 +1520,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1502,6 +1550,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1527,6 +1576,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1568,6 +1618,7 @@ "$ref": "SasPortalListDeploymentsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1596,6 +1647,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1630,6 +1682,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1662,6 +1715,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1690,6 +1744,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1731,6 +1786,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1765,6 +1821,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1793,6 +1850,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1818,6 +1876,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1843,6 +1902,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1884,6 +1944,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1912,6 +1973,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1946,6 +2008,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1974,6 +2037,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2002,6 +2066,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -2034,6 +2099,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2059,6 +2125,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2084,6 +2151,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2125,6 +2193,7 @@ "$ref": "SasPortalListNodesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2153,6 +2222,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2187,6 +2257,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -2219,6 +2290,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2260,6 +2332,7 @@ "$ref": "SasPortalListDeploymentsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -2292,6 +2365,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2320,6 +2394,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2361,6 +2436,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -2393,6 +2469,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2434,6 +2511,7 @@ "$ref": "SasPortalListNodesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -2460,6 +2538,7 @@ "$ref": "SasPortalPolicy" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2478,6 +2557,7 @@ "$ref": "SasPortalPolicy" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2496,13 +2576,14 @@ "$ref": "SasPortalTestPermissionsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } } } }, - "revision": "20230227", + "revision": "20230309", "rootUrl": "https://prod-tt-sasportal.googleapis.com/", "schemas": { "SasPortalAssignment": { diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go index 498ca27e4b4..47924ae90f2 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go @@ -23,6 +23,10 @@ // // # Other authentication options // +// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes: +// +// prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx, option.WithScopes(prod_tt_sasportal.SasportalScope)) +// // To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey: // // prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx, option.WithAPIKey("AIza...")) @@ -80,6 +84,10 @@ const mtlsBasePath = "https://prod-tt-sasportal.mtls.googleapis.com/" // OAuth2 scopes used by this API. const ( + // See, edit, configure, and delete your Google Cloud data and see the + // email address for your Google Account. + CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" + // Read, create, update, and delete your SAS Portal data. SasportalScope = "https://www.googleapis.com/auth/sasportal" ) @@ -87,6 +95,7 @@ const ( // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { scopesOption := internaloption.WithDefaultScopes( + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal", ) // NOTE: prepend, so we don't override user-specified scopes. @@ -2153,6 +2162,7 @@ func (c *CustomersGetCall) Do(opts ...googleapi.CallOption) (*SasPortalCustomer, // "$ref": "SasPortalCustomer" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -2309,6 +2319,7 @@ func (c *CustomersListCall) Do(opts ...googleapi.CallOption) (*SasPortalListCust // "$ref": "SasPortalListCustomersResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -2485,6 +2496,7 @@ func (c *CustomersPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalCustome // "$ref": "SasPortalCustomer" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -2613,6 +2625,7 @@ func (c *CustomersProvisionDeploymentCall) Do(opts ...googleapi.CallOption) (*Sa // "$ref": "SasPortalProvisionDeploymentResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -2756,6 +2769,7 @@ func (c *CustomersDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*SasP // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -2888,6 +2902,7 @@ func (c *CustomersDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*SasP // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3034,6 +3049,7 @@ func (c *CustomersDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPort // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3221,6 +3237,7 @@ func (c *CustomersDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPor // "$ref": "SasPortalListDeploymentsResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3384,6 +3401,7 @@ func (c *CustomersDeploymentsMoveCall) Do(opts ...googleapi.CallOption) (*SasPor // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3539,6 +3557,7 @@ func (c *CustomersDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*SasPo // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3681,6 +3700,7 @@ func (c *CustomersDeploymentsDevicesCreateCall) Do(opts ...googleapi.CallOption) // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3823,6 +3843,7 @@ func (c *CustomersDeploymentsDevicesCreateSignedCall) Do(opts ...googleapi.CallO // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4010,6 +4031,7 @@ func (c *CustomersDeploymentsDevicesListCall) Do(opts ...googleapi.CallOption) ( // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4173,6 +4195,7 @@ func (c *CustomersDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPorta // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4315,6 +4338,7 @@ func (c *CustomersDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*Sa // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4447,6 +4471,7 @@ func (c *CustomersDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPorta // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4593,6 +4618,7 @@ func (c *CustomersDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDe // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4780,6 +4806,7 @@ func (c *CustomersDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalL // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4943,6 +4970,7 @@ func (c *CustomersDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalO // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5098,6 +5126,7 @@ func (c *CustomersDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortal // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5240,6 +5269,7 @@ func (c *CustomersDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasP // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5382,6 +5412,7 @@ func (c *CustomersDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*Sa // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5524,6 +5555,7 @@ func (c *CustomersNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalN // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5656,6 +5688,7 @@ func (c *CustomersNodesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalE // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5802,6 +5835,7 @@ func (c *CustomersNodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5988,6 +6022,7 @@ func (c *CustomersNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalLis // "$ref": "SasPortalListNodesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6151,6 +6186,7 @@ func (c *CustomersNodesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOpe // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6306,6 +6342,7 @@ func (c *CustomersNodesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalNo // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6449,6 +6486,7 @@ func (c *CustomersNodesDeploymentsCreateCall) Do(opts ...googleapi.CallOption) ( // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6636,6 +6674,7 @@ func (c *CustomersNodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*S // "$ref": "SasPortalListDeploymentsResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6799,6 +6838,7 @@ func (c *CustomersNodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*Sas // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6941,6 +6981,7 @@ func (c *CustomersNodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7128,6 +7169,7 @@ func (c *CustomersNodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPo // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7291,6 +7333,7 @@ func (c *CustomersNodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPo // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7477,6 +7520,7 @@ func (c *CustomersNodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPort // "$ref": "SasPortalListNodesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7644,6 +7688,7 @@ func (c *DeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDeploym // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7776,6 +7821,7 @@ func (c *DeploymentsDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPor // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7922,6 +7968,7 @@ func (c *DeploymentsDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortal // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8064,6 +8111,7 @@ func (c *DeploymentsDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPorta // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8219,6 +8267,7 @@ func (c *DeploymentsDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPort // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8361,6 +8410,7 @@ func (c *DeploymentsDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*Sa // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8503,6 +8553,7 @@ func (c *DeploymentsDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (* // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8629,6 +8680,7 @@ func (c *InstallerGenerateSecretCall) Do(opts ...googleapi.CallOption) (*SasPort // "$ref": "SasPortalGenerateSecretResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8756,6 +8808,7 @@ func (c *InstallerValidateCall) Do(opts ...googleapi.CallOption) (*SasPortalVali // "$ref": "SasPortalValidateInstallerResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8902,6 +8955,7 @@ func (c *NodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error) // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9034,6 +9088,7 @@ func (c *NodesDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*SasPorta // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9180,6 +9235,7 @@ func (c *NodesDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDe // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9367,6 +9423,7 @@ func (c *NodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalL // "$ref": "SasPortalListDeploymentsResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9530,6 +9587,7 @@ func (c *NodesDeploymentsMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalO // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9685,6 +9743,7 @@ func (c *NodesDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*SasPortal // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9827,6 +9886,7 @@ func (c *NodesDeploymentsDevicesCreateCall) Do(opts ...googleapi.CallOption) (*S // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9969,6 +10029,7 @@ func (c *NodesDeploymentsDevicesCreateSignedCall) Do(opts ...googleapi.CallOptio // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10156,6 +10217,7 @@ func (c *NodesDeploymentsDevicesListCall) Do(opts ...googleapi.CallOption) (*Sas // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10319,6 +10381,7 @@ func (c *NodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDev // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10461,6 +10524,7 @@ func (c *NodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPor // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10593,6 +10657,7 @@ func (c *NodesDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmp // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10739,6 +10804,7 @@ func (c *NodesDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10926,6 +10992,7 @@ func (c *NodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListD // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11089,6 +11156,7 @@ func (c *NodesDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOpera // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11244,6 +11312,7 @@ func (c *NodesDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDevi // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11386,6 +11455,7 @@ func (c *NodesDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasPorta // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11528,6 +11598,7 @@ func (c *NodesDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*SasPor // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11670,6 +11741,7 @@ func (c *NodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11802,6 +11874,7 @@ func (c *NodesNodesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11948,6 +12021,7 @@ func (c *NodesNodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, er // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12134,6 +12208,7 @@ func (c *NodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNod // "$ref": "SasPortalListNodesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12297,6 +12372,7 @@ func (c *NodesNodesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperati // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12452,6 +12528,7 @@ func (c *NodesNodesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12595,6 +12672,7 @@ func (c *NodesNodesDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*Sas // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12782,6 +12860,7 @@ func (c *NodesNodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPo // "$ref": "SasPortalListDeploymentsResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12945,6 +13024,7 @@ func (c *NodesNodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPort // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13087,6 +13167,7 @@ func (c *NodesNodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*S // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13274,6 +13355,7 @@ func (c *NodesNodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortal // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13437,6 +13519,7 @@ func (c *NodesNodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortal // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13623,6 +13706,7 @@ func (c *NodesNodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalLi // "$ref": "SasPortalListNodesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13770,6 +13854,7 @@ func (c *PoliciesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalPolicy, er // "$ref": "SasPortalPolicy" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13896,6 +13981,7 @@ func (c *PoliciesSetCall) Do(opts ...googleapi.CallOption) (*SasPortalPolicy, er // "$ref": "SasPortalPolicy" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -14022,6 +14108,7 @@ func (c *PoliciesTestCall) Do(opts ...googleapi.CallOption) (*SasPortalTestPermi // "$ref": "SasPortalTestPermissionsResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } diff --git a/sasportal/v1alpha1/sasportal-api.json b/sasportal/v1alpha1/sasportal-api.json index 57ea0fdfc0a..50c442b1972 100644 --- a/sasportal/v1alpha1/sasportal-api.json +++ b/sasportal/v1alpha1/sasportal-api.json @@ -2,6 +2,9 @@ "auth": { "oauth2": { "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + }, "https://www.googleapis.com/auth/sasportal": { "description": "Read, create, update, and delete your SAS Portal data." } @@ -128,6 +131,7 @@ "$ref": "SasPortalCustomer" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -155,6 +159,7 @@ "$ref": "SasPortalListCustomersResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -189,6 +194,7 @@ "$ref": "SasPortalCustomer" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -207,6 +213,7 @@ "$ref": "SasPortalProvisionDeploymentResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -239,6 +246,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -264,6 +272,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -289,6 +298,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -330,6 +340,7 @@ "$ref": "SasPortalListDeploymentsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -358,6 +369,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -392,6 +404,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -424,6 +437,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -452,6 +466,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -493,6 +508,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -527,6 +543,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -555,6 +572,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -580,6 +598,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -605,6 +624,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -646,6 +666,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -674,6 +695,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -708,6 +730,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -736,6 +759,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -764,6 +788,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -796,6 +821,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -821,6 +847,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -846,6 +873,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -887,6 +915,7 @@ "$ref": "SasPortalListNodesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -915,6 +944,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -949,6 +979,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -981,6 +1012,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1022,6 +1054,7 @@ "$ref": "SasPortalListDeploymentsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1054,6 +1087,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1082,6 +1116,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1123,6 +1158,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1155,6 +1191,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1196,6 +1233,7 @@ "$ref": "SasPortalListNodesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1229,6 +1267,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1258,6 +1297,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1283,6 +1323,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1311,6 +1352,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1345,6 +1387,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1373,6 +1416,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1401,6 +1445,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1425,6 +1470,7 @@ "$ref": "SasPortalGenerateSecretResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1443,6 +1489,7 @@ "$ref": "SasPortalValidateInstallerResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1472,6 +1519,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1501,6 +1549,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1526,6 +1575,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1567,6 +1617,7 @@ "$ref": "SasPortalListDeploymentsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1595,6 +1646,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1629,6 +1681,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1661,6 +1714,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1689,6 +1743,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1730,6 +1785,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -1764,6 +1820,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1792,6 +1849,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1817,6 +1875,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1842,6 +1901,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1883,6 +1943,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1911,6 +1972,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1945,6 +2007,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -1973,6 +2036,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2001,6 +2065,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -2033,6 +2098,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2058,6 +2124,7 @@ "$ref": "SasPortalEmpty" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2083,6 +2150,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2124,6 +2192,7 @@ "$ref": "SasPortalListNodesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2152,6 +2221,7 @@ "$ref": "SasPortalOperation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2186,6 +2256,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -2218,6 +2289,7 @@ "$ref": "SasPortalDeployment" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2259,6 +2331,7 @@ "$ref": "SasPortalListDeploymentsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -2291,6 +2364,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2319,6 +2393,7 @@ "$ref": "SasPortalDevice" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2360,6 +2435,7 @@ "$ref": "SasPortalListDevicesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -2392,6 +2468,7 @@ "$ref": "SasPortalNode" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2433,6 +2510,7 @@ "$ref": "SasPortalListNodesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } @@ -2459,6 +2537,7 @@ "$ref": "SasPortalPolicy" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2477,6 +2556,7 @@ "$ref": "SasPortalPolicy" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] }, @@ -2495,13 +2575,14 @@ "$ref": "SasPortalTestPermissionsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal" ] } } } }, - "revision": "20230306", + "revision": "20230309", "rootUrl": "https://sasportal.googleapis.com/", "schemas": { "SasPortalAssignment": { diff --git a/sasportal/v1alpha1/sasportal-gen.go b/sasportal/v1alpha1/sasportal-gen.go index 857c71aa989..bb11269a15f 100644 --- a/sasportal/v1alpha1/sasportal-gen.go +++ b/sasportal/v1alpha1/sasportal-gen.go @@ -23,6 +23,10 @@ // // # Other authentication options // +// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes: +// +// sasportalService, err := sasportal.NewService(ctx, option.WithScopes(sasportal.SasportalScope)) +// // To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey: // // sasportalService, err := sasportal.NewService(ctx, option.WithAPIKey("AIza...")) @@ -80,6 +84,10 @@ const mtlsBasePath = "https://sasportal.mtls.googleapis.com/" // OAuth2 scopes used by this API. const ( + // See, edit, configure, and delete your Google Cloud data and see the + // email address for your Google Account. + CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" + // Read, create, update, and delete your SAS Portal data. SasportalScope = "https://www.googleapis.com/auth/sasportal" ) @@ -87,6 +95,7 @@ const ( // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { scopesOption := internaloption.WithDefaultScopes( + "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/sasportal", ) // NOTE: prepend, so we don't override user-specified scopes. @@ -2153,6 +2162,7 @@ func (c *CustomersGetCall) Do(opts ...googleapi.CallOption) (*SasPortalCustomer, // "$ref": "SasPortalCustomer" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -2309,6 +2319,7 @@ func (c *CustomersListCall) Do(opts ...googleapi.CallOption) (*SasPortalListCust // "$ref": "SasPortalListCustomersResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -2485,6 +2496,7 @@ func (c *CustomersPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalCustome // "$ref": "SasPortalCustomer" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -2613,6 +2625,7 @@ func (c *CustomersProvisionDeploymentCall) Do(opts ...googleapi.CallOption) (*Sa // "$ref": "SasPortalProvisionDeploymentResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -2756,6 +2769,7 @@ func (c *CustomersDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*SasP // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -2888,6 +2902,7 @@ func (c *CustomersDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*SasP // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3034,6 +3049,7 @@ func (c *CustomersDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPort // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3221,6 +3237,7 @@ func (c *CustomersDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPor // "$ref": "SasPortalListDeploymentsResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3384,6 +3401,7 @@ func (c *CustomersDeploymentsMoveCall) Do(opts ...googleapi.CallOption) (*SasPor // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3539,6 +3557,7 @@ func (c *CustomersDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*SasPo // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3681,6 +3700,7 @@ func (c *CustomersDeploymentsDevicesCreateCall) Do(opts ...googleapi.CallOption) // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -3823,6 +3843,7 @@ func (c *CustomersDeploymentsDevicesCreateSignedCall) Do(opts ...googleapi.CallO // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4010,6 +4031,7 @@ func (c *CustomersDeploymentsDevicesListCall) Do(opts ...googleapi.CallOption) ( // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4173,6 +4195,7 @@ func (c *CustomersDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPorta // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4315,6 +4338,7 @@ func (c *CustomersDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*Sa // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4447,6 +4471,7 @@ func (c *CustomersDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPorta // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4593,6 +4618,7 @@ func (c *CustomersDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDe // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4780,6 +4806,7 @@ func (c *CustomersDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalL // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -4943,6 +4970,7 @@ func (c *CustomersDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalO // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5098,6 +5126,7 @@ func (c *CustomersDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortal // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5240,6 +5269,7 @@ func (c *CustomersDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasP // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5382,6 +5412,7 @@ func (c *CustomersDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*Sa // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5524,6 +5555,7 @@ func (c *CustomersNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalN // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5656,6 +5688,7 @@ func (c *CustomersNodesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalE // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5802,6 +5835,7 @@ func (c *CustomersNodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -5988,6 +6022,7 @@ func (c *CustomersNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalLis // "$ref": "SasPortalListNodesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6151,6 +6186,7 @@ func (c *CustomersNodesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOpe // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6306,6 +6342,7 @@ func (c *CustomersNodesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalNo // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6449,6 +6486,7 @@ func (c *CustomersNodesDeploymentsCreateCall) Do(opts ...googleapi.CallOption) ( // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6636,6 +6674,7 @@ func (c *CustomersNodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*S // "$ref": "SasPortalListDeploymentsResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6799,6 +6838,7 @@ func (c *CustomersNodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*Sas // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -6941,6 +6981,7 @@ func (c *CustomersNodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7128,6 +7169,7 @@ func (c *CustomersNodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPo // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7291,6 +7333,7 @@ func (c *CustomersNodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPo // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7477,6 +7520,7 @@ func (c *CustomersNodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPort // "$ref": "SasPortalListNodesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7644,6 +7688,7 @@ func (c *DeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDeploym // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7776,6 +7821,7 @@ func (c *DeploymentsDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPor // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -7922,6 +7968,7 @@ func (c *DeploymentsDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortal // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8064,6 +8111,7 @@ func (c *DeploymentsDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPorta // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8219,6 +8267,7 @@ func (c *DeploymentsDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPort // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8361,6 +8410,7 @@ func (c *DeploymentsDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*Sa // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8503,6 +8553,7 @@ func (c *DeploymentsDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (* // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8629,6 +8680,7 @@ func (c *InstallerGenerateSecretCall) Do(opts ...googleapi.CallOption) (*SasPort // "$ref": "SasPortalGenerateSecretResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8756,6 +8808,7 @@ func (c *InstallerValidateCall) Do(opts ...googleapi.CallOption) (*SasPortalVali // "$ref": "SasPortalValidateInstallerResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -8902,6 +8955,7 @@ func (c *NodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error) // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9034,6 +9088,7 @@ func (c *NodesDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*SasPorta // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9180,6 +9235,7 @@ func (c *NodesDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDe // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9367,6 +9423,7 @@ func (c *NodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalL // "$ref": "SasPortalListDeploymentsResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9530,6 +9587,7 @@ func (c *NodesDeploymentsMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalO // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9685,6 +9743,7 @@ func (c *NodesDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*SasPortal // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9827,6 +9886,7 @@ func (c *NodesDeploymentsDevicesCreateCall) Do(opts ...googleapi.CallOption) (*S // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -9969,6 +10029,7 @@ func (c *NodesDeploymentsDevicesCreateSignedCall) Do(opts ...googleapi.CallOptio // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10156,6 +10217,7 @@ func (c *NodesDeploymentsDevicesListCall) Do(opts ...googleapi.CallOption) (*Sas // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10319,6 +10381,7 @@ func (c *NodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDev // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10461,6 +10524,7 @@ func (c *NodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPor // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10593,6 +10657,7 @@ func (c *NodesDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmp // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10739,6 +10804,7 @@ func (c *NodesDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -10926,6 +10992,7 @@ func (c *NodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListD // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11089,6 +11156,7 @@ func (c *NodesDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOpera // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11244,6 +11312,7 @@ func (c *NodesDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDevi // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11386,6 +11455,7 @@ func (c *NodesDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasPorta // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11528,6 +11598,7 @@ func (c *NodesDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*SasPor // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11670,6 +11741,7 @@ func (c *NodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11802,6 +11874,7 @@ func (c *NodesNodesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty // "$ref": "SasPortalEmpty" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -11948,6 +12021,7 @@ func (c *NodesNodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, er // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12134,6 +12208,7 @@ func (c *NodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNod // "$ref": "SasPortalListNodesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12297,6 +12372,7 @@ func (c *NodesNodesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperati // "$ref": "SasPortalOperation" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12452,6 +12528,7 @@ func (c *NodesNodesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12595,6 +12672,7 @@ func (c *NodesNodesDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*Sas // "$ref": "SasPortalDeployment" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12782,6 +12860,7 @@ func (c *NodesNodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPo // "$ref": "SasPortalListDeploymentsResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -12945,6 +13024,7 @@ func (c *NodesNodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPort // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13087,6 +13167,7 @@ func (c *NodesNodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*S // "$ref": "SasPortalDevice" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13274,6 +13355,7 @@ func (c *NodesNodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortal // "$ref": "SasPortalListDevicesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13437,6 +13519,7 @@ func (c *NodesNodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortal // "$ref": "SasPortalNode" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13623,6 +13706,7 @@ func (c *NodesNodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalLi // "$ref": "SasPortalListNodesResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13770,6 +13854,7 @@ func (c *PoliciesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalPolicy, er // "$ref": "SasPortalPolicy" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -13896,6 +13981,7 @@ func (c *PoliciesSetCall) Do(opts ...googleapi.CallOption) (*SasPortalPolicy, er // "$ref": "SasPortalPolicy" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } @@ -14022,6 +14108,7 @@ func (c *PoliciesTestCall) Do(opts ...googleapi.CallOption) (*SasPortalTestPermi // "$ref": "SasPortalTestPermissionsResponse" // }, // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/sasportal" // ] // } diff --git a/serviceconsumermanagement/v1/serviceconsumermanagement-api.json b/serviceconsumermanagement/v1/serviceconsumermanagement-api.json index d995c5b34e1..67af40592ea 100644 --- a/serviceconsumermanagement/v1/serviceconsumermanagement-api.json +++ b/serviceconsumermanagement/v1/serviceconsumermanagement-api.json @@ -542,7 +542,7 @@ } } }, - "revision": "20230304", + "revision": "20230309", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "AddTenantProjectRequest": { @@ -597,11 +597,13 @@ "description": "The source syntax of the service.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" }, @@ -1217,6 +1219,10 @@ "description": "Enum type definition.", "id": "Enum", "properties": { + "edition": { + "description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", + "type": "string" + }, "enumvalue": { "description": "Enum value definitions.", "items": { @@ -1243,11 +1249,13 @@ "description": "The source syntax.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } @@ -1699,11 +1707,13 @@ "description": "The source syntax of this method.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } @@ -2717,6 +2727,10 @@ "description": "A protocol buffer message type.", "id": "Type", "properties": { + "edition": { + "description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", + "type": "string" + }, "fields": { "description": "The list of fields.", "items": { @@ -2750,11 +2764,13 @@ "description": "The source syntax.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } diff --git a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go index 09fe668b9a5..0a156e93a4e 100644 --- a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go @@ -236,6 +236,7 @@ type Api struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` // Version: A version string for this interface. If specified, must have @@ -1539,6 +1540,10 @@ func (s *Endpoint) MarshalJSON() ([]byte, error) { // Enum: Enum type definition. type Enum struct { + // Edition: The source edition string, only valid when syntax is + // SYNTAX_EDITIONS. + Edition string `json:"edition,omitempty"` + // Enumvalue: Enum value definitions. Enumvalue []*EnumValue `json:"enumvalue,omitempty"` @@ -1556,9 +1561,10 @@ type Enum struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` - // ForceSendFields is a list of field names (e.g. "Enumvalue") to + // ForceSendFields is a list of field names (e.g. "Edition") 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 @@ -1566,7 +1572,7 @@ type Enum struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Enumvalue") to include in + // NullFields is a list of field names (e.g. "Edition") 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 @@ -2414,6 +2420,7 @@ type Method struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to @@ -4290,6 +4297,10 @@ func (s *TenantResource) MarshalJSON() ([]byte, error) { // Type: A protocol buffer message type. type Type struct { + // Edition: The source edition string, only valid when syntax is + // SYNTAX_EDITIONS. + Edition string `json:"edition,omitempty"` + // Fields: The list of fields. Fields []*Field `json:"fields,omitempty"` @@ -4311,9 +4322,10 @@ type Type struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` - // ForceSendFields is a list of field names (e.g. "Fields") to + // ForceSendFields is a list of field names (e.g. "Edition") 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 @@ -4321,8 +4333,8 @@ type Type struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Fields") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Edition") 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. diff --git a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-api.json b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-api.json index b26829e1fbb..5082b5f5e24 100644 --- a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-api.json +++ b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-api.json @@ -500,7 +500,7 @@ } } }, - "revision": "20230301", + "revision": "20230309", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "Api": { @@ -540,11 +540,13 @@ "description": "The source syntax of the service.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" }, @@ -1087,6 +1089,10 @@ "description": "Enum type definition.", "id": "Enum", "properties": { + "edition": { + "description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", + "type": "string" + }, "enumvalue": { "description": "Enum value definitions.", "items": { @@ -1113,11 +1119,13 @@ "description": "The source syntax.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } @@ -1533,11 +1541,13 @@ "description": "The source syntax of this method.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } @@ -2365,6 +2375,10 @@ "description": "A protocol buffer message type.", "id": "Type", "properties": { + "edition": { + "description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", + "type": "string" + }, "fields": { "description": "The list of fields.", "items": { @@ -2398,11 +2412,13 @@ "description": "The source syntax.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } diff --git a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go index a87857d37d1..adcb0830e5d 100644 --- a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go @@ -226,6 +226,7 @@ type Api struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` // Version: A version string for this interface. If specified, must have @@ -1350,6 +1351,10 @@ func (s *Endpoint) MarshalJSON() ([]byte, error) { // Enum: Enum type definition. type Enum struct { + // Edition: The source edition string, only valid when syntax is + // SYNTAX_EDITIONS. + Edition string `json:"edition,omitempty"` + // Enumvalue: Enum value definitions. Enumvalue []*EnumValue `json:"enumvalue,omitempty"` @@ -1367,9 +1372,10 @@ type Enum struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` - // ForceSendFields is a list of field names (e.g. "Enumvalue") to + // ForceSendFields is a list of field names (e.g. "Edition") 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 @@ -1377,7 +1383,7 @@ type Enum struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Enumvalue") to include in + // NullFields is a list of field names (e.g. "Edition") 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 @@ -2153,6 +2159,7 @@ type Method struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to @@ -3707,6 +3714,10 @@ func (s *SystemParameters) MarshalJSON() ([]byte, error) { // Type: A protocol buffer message type. type Type struct { + // Edition: The source edition string, only valid when syntax is + // SYNTAX_EDITIONS. + Edition string `json:"edition,omitempty"` + // Fields: The list of fields. Fields []*Field `json:"fields,omitempty"` @@ -3728,9 +3739,10 @@ type Type struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` - // ForceSendFields is a list of field names (e.g. "Fields") to + // ForceSendFields is a list of field names (e.g. "Edition") 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 @@ -3738,8 +3750,8 @@ type Type struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Fields") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Edition") 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. diff --git a/servicenetworking/v1/servicenetworking-api.json b/servicenetworking/v1/servicenetworking-api.json index 5c084c0b458..361482b7255 100644 --- a/servicenetworking/v1/servicenetworking-api.json +++ b/servicenetworking/v1/servicenetworking-api.json @@ -865,7 +865,7 @@ } } }, - "revision": "20230308", + "revision": "20230309", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -908,7 +908,7 @@ "type": "string" }, "dnsSuffix": { - "description": "Required. The DNS name suffix for the zones e.g. `example.com`.", + "description": "Required. The DNS name suffix for the zones e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", "type": "string" }, "name": { @@ -1734,7 +1734,7 @@ "type": "array" }, "domain": { - "description": "Required. The DNS or domain name of the record set, e.g. `test.example.com`.", + "description": "Required. The DNS or domain name of the record set, e.g. `test.example.com`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", "type": "string" }, "ttl": { @@ -1754,7 +1754,7 @@ "id": "DnsZone", "properties": { "dnsSuffix": { - "description": "The DNS name suffix of this zone e.g. `example.com.`.", + "description": "The DNS name suffix of this zone e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", "type": "string" }, "name": { diff --git a/servicenetworking/v1/servicenetworking-gen.go b/servicenetworking/v1/servicenetworking-gen.go index 4b85139a079..36907c11da6 100644 --- a/servicenetworking/v1/servicenetworking-gen.go +++ b/servicenetworking/v1/servicenetworking-gen.go @@ -323,7 +323,8 @@ type AddDnsZoneRequest struct { ConsumerNetwork string `json:"consumerNetwork,omitempty"` // DnsSuffix: Required. The DNS name suffix for the zones e.g. - // `example.com`. + // `example.com.`. Cloud DNS requires that a DNS suffix ends with a + // trailing dot. DnsSuffix string `json:"dnsSuffix,omitempty"` // Name: Required. The name for both the private zone in the shared @@ -1835,7 +1836,8 @@ type DnsRecordSet struct { Data []string `json:"data,omitempty"` // Domain: Required. The DNS or domain name of the record set, e.g. - // `test.example.com`. + // `test.example.com`. Cloud DNS requires that a DNS suffix ends with a + // trailing dot. Domain string `json:"domain,omitempty"` // Ttl: Required. The period of time for which this RecordSet can be @@ -1871,6 +1873,7 @@ func (s *DnsRecordSet) MarshalJSON() ([]byte, error) { // DnsZone: Represents a DNS zone resource. type DnsZone struct { // DnsSuffix: The DNS name suffix of this zone e.g. `example.com.`. + // Cloud DNS requires that a DNS suffix ends with a trailing dot. DnsSuffix string `json:"dnsSuffix,omitempty"` // Name: User assigned name for this resource. Must be unique within the diff --git a/servicenetworking/v1beta/servicenetworking-api.json b/servicenetworking/v1beta/servicenetworking-api.json index 2b60141310a..ed9feba67b7 100644 --- a/servicenetworking/v1beta/servicenetworking-api.json +++ b/servicenetworking/v1beta/servicenetworking-api.json @@ -307,7 +307,7 @@ } } }, - "revision": "20230308", + "revision": "20230309", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -1033,7 +1033,7 @@ "type": "array" }, "domain": { - "description": "Required. The DNS or domain name of the record set, e.g. `test.example.com`.", + "description": "Required. The DNS or domain name of the record set, e.g. `test.example.com`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", "type": "string" }, "ttl": { @@ -1053,7 +1053,7 @@ "id": "DnsZone", "properties": { "dnsSuffix": { - "description": "The DNS name suffix of this zone e.g. `example.com.`.", + "description": "The DNS name suffix of this zone e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", "type": "string" }, "name": { diff --git a/servicenetworking/v1beta/servicenetworking-gen.go b/servicenetworking/v1beta/servicenetworking-gen.go index 4a6df1aa002..0fc2db0f5d7 100644 --- a/servicenetworking/v1beta/servicenetworking-gen.go +++ b/servicenetworking/v1beta/servicenetworking-gen.go @@ -1448,7 +1448,8 @@ type DnsRecordSet struct { Data []string `json:"data,omitempty"` // Domain: Required. The DNS or domain name of the record set, e.g. - // `test.example.com`. + // `test.example.com`. Cloud DNS requires that a DNS suffix ends with a + // trailing dot. Domain string `json:"domain,omitempty"` // Ttl: Required. The period of time for which this RecordSet can be @@ -1484,6 +1485,7 @@ func (s *DnsRecordSet) MarshalJSON() ([]byte, error) { // DnsZone: Represents a DNS zone resource. type DnsZone struct { // DnsSuffix: The DNS name suffix of this zone e.g. `example.com.`. + // Cloud DNS requires that a DNS suffix ends with a trailing dot. DnsSuffix string `json:"dnsSuffix,omitempty"` // Name: User assigned name for this resource. Must be unique within the diff --git a/serviceusage/v1/serviceusage-api.json b/serviceusage/v1/serviceusage-api.json index 87817e6a04e..a3174d8b4f4 100644 --- a/serviceusage/v1/serviceusage-api.json +++ b/serviceusage/v1/serviceusage-api.json @@ -426,7 +426,7 @@ } } }, - "revision": "20230304", + "revision": "20230309", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AdminQuotaPolicy": { @@ -501,11 +501,13 @@ "description": "The source syntax of the service.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" }, @@ -1211,6 +1213,10 @@ "description": "Enum type definition.", "id": "Enum", "properties": { + "edition": { + "description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", + "type": "string" + }, "enumvalue": { "description": "Enum value definitions.", "items": { @@ -1237,11 +1243,13 @@ "description": "The source syntax.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } @@ -2067,11 +2075,13 @@ "description": "The source syntax of this method.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } @@ -2819,6 +2829,10 @@ "description": "A protocol buffer message type.", "id": "Type", "properties": { + "edition": { + "description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", + "type": "string" + }, "fields": { "description": "The list of fields.", "items": { @@ -2852,11 +2866,13 @@ "description": "The source syntax.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } diff --git a/serviceusage/v1/serviceusage-gen.go b/serviceusage/v1/serviceusage-gen.go index 54f048eefb2..a713d49b7d4 100644 --- a/serviceusage/v1/serviceusage-gen.go +++ b/serviceusage/v1/serviceusage-gen.go @@ -264,6 +264,7 @@ type Api struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` // Version: A version string for this interface. If specified, must have @@ -1715,6 +1716,10 @@ func (s *Endpoint) MarshalJSON() ([]byte, error) { // Enum: Enum type definition. type Enum struct { + // Edition: The source edition string, only valid when syntax is + // SYNTAX_EDITIONS. + Edition string `json:"edition,omitempty"` + // Enumvalue: Enum value definitions. Enumvalue []*EnumValue `json:"enumvalue,omitempty"` @@ -1732,9 +1737,10 @@ type Enum struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` - // ForceSendFields is a list of field names (e.g. "Enumvalue") to + // ForceSendFields is a list of field names (e.g. "Edition") 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 @@ -1742,7 +1748,7 @@ type Enum struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Enumvalue") to include in + // NullFields is a list of field names (e.g. "Edition") 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 @@ -3126,6 +3132,7 @@ type Method struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to @@ -4664,6 +4671,10 @@ func (s *SystemParameters) MarshalJSON() ([]byte, error) { // Type: A protocol buffer message type. type Type struct { + // Edition: The source edition string, only valid when syntax is + // SYNTAX_EDITIONS. + Edition string `json:"edition,omitempty"` + // Fields: The list of fields. Fields []*Field `json:"fields,omitempty"` @@ -4685,9 +4696,10 @@ type Type struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` - // ForceSendFields is a list of field names (e.g. "Fields") to + // ForceSendFields is a list of field names (e.g. "Edition") 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 @@ -4695,8 +4707,8 @@ type Type struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Fields") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Edition") 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. diff --git a/serviceusage/v1beta1/serviceusage-api.json b/serviceusage/v1beta1/serviceusage-api.json index a07f7788e98..f7ebd477a65 100644 --- a/serviceusage/v1beta1/serviceusage-api.json +++ b/serviceusage/v1beta1/serviceusage-api.json @@ -959,7 +959,7 @@ } } }, - "revision": "20230304", + "revision": "20230309", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AdminQuotaPolicy": { @@ -1034,11 +1034,13 @@ "description": "The source syntax of the service.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" }, @@ -1783,6 +1785,10 @@ "description": "Enum type definition.", "id": "Enum", "properties": { + "edition": { + "description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", + "type": "string" + }, "enumvalue": { "description": "Enum value definitions.", "items": { @@ -1809,11 +1815,13 @@ "description": "The source syntax.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } @@ -2757,11 +2765,13 @@ "description": "The source syntax of this method.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } @@ -3648,6 +3658,10 @@ "description": "A protocol buffer message type.", "id": "Type", "properties": { + "edition": { + "description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", + "type": "string" + }, "fields": { "description": "The list of fields.", "items": { @@ -3681,11 +3695,13 @@ "description": "The source syntax.", "enum": [ "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "SYNTAX_PROTO3", + "SYNTAX_EDITIONS" ], "enumDescriptions": [ "Syntax `proto2`.", - "Syntax `proto3`." + "Syntax `proto3`.", + "Syntax `editions`." ], "type": "string" } diff --git a/serviceusage/v1beta1/serviceusage-gen.go b/serviceusage/v1beta1/serviceusage-gen.go index 4c4494efc76..2702e7c8aec 100644 --- a/serviceusage/v1beta1/serviceusage-gen.go +++ b/serviceusage/v1beta1/serviceusage-gen.go @@ -312,6 +312,7 @@ type Api struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` // Version: A version string for this interface. If specified, must have @@ -1807,6 +1808,10 @@ func (s *Endpoint) MarshalJSON() ([]byte, error) { // Enum: Enum type definition. type Enum struct { + // Edition: The source edition string, only valid when syntax is + // SYNTAX_EDITIONS. + Edition string `json:"edition,omitempty"` + // Enumvalue: Enum value definitions. Enumvalue []*EnumValue `json:"enumvalue,omitempty"` @@ -1824,9 +1829,10 @@ type Enum struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` - // ForceSendFields is a list of field names (e.g. "Enumvalue") to + // ForceSendFields is a list of field names (e.g. "Edition") 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 @@ -1834,7 +1840,7 @@ type Enum struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Enumvalue") to include in + // NullFields is a list of field names (e.g. "Edition") 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 @@ -3425,6 +3431,7 @@ type Method struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to @@ -5166,6 +5173,10 @@ func (s *SystemParameters) MarshalJSON() ([]byte, error) { // Type: A protocol buffer message type. type Type struct { + // Edition: The source edition string, only valid when syntax is + // SYNTAX_EDITIONS. + Edition string `json:"edition,omitempty"` + // Fields: The list of fields. Fields []*Field `json:"fields,omitempty"` @@ -5187,9 +5198,10 @@ type Type struct { // Possible values: // "SYNTAX_PROTO2" - Syntax `proto2`. // "SYNTAX_PROTO3" - Syntax `proto3`. + // "SYNTAX_EDITIONS" - Syntax `editions`. Syntax string `json:"syntax,omitempty"` - // ForceSendFields is a list of field names (e.g. "Fields") to + // ForceSendFields is a list of field names (e.g. "Edition") 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 @@ -5197,8 +5209,8 @@ type Type struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Fields") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Edition") 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. diff --git a/speech/v1/speech-api.json b/speech/v1/speech-api.json index 48ae9148360..0bdbbda7c03 100644 --- a/speech/v1/speech-api.json +++ b/speech/v1/speech-api.json @@ -524,7 +524,7 @@ } } }, - "revision": "20230119", + "revision": "20230306", "rootUrl": "https://speech.googleapis.com/", "schemas": { "ABNFGrammar": { @@ -1099,7 +1099,7 @@ "id": "SpeakerDiarizationConfig", "properties": { "enableSpeakerDiarization": { - "description": "If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo.", + "description": "If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_label provided in the WordInfo.", "type": "boolean" }, "maxSpeakerCount": { @@ -1291,8 +1291,13 @@ "format": "google-duration", "type": "string" }, + "speakerLabel": { + "description": "Output only. A label value assigned for every unique speaker within the audio. This field specifies which speaker was detected to have spoken this word. For some models, like medical_conversation this can be actual speaker role, for example \"patient\" or \"provider\", but generally this would be a number identifying a speaker. This field is only set if enable_speaker_diarization = 'true' and only for the top alternative.", + "readOnly": true, + "type": "string" + }, "speakerTag": { - "description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from '1' to diarization_speaker_count. speaker_tag is set if enable_speaker_diarization = 'true' and only in the top alternative.", + "description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from '1' to diarization_speaker_count. speaker_tag is set if enable_speaker_diarization = 'true' and only for the top alternative. Note: Use speaker_label instead.", "format": "int32", "readOnly": true, "type": "integer" diff --git a/speech/v1/speech-gen.go b/speech/v1/speech-gen.go index 7b330311d68..06863df9bf2 100644 --- a/speech/v1/speech-gen.go +++ b/speech/v1/speech-gen.go @@ -1291,7 +1291,7 @@ func (s *RecognizeResponse) MarshalJSON() ([]byte, error) { type SpeakerDiarizationConfig struct { // EnableSpeakerDiarization: If 'true', enables speaker detection for // each recognized word in the top alternative of the recognition result - // using a speaker_tag provided in the WordInfo. + // using a speaker_label provided in the WordInfo. EnableSpeakerDiarization bool `json:"enableSpeakerDiarization,omitempty"` // MaxSpeakerCount: Maximum number of speakers in the conversation. This @@ -1681,11 +1681,21 @@ type WordInfo struct { // can vary. EndTime string `json:"endTime,omitempty"` + // SpeakerLabel: Output only. A label value assigned for every unique + // speaker within the audio. This field specifies which speaker was + // detected to have spoken this word. For some models, like + // medical_conversation this can be actual speaker role, for example + // "patient" or "provider", but generally this would be a number + // identifying a speaker. This field is only set if + // enable_speaker_diarization = 'true' and only for the top alternative. + SpeakerLabel string `json:"speakerLabel,omitempty"` + // SpeakerTag: Output only. A distinct integer value is assigned for // every speaker within the audio. This field specifies which one of // those speakers was detected to have spoken this word. Value ranges // from '1' to diarization_speaker_count. speaker_tag is set if - // enable_speaker_diarization = 'true' and only in the top alternative. + // enable_speaker_diarization = 'true' and only for the top alternative. + // Note: Use speaker_label instead. SpeakerTag int64 `json:"speakerTag,omitempty"` // StartTime: Time offset relative to the beginning of the audio, and diff --git a/speech/v1p1beta1/speech-api.json b/speech/v1p1beta1/speech-api.json index 1a041ac5cf8..13dba4e1c19 100644 --- a/speech/v1p1beta1/speech-api.json +++ b/speech/v1p1beta1/speech-api.json @@ -524,7 +524,7 @@ } } }, - "revision": "20230119", + "revision": "20230306", "rootUrl": "https://speech.googleapis.com/", "schemas": { "ABNFGrammar": { @@ -897,7 +897,7 @@ "type": "boolean" }, "enableSpeakerDiarization": { - "description": "If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo. Note: Use diarization_config instead.", + "description": "If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_label provided in the WordInfo. Note: Use diarization_config instead.", "type": "boolean" }, "enableSpokenEmojis": { @@ -1143,7 +1143,7 @@ "id": "SpeakerDiarizationConfig", "properties": { "enableSpeakerDiarization": { - "description": "If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo.", + "description": "If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_label provided in the WordInfo.", "type": "boolean" }, "maxSpeakerCount": { @@ -1349,8 +1349,13 @@ "format": "google-duration", "type": "string" }, + "speakerLabel": { + "description": "Output only. A label value assigned for every unique speaker within the audio. This field specifies which speaker was detected to have spoken this word. For some models, like medical_conversation this can be actual speaker role, for example \"patient\" or \"provider\", but generally this would be a number identifying a speaker. This field is only set if enable_speaker_diarization = 'true' and only for the top alternative.", + "readOnly": true, + "type": "string" + }, "speakerTag": { - "description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from '1' to diarization_speaker_count. speaker_tag is set if enable_speaker_diarization = 'true' and only in the top alternative.", + "description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from '1' to diarization_speaker_count. speaker_tag is set if enable_speaker_diarization = 'true' and only for the top alternative. Note: Use speaker_label instead.", "format": "int32", "readOnly": true, "type": "integer" diff --git a/speech/v1p1beta1/speech-gen.go b/speech/v1p1beta1/speech-gen.go index 8ea31de28b6..4fab97d9e19 100644 --- a/speech/v1p1beta1/speech-gen.go +++ b/speech/v1p1beta1/speech-gen.go @@ -986,7 +986,7 @@ type RecognitionConfig struct { // EnableSpeakerDiarization: If 'true', enables speaker detection for // each recognized word in the top alternative of the recognition result - // using a speaker_tag provided in the WordInfo. Note: Use + // using a speaker_label provided in the WordInfo. Note: Use // diarization_config instead. EnableSpeakerDiarization bool `json:"enableSpeakerDiarization,omitempty"` @@ -1356,7 +1356,7 @@ func (s *RecognizeResponse) MarshalJSON() ([]byte, error) { type SpeakerDiarizationConfig struct { // EnableSpeakerDiarization: If 'true', enables speaker detection for // each recognized word in the top alternative of the recognition result - // using a speaker_tag provided in the WordInfo. + // using a speaker_label provided in the WordInfo. EnableSpeakerDiarization bool `json:"enableSpeakerDiarization,omitempty"` // MaxSpeakerCount: Maximum number of speakers in the conversation. This @@ -1782,11 +1782,21 @@ type WordInfo struct { // can vary. EndTime string `json:"endTime,omitempty"` + // SpeakerLabel: Output only. A label value assigned for every unique + // speaker within the audio. This field specifies which speaker was + // detected to have spoken this word. For some models, like + // medical_conversation this can be actual speaker role, for example + // "patient" or "provider", but generally this would be a number + // identifying a speaker. This field is only set if + // enable_speaker_diarization = 'true' and only for the top alternative. + SpeakerLabel string `json:"speakerLabel,omitempty"` + // SpeakerTag: Output only. A distinct integer value is assigned for // every speaker within the audio. This field specifies which one of // those speakers was detected to have spoken this word. Value ranges // from '1' to diarization_speaker_count. speaker_tag is set if - // enable_speaker_diarization = 'true' and only in the top alternative. + // enable_speaker_diarization = 'true' and only for the top alternative. + // Note: Use speaker_label instead. SpeakerTag int64 `json:"speakerTag,omitempty"` // StartTime: Time offset relative to the beginning of the audio, and