From ae341d5c40e3a9d3fafe1b85a872d212230469cc Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 11 Feb 2022 14:23:04 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1438) --- api-list.json | 15 + chat/v1/chat-api.json | 4 +- chat/v1/chat-gen.go | 5 +- cloudchannel/v1/cloudchannel-api.json | 6 +- cloudchannel/v1/cloudchannel-gen.go | 12 +- cloudfunctions/v1/cloudfunctions-api.json | 310 +++++++++++++++++++- cloudfunctions/v1/cloudfunctions-gen.go | 328 ++++++++++++++++++++++ cloudkms/v1/cloudkms-api.json | 4 +- cloudkms/v1/cloudkms-gen.go | 3 +- datastore/v1/datastore-api.json | 14 +- datastore/v1/datastore-gen.go | 4 + datastore/v1beta1/datastore-api.json | 14 +- datastore/v1beta1/datastore-gen.go | 4 + datastore/v1beta3/datastore-api.json | 14 +- datastore/v1beta3/datastore-gen.go | 4 + gkehub/v1alpha/gkehub-api.json | 50 ++-- gkehub/v1alpha/gkehub-gen.go | 69 +++-- 17 files changed, 776 insertions(+), 84 deletions(-) diff --git a/api-list.json b/api-list.json index 7b8b6428f42..aea4e856919 100644 --- a/api-list.json +++ b/api-list.json @@ -2132,6 +2132,21 @@ "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, "documentationLink": "https://cloud.google.com/dns/docs", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "dns:v2", + "name": "dns", + "version": "v2", + "title": "Cloud DNS API", + "description": "", + "discoveryRestUrl": "https://dns.googleapis.com/$discovery/rest?version=v2", + "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/dns/docs", "preferred": true }, { diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index 37911a01600..7721218a24a 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -595,7 +595,7 @@ "type": "string" }, "updateMask": { - "description": "Required. The field paths to be updated, comma separated if there are multiple. Currently supported field paths: * text * cards * gsuite_message_integration_render_data * attachment", + "description": "Required. The field paths to be updated, comma separated if there are multiple. Currently supported field paths: * text * cards * attachment", "format": "google-fieldmask", "location": "query", "type": "string" @@ -642,7 +642,7 @@ } } }, - "revision": "20220126", + "revision": "20220209", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index 55538184ebe..f5e5f20a009 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -6177,8 +6177,7 @@ func (r *SpacesMessagesService) Update(name string, message *Message) *SpacesMes // UpdateMask sets the optional parameter "updateMask": Required. The // field paths to be updated, comma separated if there are multiple. -// Currently supported field paths: * text * cards * -// gsuite_message_integration_render_data * attachment +// Currently supported field paths: * text * cards * attachment func (c *SpacesMessagesUpdateCall) UpdateMask(updateMask string) *SpacesMessagesUpdateCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -6291,7 +6290,7 @@ func (c *SpacesMessagesUpdateCall) Do(opts ...googleapi.CallOption) (*Message, e // "type": "string" // }, // "updateMask": { - // "description": "Required. The field paths to be updated, comma separated if there are multiple. Currently supported field paths: * text * cards * gsuite_message_integration_render_data * attachment", + // "description": "Required. The field paths to be updated, comma separated if there are multiple. Currently supported field paths: * text * cards * attachment", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/cloudchannel/v1/cloudchannel-api.json b/cloudchannel/v1/cloudchannel-api.json index 4856e28cd0e..bf03efeb404 100644 --- a/cloudchannel/v1/cloudchannel-api.json +++ b/cloudchannel/v1/cloudchannel-api.json @@ -1589,7 +1589,7 @@ } } }, - "revision": "20220129", + "revision": "20220209", "rootUrl": "https://cloudchannel.googleapis.com/", "schemas": { "GoogleCloudChannelV1ActivateEntitlementRequest": { @@ -3032,7 +3032,7 @@ "type": "string" }, "provisioningId": { - "description": "Output only. Provisioning ID of the entitlement. For Google Workspace, this would be the underlying Subscription ID. For Google Cloud Platform, this would be the Billing Account ID of the billing subaccount.\"", + "description": "Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud Platform, this is the Billing Account ID of the billing subaccount.\"", "readOnly": true, "type": "string" }, @@ -3713,7 +3713,7 @@ "type": "string" }, "provisioningId": { - "description": "Output only. Provisioning ID of the entitlement. For Google Workspace, this would be the underlying Subscription ID. For Google Cloud Platform, this would be the Billing Account ID of the billing subaccount.\"", + "description": "Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud Platform, this is the Billing Account ID of the billing subaccount.\"", "readOnly": true, "type": "string" }, diff --git a/cloudchannel/v1/cloudchannel-gen.go b/cloudchannel/v1/cloudchannel-gen.go index a1adc8c52af..0955eb62378 100644 --- a/cloudchannel/v1/cloudchannel-gen.go +++ b/cloudchannel/v1/cloudchannel-gen.go @@ -2540,9 +2540,9 @@ type GoogleCloudChannelV1ProvisionedService struct { ProductId string `json:"productId,omitempty"` // ProvisioningId: Output only. Provisioning ID of the entitlement. For - // Google Workspace, this would be the underlying Subscription ID. For - // Google Cloud Platform, this would be the Billing Account ID of the - // billing subaccount." + // Google Workspace, this is the underlying Subscription ID. For Google + // Cloud Platform, this is the Billing Account ID of the billing + // subaccount." ProvisioningId string `json:"provisioningId,omitempty"` // SkuId: Output only. The SKU pertaining to the provisioning resource @@ -3748,9 +3748,9 @@ type GoogleCloudChannelV1alpha1ProvisionedService struct { ProductId string `json:"productId,omitempty"` // ProvisioningId: Output only. Provisioning ID of the entitlement. For - // Google Workspace, this would be the underlying Subscription ID. For - // Google Cloud Platform, this would be the Billing Account ID of the - // billing subaccount." + // Google Workspace, this is the underlying Subscription ID. For Google + // Cloud Platform, this is the Billing Account ID of the billing + // subaccount." ProvisioningId string `json:"provisioningId,omitempty"` // SkuId: Output only. The SKU pertaining to the provisioning resource diff --git a/cloudfunctions/v1/cloudfunctions-api.json b/cloudfunctions/v1/cloudfunctions-api.json index 4cac5d2028a..3b2a808dc35 100644 --- a/cloudfunctions/v1/cloudfunctions-api.json +++ b/cloudfunctions/v1/cloudfunctions-api.json @@ -546,7 +546,7 @@ } } }, - "revision": "20211130", + "revision": "20220203", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -683,6 +683,20 @@ "description": "User-provided description of a function.", "type": "string" }, + "dockerRegistry": { + "description": "Docker Registry to use for this deployment. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.", + "enum": [ + "DOCKER_REGISTRY_UNSPECIFIED", + "CONTAINER_REGISTRY", + "ARTIFACT_REGISTRY" + ], + "enumDescriptions": [ + "Unspecified.", + "Docker images will be stored in multi-regional Container Registry repositories named `gcf`.", + "Docker images will be stored in regional Artifact Registry repositories. By default, GCF will create and use repositories named `gcf-artifacts` in every region in which a function is deployed. But the repository to use can also be specified by the user using the `docker_repository` field." + ], + "type": "string" + }, "dockerRepository": { "description": "User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.", "type": "string" @@ -945,6 +959,300 @@ }, "type": "object" }, + "GoogleCloudFunctionsV2alphaOperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleCloudFunctionsV2alphaOperationMetadata", + "properties": { + "apiVersion": { + "description": "API version used to start the operation.", + "type": "string" + }, + "cancelRequested": { + "description": "Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "createTime": { + "description": "The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "requestResource": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The original request that started the operation.", + "type": "object" + }, + "stages": { + "description": "Mechanism for reporting in-progress stages", + "items": { + "$ref": "GoogleCloudFunctionsV2alphaStage" + }, + "type": "array" + }, + "statusDetail": { + "description": "Human-readable status of the operation, if any.", + "type": "string" + }, + "target": { + "description": "Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudFunctionsV2alphaStage": { + "description": "Each Stage of the deployment process", + "id": "GoogleCloudFunctionsV2alphaStage", + "properties": { + "message": { + "description": "Message describing the Stage", + "type": "string" + }, + "name": { + "description": "Name of the Stage. This will be unique for each Stage.", + "enum": [ + "NAME_UNSPECIFIED", + "ARTIFACT_REGISTRY", + "BUILD", + "SERVICE", + "TRIGGER", + "SERVICE_ROLLBACK", + "TRIGGER_ROLLBACK" + ], + "enumDescriptions": [ + "Not specified. Invalid name.", + "Artifact Regsitry Stage", + "Build Stage", + "Service Stage", + "Trigger Stage", + "Service Rollback Stage", + "Trigger Rollback Stage" + ], + "type": "string" + }, + "resource": { + "description": "Resource of the Stage", + "type": "string" + }, + "resourceUri": { + "description": "Link to the current Stage resource", + "type": "string" + }, + "state": { + "description": "Current state of the Stage", + "enum": [ + "STATE_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "COMPLETE" + ], + "enumDescriptions": [ + "Not specified. Invalid state.", + "Stage has not started.", + "Stage is in progress.", + "Stage has completed." + ], + "type": "string" + }, + "stateMessages": { + "description": "State messages from the current Stage.", + "items": { + "$ref": "GoogleCloudFunctionsV2alphaStateMessage" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudFunctionsV2alphaStateMessage": { + "description": "Informational messages about the state of the Cloud Function or Operation.", + "id": "GoogleCloudFunctionsV2alphaStateMessage", + "properties": { + "message": { + "description": "The message.", + "type": "string" + }, + "severity": { + "description": "Severity of the state message.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "ERROR", + "WARNING", + "INFO" + ], + "enumDescriptions": [ + "Not specified. Invalid severity.", + "ERROR-level severity.", + "WARNING-level severity.", + "INFO-level severity." + ], + "type": "string" + }, + "type": { + "description": "One-word CamelCase type of the state message.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudFunctionsV2betaOperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleCloudFunctionsV2betaOperationMetadata", + "properties": { + "apiVersion": { + "description": "API version used to start the operation.", + "type": "string" + }, + "cancelRequested": { + "description": "Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "type": "boolean" + }, + "createTime": { + "description": "The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "requestResource": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The original request that started the operation.", + "type": "object" + }, + "stages": { + "description": "Mechanism for reporting in-progress stages", + "items": { + "$ref": "GoogleCloudFunctionsV2betaStage" + }, + "type": "array" + }, + "statusDetail": { + "description": "Human-readable status of the operation, if any.", + "type": "string" + }, + "target": { + "description": "Server-defined resource path for the target of the operation.", + "type": "string" + }, + "verb": { + "description": "Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudFunctionsV2betaStage": { + "description": "Each Stage of the deployment process", + "id": "GoogleCloudFunctionsV2betaStage", + "properties": { + "message": { + "description": "Message describing the Stage", + "type": "string" + }, + "name": { + "description": "Name of the Stage. This will be unique for each Stage.", + "enum": [ + "NAME_UNSPECIFIED", + "ARTIFACT_REGISTRY", + "BUILD", + "SERVICE", + "TRIGGER", + "SERVICE_ROLLBACK", + "TRIGGER_ROLLBACK" + ], + "enumDescriptions": [ + "Not specified. Invalid name.", + "Artifact Regsitry Stage", + "Build Stage", + "Service Stage", + "Trigger Stage", + "Service Rollback Stage", + "Trigger Rollback Stage" + ], + "type": "string" + }, + "resource": { + "description": "Resource of the Stage", + "type": "string" + }, + "resourceUri": { + "description": "Link to the current Stage resource", + "type": "string" + }, + "state": { + "description": "Current state of the Stage", + "enum": [ + "STATE_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "COMPLETE" + ], + "enumDescriptions": [ + "Not specified. Invalid state.", + "Stage has not started.", + "Stage is in progress.", + "Stage has completed." + ], + "type": "string" + }, + "stateMessages": { + "description": "State messages from the current Stage.", + "items": { + "$ref": "GoogleCloudFunctionsV2betaStateMessage" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudFunctionsV2betaStateMessage": { + "description": "Informational messages about the state of the Cloud Function or Operation.", + "id": "GoogleCloudFunctionsV2betaStateMessage", + "properties": { + "message": { + "description": "The message.", + "type": "string" + }, + "severity": { + "description": "Severity of the state message.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "ERROR", + "WARNING", + "INFO" + ], + "enumDescriptions": [ + "Not specified. Invalid severity.", + "ERROR-level severity.", + "WARNING-level severity.", + "INFO-level severity." + ], + "type": "string" + }, + "type": { + "description": "One-word CamelCase type of the state message.", + "type": "string" + } + }, + "type": "object" + }, "HttpsTrigger": { "description": "Describes HttpsTrigger, could be used to connect web hooks to function.", "id": "HttpsTrigger", diff --git a/cloudfunctions/v1/cloudfunctions-gen.go b/cloudfunctions/v1/cloudfunctions-gen.go index f54a7ffdf2b..e703e805246 100644 --- a/cloudfunctions/v1/cloudfunctions-gen.go +++ b/cloudfunctions/v1/cloudfunctions-gen.go @@ -456,6 +456,23 @@ type CloudFunction struct { // Description: User-provided description of a function. Description string `json:"description,omitempty"` + // DockerRegistry: Docker Registry to use for this deployment. If + // `docker_repository` field is specified, this field will be + // automatically set as `ARTIFACT_REGISTRY`. If unspecified, it + // currently defaults to `CONTAINER_REGISTRY`. This field may be + // overridden by the backend for eligible deployments. + // + // Possible values: + // "DOCKER_REGISTRY_UNSPECIFIED" - Unspecified. + // "CONTAINER_REGISTRY" - Docker images will be stored in + // multi-regional Container Registry repositories named `gcf`. + // "ARTIFACT_REGISTRY" - Docker images will be stored in regional + // Artifact Registry repositories. By default, GCF will create and use + // repositories named `gcf-artifacts` in every region in which a + // function is deployed. But the repository to use can also be specified + // by the user using the `docker_repository` field. + DockerRegistry string `json:"dockerRegistry,omitempty"` + // DockerRepository: User managed repository created in Artifact // Registry optionally with a customer managed encryption key. If // specified, deployments will use Artifact Registry. If unspecified and @@ -931,6 +948,317 @@ func (s *GenerateUploadUrlResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudFunctionsV2alphaOperationMetadata: Represents the metadata +// of the long-running operation. +type GoogleCloudFunctionsV2alphaOperationMetadata struct { + // ApiVersion: API version used to start the operation. + ApiVersion string `json:"apiVersion,omitempty"` + + // CancelRequested: Identifies whether the user has requested + // cancellation of the operation. Operations that have successfully been + // cancelled have Operation.error value with a google.rpc.Status.code of + // 1, corresponding to `Code.CANCELLED`. + CancelRequested bool `json:"cancelRequested,omitempty"` + + // CreateTime: The time the operation was created. + CreateTime string `json:"createTime,omitempty"` + + // EndTime: The time the operation finished running. + EndTime string `json:"endTime,omitempty"` + + // RequestResource: The original request that started the operation. + RequestResource googleapi.RawMessage `json:"requestResource,omitempty"` + + // Stages: Mechanism for reporting in-progress stages + Stages []*GoogleCloudFunctionsV2alphaStage `json:"stages,omitempty"` + + // StatusDetail: Human-readable status of the operation, if any. + StatusDetail string `json:"statusDetail,omitempty"` + + // Target: Server-defined resource path for the target of the operation. + Target string `json:"target,omitempty"` + + // Verb: Name of the verb executed by the operation. + Verb string `json:"verb,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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 *GoogleCloudFunctionsV2alphaOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudFunctionsV2alphaOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudFunctionsV2alphaStage: Each Stage of the deployment +// process +type GoogleCloudFunctionsV2alphaStage struct { + // Message: Message describing the Stage + Message string `json:"message,omitempty"` + + // Name: Name of the Stage. This will be unique for each Stage. + // + // Possible values: + // "NAME_UNSPECIFIED" - Not specified. Invalid name. + // "ARTIFACT_REGISTRY" - Artifact Regsitry Stage + // "BUILD" - Build Stage + // "SERVICE" - Service Stage + // "TRIGGER" - Trigger Stage + // "SERVICE_ROLLBACK" - Service Rollback Stage + // "TRIGGER_ROLLBACK" - Trigger Rollback Stage + Name string `json:"name,omitempty"` + + // Resource: Resource of the Stage + Resource string `json:"resource,omitempty"` + + // ResourceUri: Link to the current Stage resource + ResourceUri string `json:"resourceUri,omitempty"` + + // State: Current state of the Stage + // + // Possible values: + // "STATE_UNSPECIFIED" - Not specified. Invalid state. + // "NOT_STARTED" - Stage has not started. + // "IN_PROGRESS" - Stage is in progress. + // "COMPLETE" - Stage has completed. + State string `json:"state,omitempty"` + + // StateMessages: State messages from the current Stage. + StateMessages []*GoogleCloudFunctionsV2alphaStateMessage `json:"stateMessages,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Message") 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. "Message") 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 *GoogleCloudFunctionsV2alphaStage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudFunctionsV2alphaStage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudFunctionsV2alphaStateMessage: Informational messages about +// the state of the Cloud Function or Operation. +type GoogleCloudFunctionsV2alphaStateMessage struct { + // Message: The message. + Message string `json:"message,omitempty"` + + // Severity: Severity of the state message. + // + // Possible values: + // "SEVERITY_UNSPECIFIED" - Not specified. Invalid severity. + // "ERROR" - ERROR-level severity. + // "WARNING" - WARNING-level severity. + // "INFO" - INFO-level severity. + Severity string `json:"severity,omitempty"` + + // Type: One-word CamelCase type of the state message. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Message") 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. "Message") 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 *GoogleCloudFunctionsV2alphaStateMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudFunctionsV2alphaStateMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudFunctionsV2betaOperationMetadata: Represents the metadata +// of the long-running operation. +type GoogleCloudFunctionsV2betaOperationMetadata struct { + // ApiVersion: API version used to start the operation. + ApiVersion string `json:"apiVersion,omitempty"` + + // CancelRequested: Identifies whether the user has requested + // cancellation of the operation. Operations that have successfully been + // cancelled have Operation.error value with a google.rpc.Status.code of + // 1, corresponding to `Code.CANCELLED`. + CancelRequested bool `json:"cancelRequested,omitempty"` + + // CreateTime: The time the operation was created. + CreateTime string `json:"createTime,omitempty"` + + // EndTime: The time the operation finished running. + EndTime string `json:"endTime,omitempty"` + + // RequestResource: The original request that started the operation. + RequestResource googleapi.RawMessage `json:"requestResource,omitempty"` + + // Stages: Mechanism for reporting in-progress stages + Stages []*GoogleCloudFunctionsV2betaStage `json:"stages,omitempty"` + + // StatusDetail: Human-readable status of the operation, if any. + StatusDetail string `json:"statusDetail,omitempty"` + + // Target: Server-defined resource path for the target of the operation. + Target string `json:"target,omitempty"` + + // Verb: Name of the verb executed by the operation. + Verb string `json:"verb,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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 *GoogleCloudFunctionsV2betaOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudFunctionsV2betaOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudFunctionsV2betaStage: Each Stage of the deployment process +type GoogleCloudFunctionsV2betaStage struct { + // Message: Message describing the Stage + Message string `json:"message,omitempty"` + + // Name: Name of the Stage. This will be unique for each Stage. + // + // Possible values: + // "NAME_UNSPECIFIED" - Not specified. Invalid name. + // "ARTIFACT_REGISTRY" - Artifact Regsitry Stage + // "BUILD" - Build Stage + // "SERVICE" - Service Stage + // "TRIGGER" - Trigger Stage + // "SERVICE_ROLLBACK" - Service Rollback Stage + // "TRIGGER_ROLLBACK" - Trigger Rollback Stage + Name string `json:"name,omitempty"` + + // Resource: Resource of the Stage + Resource string `json:"resource,omitempty"` + + // ResourceUri: Link to the current Stage resource + ResourceUri string `json:"resourceUri,omitempty"` + + // State: Current state of the Stage + // + // Possible values: + // "STATE_UNSPECIFIED" - Not specified. Invalid state. + // "NOT_STARTED" - Stage has not started. + // "IN_PROGRESS" - Stage is in progress. + // "COMPLETE" - Stage has completed. + State string `json:"state,omitempty"` + + // StateMessages: State messages from the current Stage. + StateMessages []*GoogleCloudFunctionsV2betaStateMessage `json:"stateMessages,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Message") 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. "Message") 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 *GoogleCloudFunctionsV2betaStage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudFunctionsV2betaStage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudFunctionsV2betaStateMessage: Informational messages about +// the state of the Cloud Function or Operation. +type GoogleCloudFunctionsV2betaStateMessage struct { + // Message: The message. + Message string `json:"message,omitempty"` + + // Severity: Severity of the state message. + // + // Possible values: + // "SEVERITY_UNSPECIFIED" - Not specified. Invalid severity. + // "ERROR" - ERROR-level severity. + // "WARNING" - WARNING-level severity. + // "INFO" - INFO-level severity. + Severity string `json:"severity,omitempty"` + + // Type: One-word CamelCase type of the state message. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Message") 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. "Message") 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 *GoogleCloudFunctionsV2betaStateMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudFunctionsV2betaStateMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // HttpsTrigger: Describes HttpsTrigger, could be used to connect web // hooks to function. type HttpsTrigger struct { diff --git a/cloudkms/v1/cloudkms-api.json b/cloudkms/v1/cloudkms-api.json index 6b494653e0e..011427087bd 100644 --- a/cloudkms/v1/cloudkms-api.json +++ b/cloudkms/v1/cloudkms-api.json @@ -1582,7 +1582,7 @@ } } }, - "revision": "20220122", + "revision": "20220208", "rootUrl": "https://cloudkms.googleapis.com/", "schemas": { "AsymmetricDecryptRequest": { @@ -3161,7 +3161,7 @@ "type": "string" }, "serverCertificates": { - "description": "Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.", + "description": "Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.", "items": { "$ref": "Certificate" }, diff --git a/cloudkms/v1/cloudkms-gen.go b/cloudkms/v1/cloudkms-gen.go index ff8c49573f0..b45d64f8a9e 100644 --- a/cloudkms/v1/cloudkms-gen.go +++ b/cloudkms/v1/cloudkms-gen.go @@ -2895,7 +2895,8 @@ type ServiceResolver struct { Hostname string `json:"hostname,omitempty"` // ServerCertificates: Required. A list of leaf server certificates used - // to authenticate HTTPS connections to the EKM replica. + // to authenticate HTTPS connections to the EKM replica. Currently, a + // maximum of 10 Certificate is supported. ServerCertificates []*Certificate `json:"serverCertificates,omitempty"` // ServiceDirectoryService: Required. The resource name of the Service diff --git a/datastore/v1/datastore-api.json b/datastore/v1/datastore-api.json index 82c4d8471c1..b84957c2696 100644 --- a/datastore/v1/datastore-api.json +++ b/datastore/v1/datastore-api.json @@ -626,7 +626,7 @@ } } }, - "revision": "20220110", + "revision": "20220207", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "AllocateIdsRequest": { @@ -1269,12 +1269,14 @@ "enum": [ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", - "OPTIMISTIC" + "OPTIMISTIC", + "OPTIMISTIC_WITH_ENTITY_GROUPS" ], "enumDescriptions": [ "Unspecified.", "Pessimistic concurrency.", - "Optimistic concurrency." + "Optimistic concurrency.", + "Optimistic concurrency with entity groups." ], "type": "string" } @@ -1307,12 +1309,14 @@ "enum": [ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", - "OPTIMISTIC" + "OPTIMISTIC", + "OPTIMISTIC_WITH_ENTITY_GROUPS" ], "enumDescriptions": [ "Unspecified.", "Pessimistic concurrency.", - "Optimistic concurrency." + "Optimistic concurrency.", + "Optimistic concurrency with entity groups." ], "type": "string" } diff --git a/datastore/v1/datastore-gen.go b/datastore/v1/datastore-gen.go index 4738e3a40b1..716bb0c1bf8 100644 --- a/datastore/v1/datastore-gen.go +++ b/datastore/v1/datastore-gen.go @@ -1258,6 +1258,8 @@ type GoogleDatastoreAdminV1PrepareStepDetails struct { // "CONCURRENCY_MODE_UNSPECIFIED" - Unspecified. // "PESSIMISTIC" - Pessimistic concurrency. // "OPTIMISTIC" - Optimistic concurrency. + // "OPTIMISTIC_WITH_ENTITY_GROUPS" - Optimistic concurrency with + // entity groups. ConcurrencyMode string `json:"concurrencyMode,omitempty"` // ForceSendFields is a list of field names (e.g. "ConcurrencyMode") to @@ -1327,6 +1329,8 @@ type GoogleDatastoreAdminV1RedirectWritesStepDetails struct { // "CONCURRENCY_MODE_UNSPECIFIED" - Unspecified. // "PESSIMISTIC" - Pessimistic concurrency. // "OPTIMISTIC" - Optimistic concurrency. + // "OPTIMISTIC_WITH_ENTITY_GROUPS" - Optimistic concurrency with + // entity groups. ConcurrencyMode string `json:"concurrencyMode,omitempty"` // ForceSendFields is a list of field names (e.g. "ConcurrencyMode") to diff --git a/datastore/v1beta1/datastore-api.json b/datastore/v1beta1/datastore-api.json index 094471f6a37..60ccc4e1ebd 100644 --- a/datastore/v1beta1/datastore-api.json +++ b/datastore/v1beta1/datastore-api.json @@ -168,7 +168,7 @@ } } }, - "revision": "20220110", + "revision": "20220207", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "GoogleDatastoreAdminV1CommonMetadata": { @@ -460,12 +460,14 @@ "enum": [ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", - "OPTIMISTIC" + "OPTIMISTIC", + "OPTIMISTIC_WITH_ENTITY_GROUPS" ], "enumDescriptions": [ "Unspecified.", "Pessimistic concurrency.", - "Optimistic concurrency." + "Optimistic concurrency.", + "Optimistic concurrency with entity groups." ], "type": "string" } @@ -498,12 +500,14 @@ "enum": [ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", - "OPTIMISTIC" + "OPTIMISTIC", + "OPTIMISTIC_WITH_ENTITY_GROUPS" ], "enumDescriptions": [ "Unspecified.", "Pessimistic concurrency.", - "Optimistic concurrency." + "Optimistic concurrency.", + "Optimistic concurrency with entity groups." ], "type": "string" } diff --git a/datastore/v1beta1/datastore-gen.go b/datastore/v1beta1/datastore-gen.go index f930d8c1fe7..7b04002a264 100644 --- a/datastore/v1beta1/datastore-gen.go +++ b/datastore/v1beta1/datastore-gen.go @@ -582,6 +582,8 @@ type GoogleDatastoreAdminV1PrepareStepDetails struct { // "CONCURRENCY_MODE_UNSPECIFIED" - Unspecified. // "PESSIMISTIC" - Pessimistic concurrency. // "OPTIMISTIC" - Optimistic concurrency. + // "OPTIMISTIC_WITH_ENTITY_GROUPS" - Optimistic concurrency with + // entity groups. ConcurrencyMode string `json:"concurrencyMode,omitempty"` // ForceSendFields is a list of field names (e.g. "ConcurrencyMode") to @@ -651,6 +653,8 @@ type GoogleDatastoreAdminV1RedirectWritesStepDetails struct { // "CONCURRENCY_MODE_UNSPECIFIED" - Unspecified. // "PESSIMISTIC" - Pessimistic concurrency. // "OPTIMISTIC" - Optimistic concurrency. + // "OPTIMISTIC_WITH_ENTITY_GROUPS" - Optimistic concurrency with + // entity groups. ConcurrencyMode string `json:"concurrencyMode,omitempty"` // ForceSendFields is a list of field names (e.g. "ConcurrencyMode") to diff --git a/datastore/v1beta3/datastore-api.json b/datastore/v1beta3/datastore-api.json index 61ac6b30aec..9923c304d3f 100644 --- a/datastore/v1beta3/datastore-api.json +++ b/datastore/v1beta3/datastore-api.json @@ -308,7 +308,7 @@ } } }, - "revision": "20220110", + "revision": "20220207", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "AllocateIdsRequest": { @@ -797,12 +797,14 @@ "enum": [ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", - "OPTIMISTIC" + "OPTIMISTIC", + "OPTIMISTIC_WITH_ENTITY_GROUPS" ], "enumDescriptions": [ "Unspecified.", "Pessimistic concurrency.", - "Optimistic concurrency." + "Optimistic concurrency.", + "Optimistic concurrency with entity groups." ], "type": "string" } @@ -835,12 +837,14 @@ "enum": [ "CONCURRENCY_MODE_UNSPECIFIED", "PESSIMISTIC", - "OPTIMISTIC" + "OPTIMISTIC", + "OPTIMISTIC_WITH_ENTITY_GROUPS" ], "enumDescriptions": [ "Unspecified.", "Pessimistic concurrency.", - "Optimistic concurrency." + "Optimistic concurrency.", + "Optimistic concurrency with entity groups." ], "type": "string" } diff --git a/datastore/v1beta3/datastore-gen.go b/datastore/v1beta3/datastore-gen.go index 2b8262844a5..3d7d4f5a7bb 100644 --- a/datastore/v1beta3/datastore-gen.go +++ b/datastore/v1beta3/datastore-gen.go @@ -973,6 +973,8 @@ type GoogleDatastoreAdminV1PrepareStepDetails struct { // "CONCURRENCY_MODE_UNSPECIFIED" - Unspecified. // "PESSIMISTIC" - Pessimistic concurrency. // "OPTIMISTIC" - Optimistic concurrency. + // "OPTIMISTIC_WITH_ENTITY_GROUPS" - Optimistic concurrency with + // entity groups. ConcurrencyMode string `json:"concurrencyMode,omitempty"` // ForceSendFields is a list of field names (e.g. "ConcurrencyMode") to @@ -1042,6 +1044,8 @@ type GoogleDatastoreAdminV1RedirectWritesStepDetails struct { // "CONCURRENCY_MODE_UNSPECIFIED" - Unspecified. // "PESSIMISTIC" - Pessimistic concurrency. // "OPTIMISTIC" - Optimistic concurrency. + // "OPTIMISTIC_WITH_ENTITY_GROUPS" - Optimistic concurrency with + // entity groups. ConcurrencyMode string `json:"concurrencyMode,omitempty"` // ForceSendFields is a list of field names (e.g. "ConcurrencyMode") to diff --git a/gkehub/v1alpha/gkehub-api.json b/gkehub/v1alpha/gkehub-api.json index ee4ad202863..2ab1e92ecd6 100644 --- a/gkehub/v1alpha/gkehub-api.json +++ b/gkehub/v1alpha/gkehub-api.json @@ -1067,7 +1067,7 @@ } } }, - "revision": "20220128", + "revision": "20220204", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityMembershipSpec": { @@ -2392,10 +2392,20 @@ "description": "ID for OIDC client application.", "type": "string" }, + "clientSecret": { + "description": "Unencrypted OIDC client secret will be passed to the GKE Hub CLH.", + "type": "string" + }, "deployCloudConsoleProxy": { "description": "Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.", "type": "boolean" }, + "encryptedClientSecret": { + "description": "Output only. Encrypted OIDC Client secret", + "format": "byte", + "readOnly": true, + "type": "string" + }, "extraParams": { "description": "Comma-separated list of key-value pairs.", "type": "string" @@ -2768,7 +2778,7 @@ "description": "Anthos Service Mesh-specific spec" }, "policycontroller": { - "$ref": "PolicycontrollerMembershipSpec", + "$ref": "PolicyControllerMembershipSpec", "description": "Policy Controller spec." }, "workloadcertificate": { @@ -2799,7 +2809,7 @@ "description": "Metering-specific spec." }, "policycontroller": { - "$ref": "PolicycontrollerMembershipState", + "$ref": "PolicyControllerMembershipState", "description": "Policycontroller-specific state." }, "servicemesh": { @@ -3050,12 +3060,12 @@ }, "type": "object" }, - "PolicycontrollerMembershipSpec": { + "PolicyControllerMembershipSpec": { "description": "**Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR.", - "id": "PolicycontrollerMembershipSpec", + "id": "PolicyControllerMembershipSpec", "properties": { "policyControllerHubConfig": { - "$ref": "PolicycontrollerPolicyControllerHubConfig", + "$ref": "PolicyControllerPolicyControllerHubConfig", "description": "Policy Controller configuration for the cluster." }, "version": { @@ -3065,20 +3075,20 @@ }, "type": "object" }, - "PolicycontrollerMembershipState": { + "PolicyControllerMembershipState": { "description": "**Policy Controller**: State for a single cluster.", - "id": "PolicycontrollerMembershipState", + "id": "PolicyControllerMembershipState", "properties": { "clusterName": { "description": "The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership's membership_name, unless the user installed PC on the cluster manually prior to enabling the PC hub feature. Unique within a Policy Controller installation.", "type": "string" }, "membershipSpec": { - "$ref": "PolicycontrollerMembershipSpec", + "$ref": "PolicyControllerMembershipSpec", "description": "Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state" }, "policyControllerHubState": { - "$ref": "PolicycontrollerPolicyControllerHubState", + "$ref": "PolicyControllerPolicyControllerHubState", "description": "Policy Controller state observed by the Policy Controller Hub" }, "state": { @@ -3108,9 +3118,9 @@ }, "type": "object" }, - "PolicycontrollerPolicyControllerHubConfig": { + "PolicyControllerPolicyControllerHubConfig": { "description": "Configuration for Policy Controller", - "id": "PolicycontrollerPolicyControllerHubConfig", + "id": "PolicyControllerPolicyControllerHubConfig", "properties": { "auditIntervalSeconds": { "description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.", @@ -3153,15 +3163,15 @@ "type": "boolean" }, "templateLibraryConfig": { - "$ref": "PolicycontrollerTemplateLibraryConfig", + "$ref": "PolicyControllerTemplateLibraryConfig", "description": "Configures the library templates to install along with Policy Controller." } }, "type": "object" }, - "PolicycontrollerPolicyControllerHubState": { + "PolicyControllerPolicyControllerHubState": { "description": "State of the Policy Controller.", - "id": "PolicycontrollerPolicyControllerHubState", + "id": "PolicyControllerPolicyControllerHubState", "properties": { "deploymentStates": { "additionalProperties": { @@ -3183,15 +3193,15 @@ "type": "object" }, "version": { - "$ref": "PolicycontrollerPolicyControllerHubVersion", + "$ref": "PolicyControllerPolicyControllerHubVersion", "description": "The version of Gatekeeper Policy Controller deployed." } }, "type": "object" }, - "PolicycontrollerPolicyControllerHubVersion": { + "PolicyControllerPolicyControllerHubVersion": { "description": "The build version of Gatekeeper that Policy Controller is using.", - "id": "PolicycontrollerPolicyControllerHubVersion", + "id": "PolicyControllerPolicyControllerHubVersion", "properties": { "version": { "description": "The gatekeeper image tag that is composed of ACM version, git tag, build number.", @@ -3200,9 +3210,9 @@ }, "type": "object" }, - "PolicycontrollerTemplateLibraryConfig": { + "PolicyControllerTemplateLibraryConfig": { "description": "The config specifying which default library templates to install.", - "id": "PolicycontrollerTemplateLibraryConfig", + "id": "PolicyControllerTemplateLibraryConfig", "properties": { "included": { "description": "Whether the standard template library should be installed or not.", diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index 5c8d914bc68..1d825b700a6 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -2361,11 +2361,18 @@ type IdentityServiceOidcConfig struct { // ClientId: ID for OIDC client application. ClientId string `json:"clientId,omitempty"` + // ClientSecret: Unencrypted OIDC client secret will be passed to the + // GKE Hub CLH. + ClientSecret string `json:"clientSecret,omitempty"` + // DeployCloudConsoleProxy: Flag to denote if reverse proxy is used to // connect to auth provider. This flag should be set to true when // provider is not reachable by Google Cloud Console. DeployCloudConsoleProxy bool `json:"deployCloudConsoleProxy,omitempty"` + // EncryptedClientSecret: Output only. Encrypted OIDC Client secret + EncryptedClientSecret string `json:"encryptedClientSecret,omitempty"` + // ExtraParams: Comma-separated list of key-value pairs. ExtraParams string `json:"extraParams,omitempty"` @@ -2943,7 +2950,7 @@ type MembershipFeatureSpec struct { Mesh *ServiceMeshMembershipSpec `json:"mesh,omitempty"` // Policycontroller: Policy Controller spec. - Policycontroller *PolicycontrollerMembershipSpec `json:"policycontroller,omitempty"` + Policycontroller *PolicyControllerMembershipSpec `json:"policycontroller,omitempty"` // Workloadcertificate: Workload Certificate spec. Workloadcertificate *MembershipSpec `json:"workloadcertificate,omitempty"` @@ -2988,7 +2995,7 @@ type MembershipFeatureState struct { Metering *MeteringMembershipState `json:"metering,omitempty"` // Policycontroller: Policycontroller-specific state. - Policycontroller *PolicycontrollerMembershipState `json:"policycontroller,omitempty"` + Policycontroller *PolicyControllerMembershipState `json:"policycontroller,omitempty"` // Servicemesh: Service Mesh-specific state. Servicemesh *ServiceMeshMembershipState `json:"servicemesh,omitempty"` @@ -3489,12 +3496,12 @@ func (s *Policy) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// PolicycontrollerMembershipSpec: **Policy Controller**: Configuration +// PolicyControllerMembershipSpec: **Policy Controller**: Configuration // for a single cluster. Intended to parallel the PolicyController CR. -type PolicycontrollerMembershipSpec struct { +type PolicyControllerMembershipSpec struct { // PolicyControllerHubConfig: Policy Controller configuration for the // cluster. - PolicyControllerHubConfig *PolicycontrollerPolicyControllerHubConfig `json:"policyControllerHubConfig,omitempty"` + PolicyControllerHubConfig *PolicyControllerPolicyControllerHubConfig `json:"policyControllerHubConfig,omitempty"` // Version: Version of Policy Controller installed. Version string `json:"version,omitempty"` @@ -3518,15 +3525,15 @@ type PolicycontrollerMembershipSpec struct { NullFields []string `json:"-"` } -func (s *PolicycontrollerMembershipSpec) MarshalJSON() ([]byte, error) { - type NoMethod PolicycontrollerMembershipSpec +func (s *PolicyControllerMembershipSpec) MarshalJSON() ([]byte, error) { + type NoMethod PolicyControllerMembershipSpec raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// PolicycontrollerMembershipState: **Policy Controller**: State for a +// PolicyControllerMembershipState: **Policy Controller**: State for a // single cluster. -type PolicycontrollerMembershipState struct { +type PolicyControllerMembershipState struct { // ClusterName: The user-defined name for the cluster used by // ClusterSelectors to group clusters together. This should match // Membership's membership_name, unless the user installed PC on the @@ -3537,11 +3544,11 @@ type PolicycontrollerMembershipState struct { // MembershipSpec: Membership configuration in the cluster. This // represents the actual state in the cluster, while the MembershipSpec // in the FeatureSpec represents the intended state - MembershipSpec *PolicycontrollerMembershipSpec `json:"membershipSpec,omitempty"` + MembershipSpec *PolicyControllerMembershipSpec `json:"membershipSpec,omitempty"` // PolicyControllerHubState: Policy Controller state observed by the // Policy Controller Hub - PolicyControllerHubState *PolicycontrollerPolicyControllerHubState `json:"policyControllerHubState,omitempty"` + PolicyControllerHubState *PolicyControllerPolicyControllerHubState `json:"policyControllerHubState,omitempty"` // State: The lifecycle state Policy Controller is in. // @@ -3599,15 +3606,15 @@ type PolicycontrollerMembershipState struct { NullFields []string `json:"-"` } -func (s *PolicycontrollerMembershipState) MarshalJSON() ([]byte, error) { - type NoMethod PolicycontrollerMembershipState +func (s *PolicyControllerMembershipState) MarshalJSON() ([]byte, error) { + type NoMethod PolicyControllerMembershipState raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// PolicycontrollerPolicyControllerHubConfig: Configuration for Policy +// PolicyControllerPolicyControllerHubConfig: Configuration for Policy // Controller -type PolicycontrollerPolicyControllerHubConfig struct { +type PolicyControllerPolicyControllerHubConfig struct { // AuditIntervalSeconds: Sets the interval for Policy Controller Audit // Scans (in seconds). When set to 0, this disables audit functionality // altogether. @@ -3648,7 +3655,7 @@ type PolicycontrollerPolicyControllerHubConfig struct { // TemplateLibraryConfig: Configures the library templates to install // along with Policy Controller. - TemplateLibraryConfig *PolicycontrollerTemplateLibraryConfig `json:"templateLibraryConfig,omitempty"` + TemplateLibraryConfig *PolicyControllerTemplateLibraryConfig `json:"templateLibraryConfig,omitempty"` // ForceSendFields is a list of field names (e.g. // "AuditIntervalSeconds") to unconditionally include in API requests. @@ -3669,22 +3676,22 @@ type PolicycontrollerPolicyControllerHubConfig struct { NullFields []string `json:"-"` } -func (s *PolicycontrollerPolicyControllerHubConfig) MarshalJSON() ([]byte, error) { - type NoMethod PolicycontrollerPolicyControllerHubConfig +func (s *PolicyControllerPolicyControllerHubConfig) MarshalJSON() ([]byte, error) { + type NoMethod PolicyControllerPolicyControllerHubConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// PolicycontrollerPolicyControllerHubState: State of the Policy +// PolicyControllerPolicyControllerHubState: State of the Policy // Controller. -type PolicycontrollerPolicyControllerHubState struct { +type PolicyControllerPolicyControllerHubState struct { // DeploymentStates: Map from deployment name to deployment state. // Example deployments are gatekeeper-controller-manager, // gatekeeper-audit deployment, and gatekeeper-mutation. DeploymentStates map[string]string `json:"deploymentStates,omitempty"` // Version: The version of Gatekeeper Policy Controller deployed. - Version *PolicycontrollerPolicyControllerHubVersion `json:"version,omitempty"` + Version *PolicyControllerPolicyControllerHubVersion `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "DeploymentStates") to // unconditionally include in API requests. By default, fields with @@ -3704,15 +3711,15 @@ type PolicycontrollerPolicyControllerHubState struct { NullFields []string `json:"-"` } -func (s *PolicycontrollerPolicyControllerHubState) MarshalJSON() ([]byte, error) { - type NoMethod PolicycontrollerPolicyControllerHubState +func (s *PolicyControllerPolicyControllerHubState) MarshalJSON() ([]byte, error) { + type NoMethod PolicyControllerPolicyControllerHubState raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// PolicycontrollerPolicyControllerHubVersion: The build version of +// PolicyControllerPolicyControllerHubVersion: The build version of // Gatekeeper that Policy Controller is using. -type PolicycontrollerPolicyControllerHubVersion struct { +type PolicyControllerPolicyControllerHubVersion struct { // Version: The gatekeeper image tag that is composed of ACM version, // git tag, build number. Version string `json:"version,omitempty"` @@ -3734,15 +3741,15 @@ type PolicycontrollerPolicyControllerHubVersion struct { NullFields []string `json:"-"` } -func (s *PolicycontrollerPolicyControllerHubVersion) MarshalJSON() ([]byte, error) { - type NoMethod PolicycontrollerPolicyControllerHubVersion +func (s *PolicyControllerPolicyControllerHubVersion) MarshalJSON() ([]byte, error) { + type NoMethod PolicyControllerPolicyControllerHubVersion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// PolicycontrollerTemplateLibraryConfig: The config specifying which +// PolicyControllerTemplateLibraryConfig: The config specifying which // default library templates to install. -type PolicycontrollerTemplateLibraryConfig struct { +type PolicyControllerTemplateLibraryConfig struct { // Included: Whether the standard template library should be installed // or not. Included bool `json:"included,omitempty"` @@ -3764,8 +3771,8 @@ type PolicycontrollerTemplateLibraryConfig struct { NullFields []string `json:"-"` } -func (s *PolicycontrollerTemplateLibraryConfig) MarshalJSON() ([]byte, error) { - type NoMethod PolicycontrollerTemplateLibraryConfig +func (s *PolicyControllerTemplateLibraryConfig) MarshalJSON() ([]byte, error) { + type NoMethod PolicyControllerTemplateLibraryConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) }