diff --git a/beyondcorp/v1alpha/beyondcorp-api.json b/beyondcorp/v1alpha/beyondcorp-api.json index 8925af6776a..eefd7833f5e 100644 --- a/beyondcorp/v1alpha/beyondcorp-api.json +++ b/beyondcorp/v1alpha/beyondcorp-api.json @@ -1323,7 +1323,7 @@ ], "parameters": { "name": { - "description": "Required. Unique resource name of the Subscription. The name is ignored when creating a subscription.", + "description": "Identifier. Unique resource name of the Subscription. The name is ignored when creating a subscription.", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/subscriptions/[^/]+$", "required": true, @@ -4080,7 +4080,7 @@ } } }, - "revision": "20240612", + "revision": "20240619", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -5693,6 +5693,10 @@ "readOnly": true, "type": "string" }, + "proxyProtocolConfig": { + "$ref": "GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig", + "description": "Optional. Protocol config data for the Proxy." + }, "proxyUri": { "description": "Required. The URI of the proxy server.", "type": "string" @@ -5714,6 +5718,20 @@ }, "type": "object" }, + "GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig": { + "description": "The protocol data that specifies how to communicate with Partner's Proxy.", + "id": "GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig", + "properties": { + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Untyped property bag to be sent back to the proxy using client specific mechanism.", + "type": "object" + } + }, + "type": "object" + }, "GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo": { "description": "Message contains the routing information to direct traffic to the proxy server.", "id": "GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo", @@ -6159,7 +6177,7 @@ "type": "string" }, "name": { - "description": "Required. Unique resource name of the Subscription. The name is ignored when creating a subscription.", + "description": "Identifier. Unique resource name of the Subscription. The name is ignored when creating a subscription.", "type": "string" }, "seatCount": { diff --git a/beyondcorp/v1alpha/beyondcorp-gen.go b/beyondcorp/v1alpha/beyondcorp-gen.go index e552d3648a1..43a1fb2700a 100644 --- a/beyondcorp/v1alpha/beyondcorp-gen.go +++ b/beyondcorp/v1alpha/beyondcorp-gen.go @@ -2192,6 +2192,8 @@ type GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig struct { EncryptionInfo *GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo `json:"encryptionInfo,omitempty"` // Name: Output only. ProxyConfig resource name. Name string `json:"name,omitempty"` + // ProxyProtocolConfig: Optional. Protocol config data for the Proxy. + ProxyProtocolConfig *GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig `json:"proxyProtocolConfig,omitempty"` // ProxyUri: Required. The URI of the proxy server. ProxyUri string `json:"proxyUri,omitempty"` // RoutingInfo: Required. Routing info to direct traffic to the proxy server. @@ -2222,6 +2224,30 @@ func (s *GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig) MarshalJSON() ( return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig: The protocol +// data that specifies how to communicate with Partner's Proxy. +type GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig struct { + // Metadata: Optional. Untyped property bag to be sent back to the proxy using + // client specific mechanism. + Metadata map[string]string `json:"metadata,omitempty"` + // ForceSendFields is a list of field names (e.g. "Metadata") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Metadata") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo: Message contains the // routing information to direct traffic to the proxy server. type GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo struct { @@ -2729,7 +2755,7 @@ type GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription struct { CreateTime string `json:"createTime,omitempty"` // EndTime: Output only. End time of the subscription. EndTime string `json:"endTime,omitempty"` - // Name: Required. Unique resource name of the Subscription. The name is + // Name: Identifier. Unique resource name of the Subscription. The name is // ignored when creating a subscription. Name string `json:"name,omitempty"` // SeatCount: Optional. Number of seats in the subscription. @@ -8300,8 +8326,8 @@ type OrganizationsLocationsSubscriptionsPatchCall struct { // organization. Location will always be global as BeyondCorp subscriptions are // per organization. // -// - name: Unique resource name of the Subscription. The name is ignored when -// creating a subscription. +// - name: Identifier. Unique resource name of the Subscription. The name is +// ignored when creating a subscription. func (r *OrganizationsLocationsSubscriptionsService) Patch(name string, googlecloudbeyondcorpsaasplatformsubscriptionsv1alphasubscription *GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription) *OrganizationsLocationsSubscriptionsPatchCall { c := &OrganizationsLocationsSubscriptionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name